Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bitwarden Verified Orgv1.5.1In 1 marketplace
Logs what each session produces, from commits and PRs to skill and MCP tool use, as metadata-only OTLP logs. Hooks run on their own at session start and after tool calls; nothing is emitted unless BW_TELEMETRY_OTLP is set to a bitwarden.pw https URL.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code hooks that emit metadata-only AI-usage telemetry as OTLP logs. The plugin makes AI-assisted development at Bitwarden observable: which skills, agents, and MCP tools are used, and which repos, branches, files, commits, and PRs a session produces. It never captures code contents or prompt text.
The plugin registers Claude Code lifecycle hooks (SessionStart, PostToolUse, SubagentStop, and UserPromptExpansion) that fire at session start, after tool use, subagent completion, and prompt expansion. Each hook POSTs a single OTLP-JSON log record describing what happened, using metadata only. The hooks emit these event families:
| Event | Fires on | Recovers |
|---|---|---|
bw.session | Session start | The session and repo, so every session produces at least one record |
bw.identity | Task / Agent / Skill tool use; subagent stop; UserPromptExpansion | Skill and agent names that native telemetry redacts |
bw.edit | Edit / MultiEdit / Write / NotebookEdit | Repo slug, branch, base SHA, and the edited file path |
bw.commit | Bash running git commit | Repo slug, branch, and the resulting commit SHA |
bw.pr | Bash running gh pr create | Repo slug, branch, and the PR number |
bw.mcp | Any mcp__* tool | The real mcp__<server>__<tool> name that native telemetry redacts to a generic identifier |
The exact record shape and every attribute each event carries are in docs/payload.md.
Metadata only. Specifically:
owner/name) and current branch.claude.json)It never collects:
It does not intentionally collect credentials or secrets — branch and file names are captured as-is, so an unusual name that happens to embed a token or codename passes through.
Telemetry is best-effort and must never interfere with a working session. Every hook is guarded: the shared emitter swallows all errors, git and network calls are time-boxed, and each hook always exits 0. If the destination is unreachable, misconfigured, or slow, the session proceeds unaffected and the record is dropped.
The OTLP destination is supplied at deploy time via the BW_TELEMETRY_OTLP environment variable (normally set org-wide through managed-settings.json's env block), and is not hardcoded anywhere in the plugin.
BW_TELEMETRY_OTLP has no default. If it isn't set, the hooks emit nothing and say so: a warning that telemetry is not being recorded reaches the user at most once an hour, both in the session and as a desktop notification in terminals that support OSC 9, so a missing destination doesn't go unnoticed for a whole session.
The value must be an https URL whose host is bitwarden.pw or a subdomain of it (e.g. https://ait.bitwarden.pw/v1/logs). Anything else (http://, a different domain, a malformed URL) is treated exactly like an unset variable: the hooks emit nothing, and the warning names both cases together rather than distinguishing "not configured" from "configured but rejected."
PATH (the hooks invoke python3). The hooks use only the Python standard library; no third-party packages are required.gh) are used opportunistically for git-linkage events; if they are absent, those events are skipped (fail-open)./plugin install bitwarden-ai-telemetry@bitwarden-marketplace
Restart Claude Code after installing so the hooks and any env configuration load at startup.
For questions about this plugin, what it collects, or how to configure the destination, reach out in the #team-eng-ai Slack channel.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bitwarden/ai-plugins --plugin bitwarden-ai-telemetryPlugins from other owners that cover similar ground