plan-in-files

plan-in-files is a skill for Claude Code, Codex from OneWave-AI/claude-skills. It costs 77 tokens per session (789 once invoked), scanned A, original, MIT.

A file-based planning guide for work that spans several steps, files, or sessions. It keeps the goal, tasks, constraints, discoveries, and progress in a plan file in the repository.

In plain words
What is it for?
It helps organise refactors, migrations, and multi-file features, with checkable steps and verification commands.
Why use it?
A plan in chat can disappear after a crash, context reset, or handoff. A repository file gives the current state a durable source of truth.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps organise refactors, migrations, and multi-file features, with checkable steps and verification commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onewave-ai/claude-skills/plan-in-files
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 OneWave-AI/claude-skills --skill plan-in-files
Clone the repo
git clone --depth 1 https://github.com/OneWave-AI/claude-skills

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 plan-in-files

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/onewave-ai/claude-skills/plan-in-files"><img src="https://agentmods.dev/badge/skills/onewave-ai/claude-skills/plan-in-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 789 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 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.00077 $0.00789
Opus 5.5 $0.00031 $0.00316
Sonnet 5.5 $0.00015 $0.00158
Haiku 4.5 $0.00008 $0.00079

Measured 27d ago against content hash 2e2cb67218e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-in-files 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 27d 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.

plan-in-files/SKILL.md · 69 lines

How it starts

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

Plan in Files

A plan that lives in the conversation dies with the conversation. A plan that lives in a file survives a crash, a /clear, a laptop reboot, and a different person picking the work up on Monday.

Core Behavior

Before starting multi-step work, write the plan to disk. Update it as you go. The file is the source of truth about progress — not memory, not the chat.

Default location: PLAN.md at the repo root for one-off work, or docs/plans/<yyyy-mm-dd>-<topic>.md when the repo keeps plan history. Gitignore it or commit it — ask once, then follow the repo's convention.

Plan Shape

# <Task> — plan

**Goal:** <one sentence, in the user's words>
**Done when:** <the observable condition that ends this work>

## Constraints
- <the things that must stay true: no API break, no new deps, ships today>

## Steps
- [ ] 1. <action> — `path/to/file`
- [ ] 2. <action> — `path/to/file`
- [ ] 3. <action> — verify with `<command>`

## Notes
<discoveries, gotchas, things that turned out to be false>

## Log
- <date/time> — <what happened>

Each step is one action on a named file or a named command. "Refactor the auth layer" is not a step; "move verifyToken out of api/auth.ts into lib/token.ts and update the three imports" is.

Working the Plan

  1. Write it. Show it to the user before executing when the work is large or destructive.
  2. Do one step.
  3. Tick the box in the file, immediately. Not at the end — a crash between step three and the end loses everything.
  4. When reality disagrees with the plan, edit the plan. A plan you silently abandoned is worse than no plan.
  5. Append surprises to Notes as you hit them. That is where the next session's time savings live.

Rules

  • Never tick a box for work you have not verified. "Edited the file" is not "step done" if the step said the tests pass.
  • Never fake progress to make the plan look finished. An honest half-done plan is useful; a dishonest complete one is a trap.
  • Keep the plan under a page. A plan longer than the work is a symptom of avoiding the work.
  • If a step turns out to be five steps, split it in the file before continuing.
  • When work finishes, write one closing line in the Log and leave the file. It becomes the record of why the code looks the way it does.

Read the full file on GitHub · 69 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. 27d ago First seen · 69 lines · 77 tokens per session scan A 2e2cb67218e2

Subscribe to this mod's changes

plan-in-files is a skill published in the GitHub repository OneWave-AI/claude-skills (349 stars, last pushed 15d ago), licensed MIT. It adds 77 tokens to every session and 789 once invoked, about $0.0003 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-20.

Related

Other skills, from other repositories

stakeholder-communication

Communicate effectively with stakeholders across functions and seniority levels. Use this skill when writing status updates, preparing executive reviews, sharing technical decisions with non-technical audiences, managing up, communicating bad news, or designing the communication cadence for a project. Triggers on…

rampstackco/claude-skills · 103 tokens

analytics-strategy

Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy. Use this skill whenever the user wants to plan analytics, design dashboards, build event taxonomies, define KPIs, set up tracking, or audit existing measurement.…

rampstackco/claude-skills · 126 tokens

content-strategy

Develop a content strategy covering editorial positioning, content pillars, formats, calendar, governance, and topical authority planning. Use this skill whenever the user wants to plan a content program, define content pillars, build an editorial calendar, structure topic clusters, set up content governance, or align…

rampstackco/claude-skills · 120 tokens

incident-response

Manage active production incidents through detection, triage, mitigation, communication, and resolution with structured roles and decision-making. Use this skill whenever the user has an active incident, a production issue, a service outage, a security incident, or needs to plan incident response procedures. Triggers…

rampstackco/claude-skills · 117 tokens

agb-begriff-vorformuliert-305

Für AGB Begriff Vorformuliert 305: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: agb-begriff-vorformuliert-305.

Klotzkette/claude-fuer-deutsches-recht · 68 tokens

agb-rechtswahl-schweizer-recht-rom-i

Für AGB Rechtswahl Schweizer Recht Rom I: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: agb-rechtswahl-schweizer-recht-rom-i.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens