@agnishc/edb-claude-proxy

Pi extension: claude_proxy tool — delegate tasks to Claude Code CLI from within pi

Package details

extension

Install @agnishc/edb-claude-proxy from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@agnishc/edb-claude-proxy
Package
@agnishc/edb-claude-proxy
Version
0.5.1
Published
May 5, 2026
Downloads
226/mo · 226/wk
Author
agnishc
License
MIT
Types
extension
Size
19.7 KB
Dependencies
0 dependencies · 3 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

@agnishc/edb-claude-proxy

A Pi CLI extension that registers a claude_proxy tool — lets the pi agent delegate tasks to Claude Code CLI running in non-interactive (--print) mode.

Use cases

  • Code review and security audit
  • Diff analysis and documentation
  • Architectural second opinion
  • Any task where a second model perspective is valuable

Install

pi install npm:@agnishc/edb-claude-proxy

Requirements

  • claude CLI on PATH (Claude Code)
  • Set CLAUDE_PATH env var to override the binary location

Parameters

Parameter Type Description
prompt string The task for Claude — be specific
systemPrompt string? Expert persona (e.g. "You are a senior security engineer")
model string? sonnet (default), opus, haiku, or full model name
allowedTools string[]? Tools Claude may use. Defaults to ["Read"]
files string[]? File paths to inject into Claude's context
cwd string? Working directory for the Claude process

TUI

  • Collapsed: shows tool calls (read/bash/edit) and a response preview
  • Expanded (Ctrl+O): full markdown-rendered response with all tool calls

License

MIT © Agnish Chakraborty