Sync-pass-bw — Keep your `pass` store in sync with Bitwarden (Claude Code skill)

Hi everyone,

I built an open-source tool that solves a problem I’ve had for a while: keeping pass (the Unix password manager) in sync with Bitwarden.

The problem: I use Bitwarden as my primary password manager, but I also keep a subset of passwords in pass for CLI access and browserpass autofill. Over time, passwords drift — I update one in Bitwarden but forget to update pass, or vice versa. pass-import only handles one-time bulk imports from CSV/JSON exports; it doesn’t help with ongoing sync.

What this does:

  • Compares your pass store against your Bitwarden vault and reports mismatches
  • Fuzzy-matches entries even when names differ (e.g., pass path Github/github.com/user matches BW entry “GitHub”)
  • Syncs passwords from Bitwarden → pass (BW as source of truth)
  • Detects redundant entries, naming inconsistencies, and browserpass compatibility issues
  • Never displays passwords in plaintext — confirms each change individually

How it works: It’s a Claude Code skill — Claude Code is Anthropic’s AI coding agent that runs in your terminal. The skill uses the bw CLI to read your vault (read-only — it never modifies Bitwarden) and pass to apply updates. The AI handles the fuzzy matching between naming conventions.

Prerequisites: bw (Bitwarden CLI), pass, jq, and Claude Code.

Install:

mkdir -p ~/.claude/skills/sync-pass-bw
curl -sL https://raw.githubusercontent.com/pengguanya/claude-toolkit/main/skills/sync-pass-bw/SKILL.md \
  -o ~/.claude/skills/sync-pass-bw/SKILL.md

Usage:

/sync-pass-bw              # Status report (read-only)
/sync-pass-bw sync         # Fix password mismatches (BW → pass)
/sync-pass-bw full         # Sync + structural cleanup suggestions

GitHub repo: https://github.com/pengguanya/claude-toolkit

If you use both pass and Bitwarden, I’d love to hear if this is useful. Feedback and issues welcome — and if you find it helpful, a :star: on GitHub would really help with getting the skill listed on the Claude Code skills marketplace (there’s a minimum star requirement to publish). Thanks!