Security v1.0.0

bitwarden-bw

Access and manage Bitwarden passwords securely using the official bw CLI.

yorha59 更新于 2026-02-23 1 浏览
下载 SKILL

技能说明

Access and manage Bitwarden passwords securely using the official bw CLI.

使用场景

Interact with Bitwarden vaults using the official bw CLI.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/bitwarden-bw
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: bitwarden-bw
description: Access and manage Bitwarden passwords securely using the official bw CLI.
metadata: {"clawdbot":{"emoji":"🔒","os":["linux","macos"],"requires":{"bins":["bw"]}}}
---

# Bitwarden Skill

Interact with Bitwarden vaults using the official `bw` CLI.

## Prerequisites

- `bw` CLI installed: `npm install -g @bitwarden/cli`
- `BW_SESSION` env var set (saved in `~/.zshrc`)

## Usage

### Get a password
```bash
bw get password "site_name"
```

### Get username
```bash
bw get username "site_name"
```

### Get full item (JSON)
```bash
bw get item "site_name" --pretty
```

### Search
```bash
bw list items --search "query" | python3 -c "import json,sys; [print(f'{i[\"name\"]} ({i.get(\"login\",{}).get(\"username\",\"\")})')for i in json.load(sys.stdin)]"
```

### Sync vault
```bash
bw sync
```
*Always sync before getting details to ensure accuracy.*

### TOTP code
```bash
bw get totp "site_name"
```

## Notes

- Session key is in `BW_SESSION` env var (persisted in ~/.zshrc)
- If session expires, user must re-login interactively (`bw login` requires OTP)
- `bw unlock` can refresh an expired session without full re-login

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。