Command Palette

Search for a command to run...

Назад к скиллам
скилл № 28413

api-gateway

Call approved external API endpoints with retries, rate tracking, and opt-in response caching. Credentials are sent only to configured HTTPS origins.

БесплатноБез исполняемых скриптов
jlacroix82от jlacroix821 838 установок в других каталогах

Установить api-gateway в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

API Gateway

Run node {baseDir}/api-gateway.js. Send only user-approved endpoints and data. The caller must ensure prompt data and request bodies are appropriate for the named provider. The gateway does not follow redirects. Bearer credentials require HTTPS on the default port and an exact configured hostname. Configure replacement hosts explicitly if upgrading from a wildcard allowlist.

  • --keys add <provider> --stdin --allow-domain <hostname>: pipe a credential from an approved source. Repeat --allow-domain to add exact hostnames. A matching <PROVIDER>_API_KEY environment variable takes precedence over a saved value.
  • --keys, --keys remove <provider>: list or remove a configured provider. Approve removal first.
  • --call <provider> <https-url> [json] [--dry-run]: POST to the endpoint or inspect the destination and credential policy without sending.
  • --cache, --log, --status, --rate <provider>, --circuit: inspect gateway state.
  • --cache-full <provider>: explicitly enable storage of complete response bodies for that provider. They may contain sensitive data. --cache --clear removes stored cache data and disables full-body caching for all providers; --log --clear clears request logs.
  • --retention <seconds>: save an age limit for both cache and logs and prune existing expired data immediately. Default limits are five minutes for cache and seven days for logs. Requests and state inspection prune expired entries; while idle, files may still contain expired entries.
  • --fallback <provider> <alternate>: configure a fallback. The alternate must independently approve the same destination.

Keys stored on disk are plaintext. The store defaults to memory/api-gateway; use an owner-only workspace, including a restrictive ACL on Windows. Request logs hold provider, status class, time, and attempt. Metadata is cached by default; only opted-in complete responses can serve cache hits. Calls with any key source reject unapproved destinations before sending any data.

Version 1.1.14 blocks entire requests to unapproved origins, makes cache clearing disable full-body caching, and enforces configurable retention for cache and logs.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл api-gateway?

Call approved external API endpoints with retries, rate tracking, and opt-in response caching. Credentials are sent only to configured HTTPS origins.

Как установить скилл api-gateway?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл api-gateway запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить api-gateway с