Bitwarden BW for Openclaw

A secure interface for interacting with Bitwarden vaults using the official Bitwarden CLI.

yorha59
v1.0.0
Feb 23, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bitwarden-bw

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bitwarden-bw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Bitwarden BW?

The Bitwarden BW skill allows AI agents to interface directly with the official Bitwarden CLI (bw) to manage credentials securely. This integration enables automated workflows to retrieve passwords, usernames, and TOTP codes without manual intervention, while maintaining the security standards of the Bitwarden ecosystem. By incorporating this into your Openclaw Skills library, you can bridge the gap between secure credential storage and developer productivity.

This skill is designed for developers and power users who need to programmatically access vault items. It handles everything from simple password retrieval to complex vault searches and synchronization, ensuring your AI-driven tasks have the necessary authentication data while keeping sensitive information protected behind session-based encryption.

Bitwarden BW Use Cases

  • Automated retrieval of database or API credentials during development.
  • Generating TOTP codes for multi-factor authentication in automated login flows.
  • Searching and listing vault items to identify existing accounts or service credentials.
  • Syncing local vault caches to ensure that the AI agent is working with the most up-to-date security data.

How Bitwarden BW Works

  1. The skill communicates with the installed Bitwarden CLI (bw) on the host machine.
  2. It utilizes a pre-authenticated BW_SESSION environment variable to gain access to the encrypted vault.
  3. When a command is triggered, the skill executes specific bw subcommands such as get, list, or sync.
  4. Output from the CLI is captured and processed, often utilizing Python-based parsing to extract specific fields like usernames or passwords from JSON responses.
  5. The requested data is then returned to the AI agent or the user interface for use in subsequent tasks.

Bitwarden BW Setup

To use this Openclaw Skills integration, you must first install the Bitwarden CLI:

npm install -g @bitwarden/cli

Next, authenticate and set your session variable:

bw login
# Follow the prompts and copy the session key provided
export BW_SESSION="your_generated_session_key"

To ensure the session persists across terminal restarts, add the export command to your shell configuration file (e.g., ~/.zshrc or ~/.bashrc).

Bitwarden BW Data Schema & Taxonomy

The skill interacts with the standard Bitwarden item schema. Key data points retrieved include:

Attribute Description
name The display name of the vault item
username The login username associated with the item
password The encrypted login password
totp The current Time-based One-Time Password code
item (JSON) The full raw JSON object representing the vault entry

Bitwarden BW Advanced Features

  • Support for full vault synchronization using the bw sync command.
  • Advanced search capabilities using piped Python scripts to filter and format JSON results.
  • Secure TOTP code generation for handling MFA-protected accounts.
  • Session refresh capabilities via bw unlock to maintain access without requiring a full re-login.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*