본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

secure-api-calls

smarcombes 제작

Coding Agents & IDEs
2.0kclawskills.sh가 보고한 다운로드 수
4스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Call any API without leaking credentials.

설명

이 스킬이 하는 일

Keychains proxies API requests from AI agents, replacing placeholder variables like {{OAUTH2_ACCESS_TOKEN}} with real credentials server-side. The agent never handles actual tokens or keys. Users approve credential access once via biometric on keychains.dev, and all subsequent requests to that provider succeed automatically.

Unlike passing real API keys to agents directly, Keychains keeps credentials in the user's encrypted vault and injects them only at proxy time, so a compromised agent cannot exfiltrate secrets.

사용 시점

  • Letting an AI agent list GitHub repos without exposing a personal access token
  • Sending Slack messages from an agent using an OAuth token the agent never sees
  • Reading Gmail inbox from an automated workflow without storing credentials locally
  • Making Stripe API calls from an agent without hardcoding secret keys
  • Delegating API access to a cloud-hosted agent without sharing credentials directly

예시 워크플로

입력

User asks: List my GitHub repositories

에이전트
  1. 1

    Run keychains curl https://api.github.com/user/repos -H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}'

  2. 2

    Keychains returns an approval URL on first use — display it to the user

  3. 3

    Run keychains wait <approval-url> to poll until the user approves via biometric

  4. 4

    Replay the original command — Keychains injects the real token and forwards the request

  5. 5

    Return the API response to the user

출력

JSON list of the user's GitHub repositories

요구 사항

  • keychains.dev account

설치

clawhub install smarcombes/secure-api-calls

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크