pi-claude-bridge-askclaude
Pi extension that adds an AskClaude tool: delegate questions or tasks to Claude Code (via Agent SDK) from any provider.
Package details
Install pi-claude-bridge-askclaude from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-claude-bridge-askclaude- Package
pi-claude-bridge-askclaude- Version
0.1.1- Published
- Nov 6, 2026
- Downloads
- 305/mo · 305/wk
- Author
- elidickinson
- License
- MIT
- Types
- extension
- Size
- 36.6 KB
- Dependencies
- 2 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-claude-bridge-askclaude
Pi extension that adds an AskClaude tool: when you're using another provider in pi, the model can delegate a question or task to Claude Code (via the Agent SDK) and get its answer back. A companion to pi-claude-bridge, which doesn't need to be installed.
Install
pi install npm:pi-claude-bridge-askclaude
Claude Code must be logged in: run claude auth login.
Usage
The calling model picks a mode per call: read (default) for questions about the codebase, none for general knowledge with no file access, or full to let Claude Code make changes. By default Claude sees pi's conversation so far; isolated: true sends only the prompt. Model names (opus, sonnet, haiku, a full id) go to Claude Code as they are, so Claude Code picks the context size; opus[1m] asks for 1M. pi's skills are listed in Claude Code's system prompt. AskClaude doesn't work while claude-bridge is the active provider.
Full mode risks: in full mode Claude Code writes files and runs bash with bypassPermissions, using its own tools on your machine. pi shows none of those steps as they happen, pi's tool hooks and any permission or sandbox extension don't apply, and the calling model only gets Claude's final answer back. There is no setting to disable full mode alone; uninstall AskClaude if you don't want that.
Settings
AskClaude has no settings of its own. It reads provider.pathToClaudeCodeExecutable and provider.autoMemoryEnabled from pi-claude-bridge's config, ~/.pi/agent/claude-bridge.json, if present.
CLAUDE_BRIDGE_DEBUG=1 logs to the same debug log as pi-claude-bridge.