Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-extension-claude-cli

A pi provider extension that wraps the local claude CLI binary. Auth is handled by whatever claude is already logged into — no separate API key or OAuth setup required.

Requirements

claude auth login

Install

pi install path/to/pi-extension-claude-cli

Usage

pi --provider claude-cli "your prompt"
pi --provider claude-cli --model claude-sonnet-4-6 "your prompt"

Available models: claude-opus-4-8, claude-sonnet-4-6, claude-haiku-4-5-20251001

How it works

Spawns claude -p <prompt> --output-format stream-json as a subprocess and pipes the streaming events into pi. Tool calls (Bash, Read, Edit, etc.) are executed by the claude subprocess and shown as ▶ ToolName: ... lines in the pi stream.

Acknowledgements

Initial version vibe coded with Claude Code.

License

MIT

About

pi provider extension that wraps the claude CLI binary

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages