Loading...
Loading...
Retrieves API keys, passwords, secrets from Bitwarden vault using bw CLI. Triggers on missing env variables, missing API keys, missing secrets, "secret not found", "env not set", or "use bw".
npx skill4agent add sebastiaanwouters/dotagents bitwardenbwBW_SESSION# Standard prefix for ALL bw commands - copy this pattern exactly:
source .env 2>/dev/null; bw <command>source .env 2>/dev/null; bw status
source .env 2>/dev/null; bw list items --search "telegram"
source .env 2>/dev/null; bw get password "item-name"
source .env 2>/dev/null; bw get notes "item-name"for dir in . .. ../.. ../../..; do [[ -f "$dir/.env" ]] && source "$dir/.env" && break; done; bw statussource .env 2>/dev/null; bw statusecho "BW_SESSION=$(bw unlock --raw)" >> .envbw list items --search "openai"bw get notes "item-name"bw get item "item-name" | jq -r '.fields[] | select(.name=="API_KEY") | .value'| Need | Command |
|---|---|
| Search items | |
| Notes (API keys!) | |
| Password | |
| Username | |
| TOTP | |
| Custom field | |
bw [options] [command]
Commands:
login [email] [password] Log into account
unlock [password] Unlock vault, returns session key
lock Lock vault
status Show vault status
list <object> List objects (items, folders, collections)
get <object> <id> Get object (item, username, password, totp, notes)
sync Pull latest vault data