Skip to main content

Claude Code

Claude Code reads each Bitwarden repository's .claude/ directory for the rules and skills that apply to that codebase, and the plugins in bitwarden-marketplace add the ones that work across repositories. This page explains how to install Claude Code and add the Bitwarden plugins.

Audience: Developers setting up Claude Code to work on Bitwarden code, including community contributors.

Before you start

You need an account that can use Claude Code: a Claude subscription, a Claude Console account, or access through a supported cloud provider. Anthropic's quickstart lists them.

Setup​

  1. Install Claude Code by following Anthropic's quickstart, and sign in when prompted.

  2. Add Claude Code to your IDE. Anthropic has setup instructions for VS Code and JetBrains IDEs.

  3. Start Claude Code in a Bitwarden repository and trust the folder when prompted. Many repositories add bitwarden-marketplace in their .claude/settings.json, which applies only after you trust the folder.

  4. Open the plugin manager and check that bitwarden-marketplace is listed under Marketplaces.

    /plugin

    If it is missing, add it as the Usage section of the ai-plugins README shows.

  5. Install the plugins you need, as Installing plugins in the README shows. The README's plugin table says what each plugin does, and each plugin's README lists what it requires.

  6. Load the plugins. Restart Claude Code, or run this in a session that is already open:

    /reload-plugins
  7. Turn on auto-update for bitwarden-marketplace, as Keeping plugins up to date in the README describes, so your plugins update when Claude Code starts.

Key concepts​

TermWhat it isYou
PluginThe unit you install from a marketplace. It bundles agents, skills, and sometimes an MCP server, and has a version.Install it
AgentA role with its own instructions and tools that Claude hands a task to.Delegate to it
SkillInstructions for one task. Claude loads it when your request matches its description, or you invoke it by name.Trigger it
MCP serverA connector that gives Claude access to an outside system, such as Jira or Confluence.Connect through it

Anthropic's Glossary defines the other terms Claude Code uses, such as hooks, subagents, and compaction.

Where to go next​

  • The ai-plugins README lists every plugin in the marketplace and what it does. Each plugin's CHANGELOG.md, in its folder under plugins/, lists what changed in each version.
  • How Claude Code works explains Claude Code's agentic loop, what Claude can access, and how sessions and the context window work.
  • Best practices for Claude Code explains how to give Claude the context it cannot see, a check to run, and rules it must follow.
  • Manage costs effectively explains how to track and reduce token usage.