vaultwarden-cli

vaultwarden-cli is a skill for Claude Code, Codex from uvwt/agentdock-skills. It costs 35 tokens per session (811 once invoked), scanned A, original, Apache-2.0.

A connector for Vaultwarden, a self-hosted password manager compatible with Bitwarden, using Bitwarden's official command-line client. It returns only safe item details and can copy one selected secret to the local clipboard.

In plain words
What is it for?
Use it to check the connection, configure the server, sync the vault, search items, view safe metadata, copy one password or custom field to the clipboard, or lock the vault.
Why use it?
It reduces the risk of exposing passwords, one-time codes, master-password data or session details to the agent. It also avoids bulk exports and unrestricted password-manager commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/uvwt/agentdock-skills/vaultwarden-cli
Any agent
npx skills add uvwt/agentdock-skills --skill vaultwarden-cli
Clone the repo
git clone --depth 1 https://github.com/uvwt/agentdock-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vaultwarden-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/uvwt/agentdock-skills/vaultwarden-cli.svg)](https://agentmods.dev/skills/uvwt/agentdock-skills/vaultwarden-cli)
Your own site
<a href="https://agentmods.dev/skills/uvwt/agentdock-skills/vaultwarden-cli"><img src="https://agentmods.dev/badge/skills/uvwt/agentdock-skills/vaultwarden-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00811
Opus 5 $0.00017 $0.00405
Sonnet 5 $0.00007 $0.00162
Haiku 4.5 $0.00003 $0.00081

Measured 5d ago against content hash e822fb11d1f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

vaultwarden-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (run.py, setup.py, test_run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/vaultwarden-cli/SKILL.md · 76 lines

What it actually says

Vaultwarden CLI

该 Skill 不包含第三方 Vaultwarden SDK,也不把密码、TOTP、主密码或 BW_SESSION 返回给模型。

安全边界

  • 唯一的密码库客户端依赖是 Bitwarden 官方包 @bitwarden/cli(命令 bw)。
  • 主密码和两步验证码只由官方 bw CLI 在本机交互式终端读取。
  • 临时会话存放在 macOS 钥匙串,服务名为 agentdock-vaultwarden-cli
  • searchitem 只返回脱敏元数据。
  • copy-secret 只写入本机剪贴板,默认 45 秒后在内容未变化时自动清除。
  • 不提供批量导出、批量显示秘密、任意 bw 命令透传或密码库写操作。

首次配置或会话失效

在 DockMini 本机终端运行:

cd "$HOME/AgentDock"
python3 skills/vaultwarden-cli/setup.py

按照官方 bw CLI 的提示输入 Vaultwarden 地址、账号、主密码和两步验证码。

可用操作

  • status:查看 CLI、服务器、登录和安全会话状态。
  • configure-server:配置 Vaultwarden 地址;远程地址强制 HTTPS。
  • sync:同步密码库。
  • search:搜索条目,只返回脱敏元数据。
  • item:读取单条脱敏元数据。
  • copy-secret:复制单个字段到本机剪贴板。
  • lock:锁定密码库并删除钥匙串会话。

调用示例

{"query":"GitHub","limit":10}
{"item_id":"条目 ID","field":"password","clear_after_seconds":45}

自定义字段:

{"item_id":"条目 ID","field":"custom","field_name":"API Key"}

辅助脚本执行

Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。

printf '%s' '{"skill_action":"<动作>"}' | python3 run.py

输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。

动作 用途
status 检查官方 bw CLI、服务器配置、登录状态和本机安全会话状态,不返回账号或秘密。
configure-server 把官方 bw CLI 指向指定的 Vaultwarden HTTPS 地址。
sync 使用本机钥匙串中的临时会话同步密码库,不输出秘密。
search 搜索密码库并仅返回条目 ID、名称、类型、收藏状态和域名等脱敏元数据。
item 按条目 ID 读取脱敏元数据;不会返回密码、TOTP、备注或自定义字段值。
copy-secret 把单个密码、用户名、TOTP 或指定自定义字段复制到本机剪贴板;秘密永不进入输出,默认 45 秒后自动清除。
lock 锁定密码库并删除本机钥匙串中的临时会话。
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 76 lines · 35 tokens per session scan A e822fb11d1f3

Subscribe to this mod's changes

vaultwarden-cli is a skill published in the GitHub repository uvwt/agentdock-skills (3 stars, last pushed 4d ago), licensed Apache-2.0. It adds 35 tokens to every session and 811 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens