# Send Bitwarden to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-bitwarden",
    "name": "Bitwarden",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/JimiHFord/openclaw-bitwarden",
    "canonicalUrl": "https://clawhub.ai/JimiHFord/openclaw-bitwarden",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-bitwarden",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bitwarden",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-bitwarden",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T14:02:01.854Z",
      "expiresAt": "2026-05-07T14:02:01.854Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bitwarden",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bitwarden",
        "contentDisposition": "attachment; filename=\"openclaw-bitwarden-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-bitwarden"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-bitwarden"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-bitwarden",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-bitwarden",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-bitwarden/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-bitwarden/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-bitwarden/agent.md"
  }
}
```
## Documentation

### Bitwarden CLI

Manage passwords and secrets via the Bitwarden CLI.

### References

references/get-started.md (install + login + unlock flow)
references/cli-examples.md (real bw examples)

### Workflow

Check CLI present: bw --version.
Check login status: bw status (returns JSON with status field).
If not logged in: bw login (stores API key, prompts for master password).
REQUIRED: create a fresh tmux session for all bw commands.
Unlock vault inside tmux: bw unlock (outputs session key).
Export session key: export BW_SESSION="<key>".
Verify access: bw sync then bw list items --search test.

### REQUIRED tmux session

The Bitwarden CLI requires the BW_SESSION environment variable for authenticated commands. To persist the session across commands, always run bw inside a dedicated tmux session.

Example (see tmux skill for socket conventions):

SOCKET_DIR="${CLAWDBOT_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/openclaw-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/openclaw-bw.sock"
SESSION="bw-auth-$(date +%Y%m%d-%H%M%S)"

tmux -S "$SOCKET" new -d -s "$SESSION" -n shell

# Unlock and capture session key
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'export BW_SESSION=$(bw unlock --raw)' Enter
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'bw sync' Enter
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'bw list items --search github' Enter

# Capture output
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200

# Cleanup when done
tmux -S "$SOCKET" kill-session -t "$SESSION"

### Common Commands

CommandDescriptionbw statusCheck login/lock status (JSON)bw loginLogin with email/password or API keybw unlockUnlock vault, returns session keybw lockLock vaultbw syncSync vault with serverbw list itemsList all itemsbw list items --search <query>Search itemsbw get item <id-or-name>Get specific item (JSON)bw get password <id-or-name>Get just the passwordbw get username <id-or-name>Get just the usernamebw get totp <id-or-name>Get TOTP codebw generate -ulns --length 32Generate password

### Guardrails

Never paste secrets into logs, chat, or code.
Always use tmux to maintain BW_SESSION across commands.
Prefer bw get password over parsing full item JSON when only password needed.
If command returns "Vault is locked", re-run bw unlock inside tmux.
Do not run authenticated bw commands outside tmux; the session won't persist.
Lock vault when done: bw lock.

### Testing with Vaultwarden

This skill includes a Docker Compose setup for local testing with Vaultwarden (self-hosted Bitwarden-compatible server).

### Quick Start

# Install mkcert and generate local certs (one-time)
brew install mkcert
mkcert -install
cd /path/to/openclaw-bitwarden
mkdir -p certs && cd certs
mkcert localhost 127.0.0.1 ::1
cd ..

# Start Vaultwarden + Caddy
docker compose up -d

# Configure bw CLI to use local server
bw config server https://localhost:8443

# Create a test account via web UI at https://localhost:8443
# Or run the setup script:
./scripts/setup-test-account.sh

# Test the skill workflow
./scripts/test-skill-workflow.sh

### Test Credentials

Server URL: https://localhost:8443
Admin Panel: https://localhost:8443/admin (token: test-admin-token-12345)
Suggested test account: test@example.com / TestPassword123!

### Node.js CA Trust

The bw CLI requires the mkcert CA to be trusted. Export before running bw commands:

export NODE_EXTRA_CA_CERTS="$(mkcert -CAROOT)/rootCA.pem"

Or add to your shell profile for persistence.

### Cleanup

docker compose down -v  # Remove container and data
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: JimiHFord
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T14:02:01.854Z
- Expires at: 2026-05-07T14:02:01.854Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-bitwarden)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-bitwarden/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-bitwarden/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-bitwarden/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-bitwarden)