viniciosrab

Pi Claude Bridge — Development skill for Claude Code

Development community

Use Claude in pi through your Claude Code subscription, with pi running every tool.

How to install Pi Claude Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open viniciosrab/pi-claude-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pi Claude Bridge does

Use Claude in pi through your Claude Code subscription, with pi running every tool.

Alternatives in Development

  • Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
  • Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
  • Claude Pro Subscription Guide — Claude 充值 / Claude 订阅 / Claude 代充 / Claude 开通教程(2026) Claude Pro 充值 订阅 代充 开通、Claude Max 充值 订阅 代充 开通,支持 Claude 316 ★

README

pi-claude-bridge

[![npm version](https://img.shields.io/npm/v/@viniciosrab/pi-claude-bridge)](https://www.npmjs.com/package/@viniciosrab/pi-claude-bridge)

Use Claude (Fable, Opus, Sonnet, Haiku) as a model in [pi](https://github.com/earendil-works/pi), through your Claude Code subscription. Every tool call runs in pi's TUI, as with any other model.

What it does for you:

  • Your Claude plan, pi's tools. Claude Code does the talking to Anthropic; pi runs every tool, skill and extension as usual.
  • The prompt cache survives the usual interruptions. An abort, an API error, /fork, /clone, or reopening a session in a new window continue Claude Code's own session instead of re-sending the whole conversation.
  • Turns that don't hang. A tool call lost between Claude Code and pi, or parallel calls after a non-streaming fallback, end the turn with a clear error instead of leaving it on "Working".
  • Full tool descriptions. Claude Code cuts each MCP tool description at 2,048 characters; the bridge lifts that limit, so long descriptions such as codemode's list of MCP servers reach Claude whole.
  • New models without a bridge release. Claude models pi knows about appear in /model after pi update.

Install

pi install npm:@viniciosrab/pi-claude-bridge

Requires pi 0.86.1 or newer and a Claude Code login. Usage counts against your Claude plan, the same as Claude Code.

Use

Pick a model with `/model`, e.g. `claude-bridge/claude-opus-5` or `claude-bridge/claude-haiku-4-5`. New Claude models appear on their own after `pi update`.

Skills, AGENTS.md/CLAUDE.md and steering work as usual.

Configure

Optional. Global: `~/.pi/agent/claude-bridge.json`. Per project: `.pi/claude-bridge.json`, merged over the global file.

{
  "provider": {
    "plan": "max"
  }
}
provider option Default What it does
plan "pro" Set to "max" on Max, Team Premium or Enterprise to unlock 1M context on Opus 4.6.