New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

pi-cc-patch

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-cc-patch

Use Claude Pro/Max subscription with pi — bypasses third-party app detection

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
12
-94.57%
Maintainers
1
Weekly downloads
 
Created
Source

pi-cc-patch

Use your Pro/Max subscription billing with pi instead of getting the "Third-party apps now draw from your extra usage" error.

What it does

The API classifier detects pi as a third-party app and blocks subscription billing. This extension patches the request payload to bypass it:

  • Sanitizes trigger phrases from the system prompt
  • Adds billing header for subscription rate-limit routing
  • Strips prefix block that triggers detection

Version 1.0.2 advertises Claude Code 2.1.261 in the subscription billing block. Anthropic currently requires at least 2.1.251 for Claude Fable 5.1; older identities fail with claude_code_version_too_old.

Scope: this patch runs only for direct Anthropic OAuth requests, identified by Pi's OAuth-only Claude Code identity block. Anthropic API-key, Amazon Bedrock, OpenRouter, gateway, and other provider requests are left unchanged.

No token swap, no SDK dependency, no proxy. Just a before_provider_request hook. Pi's built-in provider handles everything else — caching, token refresh, thinking, streaming, tool mapping.

Install

pi install git:github.com/picassio/pi-cc-patch

Then restart pi. Use /login if you haven't already.

Uninstall

pi remove git:github.com/picassio/pi-cc-patch

Keywords

pi-package

FAQs

Package last updated on 05 Sep 2026

Related posts