← 返回 Skills 市场
daowuu

Bitwarden Credential

作者 wuu Dao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
110
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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 --apikey with 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
安全使用建议
This skill appears to do what it says (store credentials to your Bitwarden vault) but it has sloppy/insecure details you should fix or consider before using: - Do not paste BW_SESSION or master passwords into chat. Prefer unlocking bw in your terminal and exporting BW_SESSION in that shell session rather than sending the token to the agent or pasting it into messages. Confirm the platform will not log or transmit your environment values. - The script requires jq (used to build JSON) but SKILL.md does not list jq; install jq or update the documentation to include it. - The script takes the secret/password as a command-line argument, which can be visible to other users via ps and may be captured in shell history. Prefer a safer interface: read the password from stdin, prompt interactively, or accept it via a secure environment variable rather than as a positional arg. - The registry metadata should be updated to declare BW_SESSION (or equivalent) as a required environment variable so the platform and users know the skill needs it. - If you plan to use this skill, test with dummy credentials first and consider modifying the script to avoid CLI-arg secrets and to explicitly check for jq. If you are not comfortable making those changes, do not provide real session tokens or secrets to the skill.
功能分析
Type: OpenClaw Skill Name: bitwarden-credential Version: 1.0.0 The skill is a legitimate utility for storing credentials in Bitwarden using the official Bitwarden CLI (bw). The script `scripts/bitwarden-credential.sh` safely constructs JSON payloads using `jq` and requires a user-provided session token (`BW_SESSION`), ensuring the vault remains under the user's control. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
The name/description (store/retrieve credentials in Bitwarden via CLI) matches the included script and instructions: both call the Bitwarden CLI to create items. However, registry metadata lists no required env vars while the SKILL.md and script require a BW_SESSION token — this mismatch should be corrected.
Instruction Scope
The SKILL.md and script confine actions to unlocking the Bitwarden vault and calling bw create item, which is in-scope. Concerns: (1) the script expects jq but SKILL.md does not list jq as a requirement; (2) the script accepts the secret/password as a command-line argument (exposed via process listing); (3) SKILL.md suggests the user might 'provide' the BW_SESSION in two ways, but does not warn strongly that pasting the BW_SESSION into chat or otherwise transmitting it externally will expose a live session token.
Install Mechanism
There is no install spec (instruction-only), which reduces install-time risk. SKILL.md notes Bitwarden CLI must be installed (brew install bitwarden-cli). It does not mention jq, which the script requires. No remote downloads or archive extraction are present.
Credentials
Requiring BW_SESSION (a session token for an unlocked vault) is proportionate to the purpose, but the registry metadata does not declare this required environment variable or a primary credential. The script's design asks for sensitive inputs in ways that increase exposure risk (BW_SESSION might be copied/pasted into chat or logs; passwords are passed as CLI args).
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not request elevated or persistent platform privileges. It does not modify other skills or system-wide config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bitwarden-credential
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bitwarden-credential 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: store/retrieve credentials in Bitwarden via CLI
元数据
Slug bitwarden-credential
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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。

💬 留言讨论