@pi-plugins/claude-oauth
Make pi's Anthropic OAuth requests match the current Claude Code client so OAuth login works correctly.
Package details
Install @pi-plugins/claude-oauth from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@pi-plugins/claude-oauth- Package
@pi-plugins/claude-oauth- Version
0.2.1- Published
- Jul 18, 2026
- Downloads
- 29/mo · 16/wk
- Author
- kedom1337
- License
- MIT
- Types
- extension
- Size
- 36.8 KB
- Dependencies
- 1 dependency · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.mjs"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@pi-plugins/claude-oauth
A pi-agent extension that makes pi's Anthropic OAuth requests match the current Claude Code client, so signing in with a Claude subscription (OAuth) works correctly.
Install
pi install npm:@pi-plugins/claude-oauth
For a one-off run without adding it to settings:
pi -e npm:@pi-plugins/claude-oauth
For local development, load it straight from this directory:
pi -e ./plugins/claude-oauth
Usage
There is nothing to configure or toggle, and no new provider to add. Once installed,
the extension automatically augments pi's existing built-in anthropic provider and
applies to its OAuth requests; every other request passes through unchanged. Keep
using the anthropic provider exactly as you normally would.