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.
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-reproRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gotgenes/pi-anthropic-auth /tmp/pi-anthropic-auth && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pi-anthropic-auth/.pi/skills/pi-cli-repro ~/.gemini/antigravity-cli/skills/pi-cli-reproAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
