confidant
由 ericsantos 提供
PDF & Documents简介
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
Run request-secret.sh with --label 'OpenAI API Key', --service openai, and --tunnel flags
- 2
Receive the secure one-time URL from script output
- 3
Share the URL with the user in chat and wait
- 4
Script polls until the user submits the key through the browser form
- 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 或你在用的任意编程智能体里。