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/confidantCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。