claude-bridge-setup

claude-bridge-setup is a skill for Claude Code from michalekz/claude-bridge. It costs 0 tokens per session (1,405 once invoked), scanned B, original, MIT.

A setup guide for activating live usage data in the claude-bridge plugin through Claude Code settings. It covers a status display and a hook that refreshes rate-limit information.

In plain words
What is it for?
Use it when installing the plugin's status display or rate-limit refresh hook, or when a live-data check returns a setup instruction.
Why use it?
Without this setup, the plugin may not be able to show current context or rate-limit data and instead reports that live data is unavailable.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the claude-bridge plugin — 4 skills, 1 hook, 1 MCP server shipped together

Good fit Use it when installing the plugin's status display or rate-limit refresh hook, or when a live-data check returns a setup instruction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michalekz/claude-bridge/claude-bridge-setup
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.

Any agent
npx skills add michalekz/claude-bridge --skill claude-bridge-setup
Clone the repo
git clone --depth 1 https://github.com/michalekz/claude-bridge

Made for: Claude Code.

Or install claude-bridge, the plugin that ships this one along with the rest of its 4 skills, 1 hook, 1 MCP server.

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 claude-bridge-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/michalekz/claude-bridge/claude-bridge-setup/github.svg)](https://agentmods.dev/skills/michalekz/claude-bridge/claude-bridge-setup)
Your own site
<a href="https://agentmods.dev/skills/michalekz/claude-bridge/claude-bridge-setup"><img src="https://agentmods.dev/badge/skills/michalekz/claude-bridge/claude-bridge-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-bridge-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/michalekz/claude-bridge/claude-bridge-setup"><img src="https://agentmods.dev/badge/skills/michalekz/claude-bridge/claude-bridge-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.01405
Opus 5.5 $0.00000 $0.00562
Sonnet 5.5 $0.00000 $0.00281
Haiku 4.5 $0.00000 $0.00140

Measured 1mo ago against content hash e1f1d225f799, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

claude-bridge-setup scanned grade B with 2 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 1mo ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/claude-bridge-statusline-wrapper.sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Does `curl https://api.anthropic.com/api/oauth/usage` work from your machine? Corporate proxies may block it.
skills/claude-bridge-setup/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

claude-bridge-setup — Live-data activation

The v0.9.0+ live-data architecture requires two additions to ~/.claude/settings.json:

  1. statusLine wrapper — writes CC per-render stdin JSON to ~/.claude-bridge/live/statusline.json. Optional passthrough to user's original statusLine.
  2. PostToolUse hook — calls Anthropic OAuth /api/oauth/usage (throttled ~1/min) as fallback rate-limits source. Writes to ~/.claude-bridge/live/oauth-api.json.

Without at least one, peer_context_status and rate_limit_status return hasLiveData: false with a setupPointer.

The plugin's bundled SessionStart hook (setup-check.cjs) does most of this for you:

  • Detects the newest installed plugin version in cache dir
  • Refreshes stable symlinks at ~/.claude/claude-bridge-{statusline,refresh-limits}.cjs
  • Auto-generates a wrapper script at ~/.claude/claude-bridge-statusline-wrapper.sh that preserves any pre-existing statusLine command as passthrough
  • Prints a banner on stderr with copy-paste snippets when setup is incomplete

If you saw a banner starting with ━━━ claude-bridge vX.Y.Z setup ━━━, follow its instructions. Otherwise apply the manual steps below.

Manual setup

Step 1 — statusLine wrapper

Edit ~/.claude/settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "~/.claude/claude-bridge-statusline-wrapper.sh"
  }
}

The wrapper script is auto-generated by the plugin's SessionStart hook on first run. If it doesn't exist yet, restart Claude Code once, then verify with:

cat ~/.claude/claude-bridge-statusline-wrapper.sh

Step 2 — PostToolUse hook

Add to the same settings.json:

{
  "hooks": {
    "PostToolUse": [{
      "matcher": ".*",
      "hooks": [{
        "type": "command",
        "command": "node ~/.claude/claude-bridge-refresh-limits.cjs",
        "timeout": 6
      }]
    }]
  }
}

If PostToolUse already exists in your settings.json, merge into the existing array — don't replace.

Read the full file on GitHub · 109 lines

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. 1mo ago First seen · 109 lines · 0 tokens per session scan B e1f1d225f799

Subscribe to this mod's changes

claude-bridge-setup is a skill published in the GitHub repository michalekz/claude-bridge (3 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,405 tokens. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). 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

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it…

comet-ml/opik-claude-code-plugin · 187 tokens

opik-evaluate

Build an LLM evaluation and run it against the app, returning an Opik experiment with scores and its link. Picks a test suite with judge assertions or a dataset with metrics, sources cases from traces or synthetic data, scores heuristics-first then one-failure-mode judges, runs client-side via the SDK or server-side…

comet-ml/opik-claude-code-plugin · 192 tokens

opik

Reference for the Opik SDK — tracing, span types, framework integrations, threads, and the prompt library (Python, TypeScript, REST). Use for "what span types exist", "how do I flush", "trackopenai", "add OpikTracer", "version a prompt". To instrument a repo end to end, use the opik-instrument skill.

comet-ml/opik-claude-code-plugin · 80 tokens

opik-explain

Root-cause a specific Opik trace, or a pattern across traces, and return a grounded explanation. Uses the hosted Opik MCP when it is connected, and falls back to SDK scripting otherwise. Returns the root cause, the evidence spans as clickable Opik UI links, and one suggested next step. Use for "why did this trace…

comet-ml/opik-claude-code-plugin · 113 tokens

opik-compare

Run a candidate against the baseline over an Opik test suite and read the numbers back — which cases broke, which got fixed, the per-metric deltas, worst rows, and whether the two runs are comparable — with the Opik compare-view link. Runs via the SDK; reads results via the MCP when connected. Does not issue a…

comet-ml/opik-claude-code-plugin · 156 tokens

opik-verify

Decide ship or hold for a candidate from the compare skill's numbers, against an explicit release policy — regressions, pass rate, safety-tagged cases, subgroup consistency, latency and cost budgets, flakiness, evidence size, and whether the judge is validated. Reads two experiments on an Opik test suite via the SDK…

comet-ml/opik-claude-code-plugin · 145 tokens