跳到正文
TakoAPI
返回技能列表

keychains

由 interagentic 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Call any API without leaking credentials.

描述

该技能的功能

Keychains proxies API requests and injects real credentials server-side using placeholder variables like `{{OAUTH2_ACCESS_TOKEN}}`. Agents send requests with placeholders; the Keychains proxy substitutes real tokens before forwarding to the upstream API. Users manage credentials and approve agent access from the Keychains dashboard.

Agents can call any API without ever receiving real credentials, eliminating the risk of key exposure through logs, prompts, or agent memory.

何时使用

  • List GitHub repos from an AI agent without exposing OAuth tokens
  • Send Slack messages via an agent without sharing bot credentials
  • Read Gmail through an assistant without handing it your OAuth token
  • Query Stripe customer data from an agent without embedding secret keys
  • Run cloud-hosted agents that call third-party APIs without credential leakage

示例工作流

输入

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

    Receive an approval URL from Keychains on first use

  3. 3

    Present the approval URL to the user for FaceID/Passkey authentication

  4. 4

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

  5. 5

    Replay the original request and receive the live API response

输出

JSON list of the user's GitHub repositories, with no credentials ever passed to the agent

前置要求

  • keychains.dev account for credential vault and approval management

安装

clawhub install interagentic/keychains

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接