api-proxy
БесплатноЗапускает вложенные скриптыНе проверен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…
от abra5umente★ 17 звёзд на GitHubОб этом скилле
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:
# Simple GET
python3 /mnt/skills/user/api-proxy/scripts/fetch.py "https://api.example.com/endpoint"
# POST with body
python3 /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:
from proxy_helper import proxy_get, proxy_request
data = 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/proxy
Token: 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 |
Установить api-proxy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл api-proxy?
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?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-proxy запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic