Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pi-cli-repro

Skill by gotgenes

Pi CLI Repro is a skill for reproducing extension bugs through the real pi executable. It is aimed at debugging Anthropic OAuth failures and prompt or request shaping in the pi-anthropic-auth repo.

  • Score 71
  • 447 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pi-cli-repro

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gotgenes/pi-anthropic-auth /tmp/pi-anthropic-auth && mkdir -p ~/.claude/skills && cp -r /tmp/pi-anthropic-auth/.pi/skills/pi-cli-repro ~/.claude/skills/pi-cli-repro

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pi-cli-repro in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Pi CLI Repro is an agent skill that gives a fast workflow for reproducing bugs through the real pi command line tool. It runs pi non-interactively with a local extension file loaded directly, using a narrow read-only tool set and no session carryover. The skill also covers checking the installed pi version and running experiments. These include comparing the default Pi prompt with a minimal custom system prompt, removing project context files, and using a disposable probe extension to count provider request debug lines.

The skill is written for the pi-anthropic-auth repository and a local pi installation with CLI access. It is meant for developers who need to validate extension logic in the live CLI path rather than only in unit tests. It suits anyone debugging Anthropic OAuth failures, prompt shaping, or request payload inspection who wants a short feedback loop without repeated manual retries.

Written from the project's SKILL.md and checked against it.

What it can do

  • Live CLI reproductionRuns the real pi executable with a local extension file loaded directly.
  • Version checkConfirms the installed pi CLI version before trusting a repro.
  • Prompt comparisonTests whether the default Pi prompt triggers a failure, using a minimal custom system prompt.
  • Project context removalSeparates prompt template issues from AGENTS.md or repo guidance.
  • Call path probingUses a disposable extension to show which call paths reach the wrapper.

What you need

  • A local pi installation with CLI access
  • The pi-anthropic-auth repository

Try asking

  • Reproduce this Anthropic OAuth failure through the real pi CLI.
  • Check whether the default Pi prompt triggers this failure.
  • Rerun this repro with --no-context-files and a minimal system prompt.

Good to know

  • Intended for the pi-anthropic-auth repository.
  • Example commands use a hardcoded local path to the extension file.
  • The source does not describe any tool beyond these workflow steps.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .pi/skills/pi-cli-repro/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md3 KB

Alternatives to pi-cli-repro

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

pi-cli-repro: common questions

What is pi-cli-repro used for?

It is used to reproduce extension behavior through the real pi executable. The source names Anthropic OAuth failures, prompt shaping, and request payload inspection as main cases.

Why run pi with --no-session and a limited tool set?

The source says --no-session avoids session carryover noise. Limiting tools to read, grep, find, and ls keeps repros narrow and read-only.

How does it show whether a request reaches the wrapper?

A disposable extension issues one request through the lane under test with PI_ANTHROPIC_AUTH_DEBUG=all set. The count of before-provider-request lines is the evidence.

How do I install pi-cli-repro?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pi-cli-repro free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pi-cli-repro safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pi-cli-repro?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

pi-cli-repro Install

Add to stack

Loading.