refine-plan

refine-plan is a skill for Claude Code, Codex from tobihagemann/turbo. It costs 49 tokens per session (1,902 once invoked), scanned A, original, MIT.

A workflow for repeatedly reviewing and updating a written implementation plan. It applies accepted findings and continues until the review produces no further changes.

In plain words
What is it for?
Use it to refine a plan file, evaluate review findings, apply approved changes, and confirm the plan is ready.
Why use it?
It helps expose and resolve gaps in a plan before implementation, rather than relying on the first draft.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it to refine a plan file, evaluate review findings, apply approved changes, and confirm the plan is ready.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tobihagemann/turbo/refine-plan
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 tobihagemann/turbo --skill refine-plan
Clone the repo
git clone --depth 1 https://github.com/tobihagemann/turbo

Made for: Claude Code, Codex.

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 refine-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/tobihagemann/turbo/refine-plan/github.svg)](https://agentmods.dev/skills/tobihagemann/turbo/refine-plan)
Your own site
<a href="https://agentmods.dev/skills/tobihagemann/turbo/refine-plan"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/refine-plan/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.

agentmods 80×15 button for refine-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/tobihagemann/turbo/refine-plan"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/refine-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,902 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 12
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original 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.00049 $0.01902
Opus 5 $0.00024 $0.00951
Sonnet 5 $0.00010 $0.00380
Haiku 4.5 $0.00005 $0.00190

Measured 12d ago against content hash 251dc3c4d37c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

refine-plan 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 12d 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.

claude/skills/refine-plan/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Refine Plan

Loop the review pipeline over a plan until no new findings are accepted. Writes back to the plan file in place.

Task Tracking

At the start of every invocation (including re-runs from Step 5), use TaskCreate to create a task for each step:

  1. Resolve the plan
  2. Run /review-plan skill
  3. Run /evaluate-findings skill
  4. Run /apply-findings skill
  5. Re-run /refine-plan skill if changed

Step 1: Resolve the Plan

  1. Explicit path — use it
  2. Explicit slug — resolve to .turbo/plans/<slug>.md
  3. Single file — Glob .turbo/plans/*.md. If exactly one file exists, use it
  4. Most recent — most recently modified file
  5. Legacy fallback.turbo/plan.md if .turbo/plans/ does not exist
  6. Nothing found — tell the user to run /turboplan and stop

If multiple candidates exist and the choice is non-obvious, use AskUserQuestion.

State the resolved path before continuing.

Unless an explicit path or slug was passed, confirm the resolved plan still describes work that remains to be done. The signal is a frontmatter status: of done.

When the signal fires, output it as text. Then use AskUserQuestion to offer:

  • Refine anyway — the marker is stale
  • Pick another plan — resolve to a different file under .turbo/plans/, then confirm that plan against this same signal
  • Leave the plan alone — skip refining

On Leave the plan alone, mark the remaining refine steps deleted, then use the TaskList tool and proceed to any remaining task.

Step 2: Run /review-plan Skill

Run the /review-plan skill on the resolved plan.

Always run this step even if the plan looks polished.

Step 3: Run /evaluate-findings Skill

Run the /evaluate-findings skill on the review findings from Step 2.

Step 4: Run /apply-findings Skill

Run the /apply-findings skill on the evaluated results.

Step 5: Re-run /refine-plan Skill if Changed

Check whether the plan file was edited during Step 4. Any edit counts.

Read the full file on GitHub · 97 lines

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. 12d ago First seen · 97 lines · 49 tokens per session scan A 251dc3c4d37c

Subscribe to this mod's changes

refine-plan is a skill published in the GitHub repository tobihagemann/turbo (402 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 1,902 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

plan-ceo-review

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Originally from Garry Tan's gstack…

SZoloth/skill-pack · 90 tokens

master

Turn reference docs into active mastery through retrieval practice, case binding, and scenario simulation. Combines Skycak (learning science) and Chin (expertise acceleration) frameworks. Use when you want to deeply learn material, not just read it.

SZoloth/skill-pack · 50 tokens

upskilling-coach

Expert coach for learning, mastering, and upskilling in any domain. Use when the user wants to learn, master, improve, upskill, get better at, or get coached on any topic. Helps build consistent practice habits, identify prerequisites, design efficient learning loops, avoid common pitfalls, maintain discipline, and…

SZoloth/skill-pack · 90 tokens

agentic-review

Deep multi-agent code review for local changes. Inspired by AmpCode's agentic review. Use when you want comprehensive analysis of staged changes, unstaged changes, specific commits, or branch differences. Spawns parallel specialized agents (security, performance, patterns, architecture) and synthesizes actionable…

SZoloth/skill-pack · 71 tokens

qa

Full QA on all session changes using Codex as a second pair of eyes. Use when user says "QA", "full QA", "QA my changes", "QA all your changes", or "use codex to review". Runs git diff, sends changes to Codex for thorough review, and synthesizes findings.

SZoloth/skill-pack · 66 tokens

design-swarm

Orchestrate a team of 10 design agents for holistic UI audit, ideation, and implementation. Use when: "design swarm", "holistic audit", "design review with all lenses", "full design analysis". Modes: audit, ideate, implement (any combination). Targets: screenshots, URLs, file paths, or text briefs.

SZoloth/skill-pack · 74 tokens