@pi-plugins/claude-oauth

Make pi's Anthropic OAuth requests match the current Claude Code client so OAuth login works correctly.

Packages

Package details

extension

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.3.6
Published
Sep 14, 2026
Downloads
875/mo · 113/wk
Author
kedom1337
License
MIT
Types
extension
Size
641.5 KB
Dependencies
0 dependencies · 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

Compatibility fixes for using a Claude subscription in pi.

Install

pi install npm:@pi-plugins/claude-oauth

To try it for one session without changing your settings:

pi -e npm:@pi-plugins/claude-oauth

Usage

Sign in to Anthropic with /login, then select a Claude model from the built-in anthropic provider. The plugin works automatically, with no additional provider or configuration.

This plugin is for subscription sign-ins, not API-key access.