Skip to content
agents.store
devdevelopment

vaultwarden-dev

Vaultwarden dev plugin for Agents Store. Script and integrate a self-hosted Vaultwarden (Bitwarden-compatible) server: what the client API can and cannot do under end-to-end encryption, the identity token flows, organization member management, the /admin panel API, the Bitwarden CLI (bw, bw serve), python-vaultwarden and Terraform, client/server version compatibility, troubleshooting, and a guard hook that asks before a command prints decrypted secrets into the chat. File-based knowledge, no MCP, no stored credentials.

v1.0.3Updated

  • vaultwarden
  • bitwarden
  • password-manager
  • self-hosted
  • bw-cli
  • bw-serve
  • admin-api
  • secrets
  • security
  • dev
  • agents-store

Install

Pick your agent for the steps.

Install on Claude Code

  1. 1.Add the marketplace

    /plugin marketplace add Agents-Store/claude-plugins
  2. 2.Install the plugin

    /plugin install vaultwarden-dev@agents-store-claude-plugins

    Type it inside Claude Code.

Claude Code install docs

What is inside

Skills (9)

  • admin-panel

    This skill should be used when the user asks to "use the Vaultwarden admin API", "script the /admin panel", "disable or delete a Vaultwarden user", "reset a user's 2FA", "change Vaultwarden config", or mentions ADMIN_TOKEN or the VW_ADMIN cookie.

  • api-reference

    Manual reference (invoke /vaultwarden-dev:api-reference) for "Vaultwarden API endpoints", "Vaultwarden REST API routes", "Vaultwarden token grants", "Vaultwarden curl examples" — exact HTTP routes, payloads and auth of a Vaultwarden server.

  • cli-recipes

    This skill should be used when the user asks to "use bw with Vaultwarden", "get a password from Vaultwarden in a script", "create a Vaultwarden item from the CLI", "confirm org members with bw", "run bw serve", or needs Bitwarden CLI recipes for a self-hosted Vaultwarden.

  • examples

    This skill should be used when the user asks "how do I onboard/offboard someone in Vaultwarden", "show a Vaultwarden CI pipeline example", "back up and upgrade Vaultwarden", or wants an end-to-end walkthrough combining the admin panel, client API and bw CLI.

  • mcp-patterns

    This skill should be used when the user asks for "a Vaultwarden MCP server", "connect Claude to my Vaultwarden", "use the Bitwarden MCP server with Vaultwarden", "warden-mcp", or wants an agent to query a self-hosted vault through MCP tools instead of shell commands.

  • sdk-patterns

    This skill should be used when the user asks for a "Vaultwarden SDK" or "Bitwarden SDK for Vaultwarden", to "automate Vaultwarden from Python", "use python-vaultwarden", "manage Vaultwarden with Terraform", or wants a library rather than curl/bw for a self-hosted Vaultwarden.

  • secret-hygiene

    This skill should be used when a Vaultwarden or bw task could print, log or store a secret — "store BW_SESSION", "show me the password from Vaultwarden", "export the vault in plain text", "put the master password in a script" — to keep secrets out of chat, logs, git and argv.

  • setup

    This skill should be used when the user asks to "connect to Vaultwarden", "point bw at my Vaultwarden server", "check Vaultwarden is reachable", "get a Vaultwarden API token", "call the Vaultwarden REST API", "manage org members via the API", or "sync users from LDAP into Vaultwarden".

  • troubleshoot

    This skill should be used when the user reports Vaultwarden errors — "Username or password is incorrect" with the right password, "404 on user-key-id", "Vaultwarden 401 or 429", "invites not arriving", "bw sync hangs" — or needs to diagnose a self-hosted Vaultwarden or bw failure.

Commands (1)

  • check-version

    Check that a Vaultwarden server is reachable and that the local Bitwarden CLI version is compatible with it (read-only)

Agents (1)

  • vaultwarden-developer

    Use this agent when the user needs hands-on help building against a self-hosted Vaultwarden (Bitwarden-compatible) server — writing scripts or services that use the Bitwarden CLI, `bw serve`, the client API, the /admin panel API, python-vaultwarden or the Terraform provider, or debugging such an integration. <example> Context: User wants a script that provisions access for new hires user: "Write a Python script that invites a list of emails to our Vaultwarden org and gives them read access to the Infra collection" assistant: "I'll use the vaultwarden-developer agent to build the onboarding script." <commentary> Integration code against Vaultwarden's org API with the python-vaultwarden library — the agent knows which steps need client crypto (confirmation) and which do not. </commentary> </example> <example> Context: User's CI job stopped fetching secrets user: "Our pipeline's bw login started failing with a 404 on user-key-id after we updated the runner image" assistant: "I'll use the vaultwarden-developer agent to diagnose the CLI/server version mismatch." <commentary> Debugging a Bitwarden CLI against Vaultwarden — a known version-coupling failure the agent can verify and fix. </commentary> </example> <example> Context: User is designing how services get their secrets user: "How should our three backend services read their database passwords from Vaultwarden without anyone hardcoding them?" assistant: "I'll use the vaultwarden-developer agent to design the secret-delivery pattern." <commentary> Architecture question about bw / bw serve / dedicated accounts and collections — the agent proposes a design that respects end-to-end encryption and secret hygiene. </commentary> </example>

Hooks (1)

  • PreToolUse

README

Developer plugin for Vaultwarden — the self-hosted, Rust re-implementation of the Bitwarden server. It teaches the agent what Vaultwarden's API can and cannot do, how to script it safely, and how to keep decrypted secrets out of the conversation.

File-based knowledge: no MCP server, no stored credentials, no environment variables required by the plugin itself. Verified against Vaultwarden 1.37.5 (2026-11-01) and Bitwarden CLI 2026.11.

What Vaultwarden exposes

SurfacePathAuthGood for
Bitwarden client API/identity, /apibearer from /identity/connect/tokenorg members, policies, events, item delete/restore
Admin panel API/adminADMIN_TOKEN → VW_ADMIN cookieusers, 2FA reset, orgs, config, SQLite backup
Public API (partial)/api/public/organization/importorg API keydirectory sync only
Bitwarden CLI / bw servelocalAPI key + master passwordanything touching encrypted vault content

Vault content is end-to-end encrypted, so item reads and writes go through bw; Secrets Manager (bws) is not implemented by Vaultwarden.

Skills

SkillPurpose
setuppick the right surface, health checks, bw config server, API-key login, unlock, bearer token, admin token hash
api-referenceroute tables, token grants, master-password hash, Public API import (manual-invoke reference)
admin-panel/admin login with the cookie, every admin route, recipes, config keys and backup layout
cli-recipesbw recipes: find, capture, create, edit, move, confirm members, generate, export; bw serve local API
secret-hygienerules that keep master passwords, session keys and item secrets out of the transcript, argv and git
sdk-patternspython-vaultwarden (admin and org clients) and the maxlaverse/bitwarden Terraform provider
mcp-patternswiring warden-mcp or the official Bitwarden MCP server yourself, and what does not work on Vaultwarden
troubleshootversion coupling, login/token errors, rate limits, admin panel, org and sync problems
examplesonboarding, offboarding, CI secrets, backup and upgrade walkthroughs

Agent

vaultwarden-developer — writes and debugs integrations (scripts, services, CI, Terraform) against Vaultwarden, respecting the encryption boundary and asking before destructive calls.

Command

/vaultwarden-dev:check-version [server-url] — read-only: server health and version, local bw version, and a compatibility verdict.

Hook

A PreToolUse hook on Bash (scripts/bw_guard.py, needs python3) answers ask before a command would print decrypted vault data into the conversation: bw list items, bw get item|password|totp|notes, uncaptured bw unlock/bw login, plain-text bw export, bw serve exposed beyond localhost, bw serve secret endpoints, rbw get, and echoing BW_SESSION/BW_PASSWORD/admin tokens. Output captured into a variable (X="$(bw get password <id>)"), redirected to a file or piped to the clipboard passes silently; a capture that is echoed straight back still asks. It never blocks, makes no network calls and fails open. Agents that drop hooks get the same rules from the secret-hygiene skill.

Installation

claude plugin marketplace add Agents-Store/claude-plugins
claude plugin install vaultwarden-dev@agents-store

Prerequisites

  • A reachable Vaultwarden server (any user account; the admin panel needs ADMIN_TOKEN set by the operator).
  • curl and jq; the Bitwarden CLI (npm install -g @bitwarden/cli) for vault content; python3 for the guard hook.
  • Credentials are entered by you at run time (read -r -s) or come from your own secret store — the plugin never asks you to paste them into the chat.

Sources