कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक