pi-claude-max
Pi extension that consumes Claude Pro/Max subscription usage instead of extra usage.
Package details
Install pi-claude-max from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-claude-max- Package
pi-claude-max- Version
1.1.1- Published
- Sep 12, 2026
- Downloads
- 668/mo · 17/wk
- Author
- bradennss
- License
- MIT
- Types
- extension
- Size
- 12 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
pi-claude-max
A Pi extension that consumes Claude Pro/Max subscription usage instead of extra usage.
Note: This makes Pi identify to Anthropic's API the way the official Claude Code CLI does. Using a third-party harness with your subscription may be against Anthropic's terms; understand the risk before using it.
Install
# from npm
pi install npm:pi-claude-max
# or from git
pi install git:github.com/bradennss/pi-claude-max
# try it for a single run without installing
pi -e npm:pi-claude-max
Then, optionally, silence the extra-usage warning by adding to ~/.pi/agent/settings.json:
{
"warnings": { "anthropicExtraUsage": false }
}
Requirements
- Pi authenticated with an Anthropic OAuth token via
/login anthropic. - Node.js >= 20.
Development
pnpm install
pnpm run check
Contributing
Every change that affects the published package needs a changeset. Add one before opening a pull request:
pnpm changeset
CI blocks pull requests that change the package without a changeset. For changes that should not trigger a release, add an empty changeset with pnpm changeset --empty or apply the @changesets/skip label.
Releasing
Releases are automated with Changesets:
- Merging changesets into
mainopens or updates a Version Packages pull request that bumps the version and updatesCHANGELOG.md. - Merging that pull request publishes to npm and creates the matching GitHub release and tag.