Borrowing it
Nothing to install: this file belongs to gotgenes/pi-anthropic-auth. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gotgenes/pi-anthropic-auth/main/.pi/skills/pre-completion/SKILL.mdgit clone --depth 1 https://github.com/gotgenes/pi-anthropic-authWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gotgenes/pi-anthropic-auth/pre-completion)<a href="https://agentmods.dev/skills/gotgenes/pi-anthropic-auth/pre-completion"><img src="https://agentmods.dev/badge/skills/gotgenes/pi-anthropic-auth/pre-completion.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.00791 |
| Opus 5 | $0.00031 | $0.00396 |
| Sonnet 5 | $0.00012 | $0.00158 |
| Haiku 4.5 | $0.00006 | $0.00079 |
Grade A, and why
pre-completion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: pre-completion
Load this skill when all implementation steps are complete and the final deterministic checks have passed. Follow these steps in order before moving to "Summarize" and "Write stage notes."
Step 1: Gather context
Run from the repo root:
BASE=$(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD)
git diff --name-only $BASE..HEAD
When the last tag predates unrelated already-landed work (this repo batches releases — refactor:/test:/build: commits don't tag), $BASE..HEAD over-scopes to sibling issues' shipped files.
Scope to the issue's own commits instead — anchor on the plan commit (docs: plan … (#N)): git diff --name-only <plan-commit>^..HEAD.
Note:
- The list of modified files.
- The issue number (from the plan frontmatter
issue:field or the plan filename patternNNNN-). - The plan file path (
docs/plans/NNNN-*.mdmatching the issue number; may be absent for unplanned work).
Step 2: Dispatch the reviewer
Dispatch the pre-completion-reviewer subagent via the subagent tool:
subagent_type:"pre-completion-reviewer"description:"Pre-completion review for issue #N"prompt: include the issue number, the modified-files list from Step 1, and the plan file path.
Example prompt to pass:
Review issue #46.
Plan file: docs/plans/0046-background-agent-coverage-gap.md
Modified files since last tag:
.pi/agents/pre-completion-reviewer.md
.pi/skills/pre-completion/SKILL.md
.pi/prompts/tdd-plan.md
src/oauth-transport.ts
AGENTS.md
Wait for the reviewer to complete and return its report before continuing.
Step 3: Handle the report
If you cannot read an explicit Overall: PASS|WARN|FAIL line, treat it as "report not captured" and re-dispatch per Step 2.
Do not proceed to "Summarize" on an uncaptured or banner-only result.
Overall: PASS
Proceed to the "Summarize" step in the template. Include the one-line verdict in the stage notes ("Pre-completion reviewer: PASS").
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 83 lines · 62 tokens per session scan A a4684a54dd36
pre-completion is a skill published in the GitHub repository gotgenes/pi-anthropic-auth (235 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 791 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
surf
Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.
fabric-spec
Starts a persistent Pi Fabric spec supervisor that audits the main session against a feature design spec and steers only when a requirement lacks verified evidence. Use for strict, unblocked spec compliance while the main agent keeps full freedom to orchestrate.
fabric-advisor
Starts a persistent Pi Fabric peer advisor that reviews the main agent at decision points and surfaces only concrete, material advice. Use for ambient correctness review without another extension.
prose-review
Review prose written for others (e.g., user-facing documentation, prompts for other LLMs, reports, plans, inline comments, docstrings) for local jargon leakage, orphaned references, missing grounding, and audience or genre mismatch. Always run on prose you produce or materially edit, except for routine conversational…
text-search
Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.
repoprompt-tool-guidance-refresh
Refresh RepoPrompt tool guidance when the CLI/MCP surface changes. Tracks RepoPrompt CE (rpce-cli, the maintained target) across versions, and can diff the frozen Classic CLI (rp-cli) against CE. Uses /.pi/agent/skills/repoprompt-tool-guidance-refresh/scripts/track-rp-version.sh to capture/diff --help and -l (tool…