bitwarden
Set up and use Bitwarden Secrets Manager CLI (bws). Use when reading, listing, or injecting secrets into env vars and dotenv files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up and use Bitwarden Secrets Manager CLI (bws). Use when reading, listing, or injecting secrets into env vars and dotenv files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Detect local GPU hardware and recommend optimal llama.cpp model + KV cache configuration. Supports AMD (ROCm) and NVIDIA (CUDA). Recommends TurboQuant KV compression when standard f16 cache won't fit.
Email management via himalaya CLI with Bitwarden-backed authentication.
| name | bitwarden |
| description | Set up and use Bitwarden Secrets Manager CLI (bws). Use when reading, listing, or injecting secrets into env vars and dotenv files. |
| version | 1.5.0 |
| author | DomKo |
| license | MIT |
| dependencies | {"tools":["bws"],"env":["BWS_ACCESS_TOKEN"],"verify":[{"cmd":"bws --version","expect":"bws"},{"cmd":"bws secret list 2>&1 | head -1","expect":"["}]} |
| metadata | {"hermes":{"tags":["security","secrets","bitwarden","bws","cli"],"category":"security"}} |
| setup | {"help":"Create a machine account at https://vault.bitwarden.com → Secrets Manager → Machine Accounts","collect_secrets":[{"env_var":"BWS_ACCESS_TOKEN","prompt":"Bitwarden Secrets Manager Access Token","provider_url":"https://bitwarden.com/help/machine-accounts/","secret":true}]} |
Use this skill when the user wants secrets managed through Bitwarden Secrets Manager instead of plaintext env vars or files.
bws CLI installedBWS_ACCESS_TOKEN)# Download from https://github.com/bitwarden/sdk-sm/releases
# Find the latest bws-vX.Y.Z release, download the linux-x64 archive
unzip bws-*.zip
install bws ~/.local/bin/bws
bws --version # verify
Set BWS_ACCESS_TOKEN in the Hermes .env file (the skill will prompt for this on first load).
bws is fully stateless — each call authenticates via the env var. No session management, no signin flow, no tmux workaround needed.
export BWS_ACCESS_TOKEN="0.your-token-here"
bws secret list # verify — should list secrets
Preferred method — bws run injects all accessible secrets as env vars:
bws run -- 'echo $SECRET_NAME'
bws run --project-id <id> -- 'npm run start'
bws run --no-inherit-env -- './my-script.sh' # clean env, secrets only
Secret key names become env var names. If keys are not POSIX-compliant (spaces, special chars), use --uuids-as-keynames to use secret UUIDs instead.
bws secret list
bws secret list <project-id>
bws secret get <secret-id>
bws secret list --output env > /tmp/secrets.env
bws supports --output with: json (default), yaml, table, tsv, env, none.
bws run for injecting secrets into commands. Use dotenv export only for bulk sync.bws run — do not write to disk.Multiple rapid bws calls may hit rate limits. To reduce this, enable state files which cache auth tokens:
bws config state-dir ~/.config/bws/state
When possible, use a single bws run call instead of multiple bws secret get calls.
Missing access token → BWS_ACCESS_TOKEN not exported or empty.bws: command not found → binary not in PATH. Check ~/.local/bin/ or /usr/local/bin/.Unauthorized → token expired or revoked. Regenerate in Bitwarden web vault.bws secret list → machine account has no project access. Check vault permissions.bws run → use --uuids-as-keynames flag.