跳到正文
TakoAPI
返回技能列表

confidant

由 ericsantos 提供

PDF & Documents
2.1k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Secure secret handoff from human to AI.

描述

该技能的功能

Confidant handles secure secret handoff between users and AI agents. Instead of pasting API keys or passwords in chat, the agent generates a one-time web form URL that the user opens in a browser. Secrets are saved to disk and never appear in conversation history.

Secrets never appear in chat logs or shell history because handoff happens through a browser form, not text input.

何时使用

  • Setting up an OpenAI API key for a new agent environment
  • Passing a database password during dev environment setup
  • Storing a GitHub token without exposing it in terminal history
  • Collecting credentials from a remote user over a public tunnel
  • Onboarding a new service integration without chat-visible secrets

示例工作流

输入

User asks: Can you set up my OpenAI API key?

智能体
  1. 1

    Run request-secret.sh with --label 'OpenAI API Key', --service openai, and --tunnel flags

  2. 2

    Receive the secure one-time URL from script output

  3. 3

    Share the URL with the user in chat and wait

  4. 4

    Script polls until the user submits the key through the browser form

  5. 5

    Confirm the secret is saved to ~/.config/openai/api_key

输出

API key saved to ~/.config/openai/api_key with chmod 600 permissions, never exposed in chat

安装

clawhub install ericsantos/confidant

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

链接