/install bitwarden-credential
Bitwarden Credential Skill
Store credentials (passwords, API keys, OAuth tokens, etc.) in Bitwarden via the CLI.
Workflow
Step 1: Ensure Vault is Unlocked
The user must unlock their Bitwarden vault once per session in their terminal:
bw unlock
After unlocking, the user gets a session key. There are two ways to provide it:
Option A — Export the session (user does in their terminal):
export BW_SESSION="\x3Csession-key-from-unlock>"
Then just tell me "unlocked" and I can run commands directly.
Option B — Pass session directly to script:
BW_SESSION="\x3Csession-key>" ./bitwarden-credential.sh \x3Cname> \x3Cusername> \x3Cpassword> [notes]
Step 2: Store a Credential
Once vault is unlocked, provide me with:
- Name — identifier for this credential (e.g., "GitHub API Key", "MiniMax API")
- Username — often the client_id or key name
- Password/Secret — the actual secret value
- Notes (optional) — extra context (scope, grant_type, etc.)
Example user message:
"Save to Bitwarden: name=Grafana, username=admin, password=xyz123, notes=prod server"
Step 3: Execute
Use the bundled script or run directly:
# With BW_SESSION set
./scripts/bitwarden-credential.sh "\x3Cname>" "\x3Cusername>" "\x3Cpassword>" "[notes]"
# Or via bw CLI directly
echo -n '{"name":"...","login":{"username":"...","password":"..."},"type":1}' | bw create item
Notes
- Bitwarden CLI must be installed:
brew install bitwarden-cli - API key auth: Use
bw login --apikeywith client_id + client_secret, but vault still requires master password to unlock - I cannot unlock the vault for you — the master password never leaves your terminal
- Session token (
BW_SESSION) is session-scoped; it expires when the vault locks again
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bitwarden-credential - 安装完成后,直接呼叫该 Skill 的名称或使用
/bitwarden-credential触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Bitwarden Credential 是什么?
Store or retrieve credentials in Bitwarden via CLI. Use when asked to save, store, or add a password/API key/OAuth token/secret/credential to Bitwarden. Trig... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Bitwarden Credential?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bitwarden-credential」即可一键安装,无需额外配置。
Bitwarden Credential 是免费的吗?
是的,Bitwarden Credential 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Bitwarden Credential 支持哪些平台?
Bitwarden Credential 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bitwarden Credential?
由 wuu Dao(@daowuu)开发并维护,当前版本 v1.0.0。