Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Parcha-ai/parcha-skills --skill precapgit clone --depth 1 https://github.com/Parcha-ai/parcha-skillsWrote 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/parcha-ai/parcha-skills/precap)<a href="https://agentmods.dev/skills/parcha-ai/parcha-skills/precap"><img src="https://agentmods.dev/badge/skills/parcha-ai/parcha-skills/precap/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/parcha-ai/parcha-skills/precap"><img src="https://agentmods.dev/badge/skills/parcha-ai/parcha-skills/precap.svg" alt="Reviewed on agentmods" width="80" 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.00166 | $0.02965 |
| Opus 5.5 | $0.00066 | $0.01186 |
| Sonnet 5.5 | $0.00033 | $0.00593 |
| Haiku 4.5 | $0.00017 | $0.00297 |
Grade A, and why
precap 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 1mo 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/precap — the recap written before the work
A precap is a recap from the future. You imagine the task is completely done, then write the account of the work it took and the end result, in past tense, as concretely as a real recap. Long-running agents lose the thread: context compacts, subtasks multiply, a detour starts to look like the task. A precap gives your future self a fixed reference to compare against. It does not predict the future; it records the imagined path, concretely enough that leaving it is detectable and revising it is explicit.
The difference between a precap and an educated guess is investigation. Every step in the path must point at something real in the repo, plan, or history. A step with no grounding is a hope.
Modes
- write (default): no
precap.mdfor this task yet. Investigate, imagine, write, validate. - check: a precap exists and work is under way. Compare reality against it and report.
- revise: reality diverged. Amend the precap without erasing what was imagined.
If precap.md already exists in the working directory and the user did not say which mode,
read it first and default to check. Overwriting a live precap loses the drift history that
makes it useful.
Phase 0 — Anchor the task
Establish what "done" means before imagining how it got done.
- Capture the task statement verbatim: the user's words, the plan file, the issue, the PR description. It goes into the precap unedited so a later reader can see whether the interpretation drifted from the ask.
- Read any plan that already exists: a plan-mode file,
.cascade/<project>.md, a design or RDD doc, a Linear ticket. The precap sits downstream of the plan and must not contradict it silently. Where it does, say so. - Note the working directory, branch, and base. Run
git status --shortandgit log --oneline -10. A dirty tree or a branch already carrying commits changes the story: part of the imagined path may already have happened. - Decide the scope questions that are the user's to make. If the task forks on something only
they can settle (which API to keep, whether to migrate data, whether to touch a shared
contract), use
AskUserQuestionnow with concrete options. Do not write a fork as decided when it is not. In Codex, use the equivalent structured user-input tool when available. When no user is reachable (a headless run, a cascade worker, a scheduled job), do not block: follow the branch that changes the least, write the fork withDecided by: the user (undecided), and add a Drift signal that fires if the run starts acting on the other branch.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 207 lines · 166 tokens per session scan A 07b3363080de
precap is a skill published in the GitHub repository Parcha-ai/parcha-skills (126 stars, last pushed 15d ago), licensed MIT. It adds 166 tokens to every session and 2,965 once invoked, about $0.0007 per session on Opus 5.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-09-09.
precap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| precapParcha-ai/parcha-skills | Skill | 126 | 15d ago | MIT | A | 166 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 134k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | today | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | today | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 314k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 103 | Claude Code |