@ryan_nookpi/pi-extension-cc-system-prompt
Claude Code system prompt extension for pi.
Package details
Install @ryan_nookpi/pi-extension-cc-system-prompt from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ryan_nookpi/pi-extension-cc-system-prompt- Package
@ryan_nookpi/pi-extension-cc-system-prompt- Version
0.1.3- Published
- Apr 17, 2026
- Downloads
- 446/mo · 20/wk
- Author
- ryan_nookpi
- License
- MIT
- Types
- extension
- Size
- 17.1 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@ryan_nookpi/pi-extension-cc-system-prompt
Use your Claude Code subscription (Max, Team, Enterprise) with pi.
Claude Code's API uses a dedicated system prompt to identify itself. This extension swaps pi's system prompt with that Claude Code-style prompt when you select a Claude model, so the API recognizes requests as coming from Claude Code and routes them through your subscription plan.
Pi's original system prompt is preserved by injecting it once as a persistent <system-reminder> message.
Install
pi install npm:@ryan_nookpi/pi-extension-cc-system-prompt
Great for
- experimenting with Claude Code-flavored prompt behavior inside pi
- keeping pi's original guidance available as a reminder
- using a vendored, reviewable prompt source instead of a remote dependency
Behavior
- Applies only when the selected model ID starts with
claude- - Replaces pi's system prompt with a curated Claude Code prompt assembled from vendored prompt fragments
- Injects pi's original system prompt once as a persistent reminder message
Notes
- No additional API charges — requests are billed against your existing Claude Code subscription.
- This relies on undocumented Anthropic internal behavior and may break at any time without notice.
- Vendored prompt fragments come from
Piebald-AI/claude-code-system-prompts.