<< All versions
Skill v1.0.2
Automated scan100/100abra5umente/api-proxy/skill
1 files
──Details
PublishedApril 26, 2026 at 05:01 PM
Content Hashsha256:5850bd6a1bb8edb4...
Git SHAb5bac79a2be4
Bump Typepatch
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 65 lines · 1.8 KB
version: "1.0.2" name: api-proxy description: Routes API requests through the user's residential proxy to bypass cloud IP blocks. TWO use cases - (1) Runtime fallback when direct curl/fetch fails with 403/blocked errors, use fetch.py for quick retry. (2) Template for building new skills that need proxy routing, copy proxy_helper.py into the new skill.
API Proxy Skill
Routes requests through residential IP via proxy.address.here.com.
Runtime Fallback (ad-hoc)
When a direct request fails with 403 or IP blocking, retry through the proxy:
bash
# Simple GETpython3 /mnt/skills/user/api-proxy/scripts/fetch.py "https://api.example.com/endpoint"# POST with bodypython3 /mnt/skills/user/api-proxy/scripts/fetch.py "https://api.example.com/endpoint" POST '{"key": "value"}'
Returns JSON response or {"error": "message"} on failure.
Template Mode (building skills)
When creating skills that need proxy routing:
- Copy
proxy_helper.pyinto the new skill'sscripts/folder - Import and use:
python
from proxy_helper import proxy_get, proxy_requestdata = proxy_get("https://api.example.com/endpoint")data = proxy_request(url="https://api.example.com/endpoint",method="POST",headers={"Authorization": "Bearer xyz"},body='{"key": "value"}')
Proxy Details
URL: https://proxy.address.here.com/proxyToken: your_token_here
Currently Whitelisted Domains
reddit.com,www.reddit.com,oauth.reddit.com
New domains require user to add them to ALLOWED_DOMAINS env var and restart the container.
Troubleshooting
| Error | Cause | Fix | |
|---|---|---|---|
| 403 from proxy | Domain not whitelisted | Ask user to whitelist | |
| 503 from proxy | Rate limited | Retry after delay | |
| 504 from proxy | Upstream timeout | Increase timeout | |
| Connection refused | Container/tunnel down | Check status |