planrefine

planrefine is a skill for Claude Code from ahundt/autorun. It costs 63 tokens per session (4,178 once invoked), scanned A, original, no licence file.

A tool for critically checking a development plan against the actual code and keeping a record of proposed changes. It repeats the review until a full pass finds no important new issue.

In plain words
What is it for?
Use it to review and improve an existing software plan.
Why use it?
It helps expose gaps, incorrect assumptions, and missing work before implementation begins.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the autorun plugin — 19 skills, 57 commands, 2 agents, 8 hooks, 1 plugin shipped together

Good fit Use it to review and improve an existing software plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahundt/autorun/planrefine
Install

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.

Any agent
npx skills add ahundt/autorun --skill planrefine
Clone the repo
git clone --depth 1 https://github.com/ahundt/autorun

Made for: Claude Code.

Or install autorun, the plugin that ships this one along with the rest of its 19 skills, 57 commands, 2 agents, 8 hooks, 1 plugin.

Wrote 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.

agentmods badge for planrefine

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahundt/autorun/planrefine.svg)](https://agentmods.dev/skills/ahundt/autorun/planrefine)
Your own site
<a href="https://agentmods.dev/skills/ahundt/autorun/planrefine"><img src="https://agentmods.dev/badge/skills/ahundt/autorun/planrefine.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.04178
Opus 5 $0.00032 $0.02089
Sonnet 5 $0.00013 $0.00836
Haiku 4.5 $0.00006 $0.00418

Measured 4d ago against content hash 70ef6eaf5528, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

planrefine 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.

plugins/autorun/skills/planrefine/SKILL.md · 373 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

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.

  1. 4d ago First seen · 373 lines · 63 tokens per session scan A 70ef6eaf5528

Subscribe to this mod's changes

planrefine is a skill published in the GitHub repository ahundt/autorun (12 stars, last pushed 15d ago), with no licence file. It adds 63 tokens to every session and 4,178 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-09-03.

Related

Other skills, from other repositories

skill-audit

Audit codebases for quality, consistency, and broken patterns — use for pre-release or tech debt review.

nyldn/claude-octopus · 24 tokens

critical-code-reviewer

Rigorously review code or pull requests for correctness, security, accessibility, maintainability, tests, and edge cases. Use when users request a critical code review, want a guided walkthrough of findings, need implementer-facing feedback, or want to prepare, create, or submit a GitHub pull request review.

posit-dev/skills · 67 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

second-pass-review

Independent audit of sanitized specs in workspace/output/. Three parallel LLM-based reviewer roles check structural leakage, content contamination, and behavioral completeness. Run AFTER Layer 5 sanitization, BEFORE implementation handoff.

prime-radiant-inc/greenfield · 44 tokens

check-pr

Read-only inspection of a single GitHub PR lifecycle — checks CI, review threads, description sync, and mergeability, and returns PASS or FAIL with per-gate findings. Never invokes the merge button. Use when verifying a PR is ready to merge, polling lifecycle progress, checking mergeability, or babysitting a GitHub PR…

doodledood/manifest-dev · 74 tokens

codex-review

Get an independent code review from OpenAI Codex (GPT-5) on uncommitted changes, a branch diff, a PR, or a specific module — returns findings grouped by severity with file:line references. Use when the user says "review this", "review my changes", "check this PR", "what did I miss", or before they commit or merge…

Sateezg/codex-bridge · 78 tokens