{"repo":"leohenon/pi-anthropic-oauth","free":true,"listed":false,"github":"https://github.com/leohenon/pi-anthropic-oauth","clone":"git clone https://github.com/leohenon/pi-anthropic-oauth.git","description":"Pi extension for Anthropic OAuth with Claude Pro/Max.","language":"TypeScript","stars":79,"topics":["claude","pi","pi-agent","pi-extensions","anthropic"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"pi-anthropic-oauth Use Claude Pro/Max in Pi with browser OAuth. [!IMPORTANT] This extension supports Pi 0.80.8 or later. Features - Claude Pro/Max login from /login - Automatic token refresh - Claude Code-compatible OAuth headers and prompt shaping - No Anthropic API key needed - Uses the Anthropic models available in Pi's built-in model registry - Auto-creates /.Claude Code → /.pi symlink when missing Quick start Start Pi, then run Pi's login command: Choose: Complete the browser login. After login, select an Anthropic model in Pi. When the extension is active, /login includes Claude Pro/Max and Anthropic models show (sub) after OAuth login. Update with: [!NOTE] Anthropic auth changes are closely monitored for quick compatibility updates. System prompt rewriting When using Claude Pro/Max OAuth, the extension prepends Claude Code identity text and rewrites standalone Pi / pi references in Pi's system prompt to Claude Code . The rewrite mode defaults to aggressive : Other modes are opt-in and avoid rewriting some technical strings such as paths, package names, or repository names. If OAuth starts failing, switch back to aggressive . Available modes: Mode Behavior ---------------- ----------------------------------------------------------------------------------------------------------- aggressive Default. Replaces standalone Pi / pi wherever the word-boundary pattern matches. path-safe Avoids replacing Pi / pi immediately after / or \\ , preserving path segments like /srv/dev/p","default_branch":null,"files":null,"tree":[],"storefront":"/r/leohenon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leohenon/pi-anthropic-oauth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}