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 serbanghita/plan-critique-skills --skill archivegit clone --depth 1 https://github.com/serbanghita/plan-critique-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/serbanghita/plan-critique-skills/archive)<a href="https://agentmods.dev/skills/serbanghita/plan-critique-skills/archive"><img src="https://agentmods.dev/badge/skills/serbanghita/plan-critique-skills/archive/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/serbanghita/plan-critique-skills/archive"><img src="https://agentmods.dev/badge/skills/serbanghita/plan-critique-skills/archive.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.00009 | $0.00978 |
| Opus 5 | $0.00005 | $0.00489 |
| Sonnet 5 | $0.00002 | $0.00196 |
| Haiku 4.5 | $0.00001 | $0.00098 |
Grade A, and why
archive 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 4d 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.
This is a copy
98% identical to plan-archive — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
You are archiving the user's completed (or abandoned) plan for future reference.
To do this, follow these steps precisely:
- Read
.claude/plan-critique-config.jsonand getplansFolderpath from settings. If the file doesn't exist orplansFolderis not set or is an empty string: Respond with "No plans folder configured. Run/plan:createfirst to set up." - Get the Claude Code process ID by running:
echo $PPID. Store this assessionPID. - Clean up stale sessions: Scan
[plansFolder]/.sessions/for files. For each file named with a PID, check if that process is still running viakill -0 [PID] 2>/dev/null. If the command fails (process not running), delete that session file. This is non-blocking cleanup. - Read the current session's plan from
[plansFolder]/.sessions/[sessionPID]if it exists. Store assessionPlan. - Scan
[plansFolder]/for subdirectories (each subdirectory is a plan). Excludearchived/and.sessions/folders and any files, only list plan directories. If no plan folders exist: Respond with "No plans found. Nothing to archive." - Select the plan to archive:
- If
sessionPlanexists and matches a plan folder, auto-select it. Inform the user: "Using current session plan: [sessionPlan]" - Else if only one plan exists, auto-select it and inform user.
- Otherwise, ask the user to select a plan from the list.
Example:
Available plans: 1. add-user-authentication 2. refactor-database-layer 3. implement-caching Which plan would you like to archive? [1-3]
- If
- Check prerequisites. If
[plansFolder]/[selected-plan]/plan.mddoes not exist or is empty: Respond with "Nothing to archive. Plan file is missing or empty." - Ensure
[plansFolder]/archived/exists, create it if not. - Extract metadata:
- Read
plan.mdto get the plan title (first H1 heading). If no title, use folder name. - Read
critique.mdto get keywords (if available) - Read
execution-log.mdto get execution status (if available)
- Read
- Generate archive folder name using format:
YYYY-MM-DD_HH-MM-SS_[slug]/Example:2026-01-12_14-30-00_add-user-authentication/ - Create the archive folder at
[plansFolder]/archived/[folder-name]/ - Copy contents from
[plansFolder]/[selected-plan]/to the archive:- Include:
plan.md,execution-log.md(if exists), all other files (SQL, images, etc.) - Exclude:
critique.md,execution-state.json
- Include:
- Create
archive-info.mdin the archive folder using the format in archive-info-format.md. - Delete the original plan folder
[plansFolder]/[selected-plan]/entirely. - Clean up session references to the archived plan:
- Delete
[plansFolder]/.sessions/[sessionPID]if it contains the archived plan slug. - Scan all other session files and delete any that reference the archived plan (handles stale references).
- Delete
- Respond with confirmation:
Plan archived to: [plansFolder]/archived/[folder-name]/ The original plan folder has been removed. Create a new plan with `/plan:create`.
Notes:
- Never include critique.md in the archive (only keywords are preserved in archive-info.md)
- Always include the full original plan and all supporting files
- Include execution log only if the plan was executed
- Use current timestamp for the archive folder name
- Preserve the original file structure within the archived folder
- Always delete the original plan folder after archiving
- It is valid to archive a plan that was never executed (abandoned, reference, or superseded plans).
In this case, the execution status will be
NOT_EXECUTED.
What ships with it
1 file 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.
- 4d ago Changed · +2 lines ca724c5eff44
- 12d ago First seen · 73 lines · 9 tokens per session scan A 641ba5b055e4
archive is a skill published in the GitHub repository serbanghita/plan-critique-skills (13 stars, last pushed 4d ago), licensed MIT. It adds 9 tokens to every session and 978 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to plan-archive, differing in 10 lines, and is treated as a copy.
Other skills, from other repositories
review-responder
Use when receiving feedback on code you implemented, responding to reviewer comments, deciding which review suggestions to implement, or pushing back on incorrect review feedback.
pr-sweep
Use when you want to sweep all open pull requests across all repos, triage their status, run code reviews on unreviewed PRs, merge what's ready, fix quick blockers, and produce a full status report. Trigger when the user says "check my PRs", "close out open PRs", "what's the status of my PRs", "sweep my PRs", "PR…
rubber-ducky
Use when you've planned a non-trivial change and are about to implement it, finished a complex or multi-file piece of work, just wrote tests, or are stuck on repeated failures — and any time the user says "rubber duck this", "rubber ducky", "get a second opinion", "sanity-check my plan", "poke holes in this", "what am…
open-pr
Use when wrapping up a development task and getting a PR ready — runs local tests, creates a PR (if one doesn't exist) with a structured description template, conducts a code review via the review skill, and checks CI status with quick fixes. Trigger when the user says they're done with a feature, want to open a PR…
review
Use when user invokes /review to review code changes. Also triggers on "review my code", "check this PR", "look at my changes". Accepts a PR number (e.g. /review 123), a path filter (e.g. /review src/auth/), or no argument (reviews current branch vs base). Produces structured per-file review with severity labels…
code-reviewer
Use when reviewing pull requests, analyzing code quality, identifying issues, or generating review checklists. Covers TypeScript, JavaScript, Python, Go, Swift, and Kotlin.