SkillInstalls cleanly

Save the plan of long tasks

Planning with Files

A skill that saves the plan, findings and progress of a long task in plain files, so the agent does not lose its place when the chat gets long.

Works with
Claude Code, Codex CLI, Gemini CLI
Good for
Everyone, Daily work and research, Build an app

What it does

Planning with Files is a skill. A skill is a set of written instructions that your assistant follows. This skill tells the assistant to keep its plan in files on disk instead of only in its memory.

The skill uses three plain text files in your project folder. task_plan.md holds the phases and checkboxes. It is the point where work resumes. findings.md holds research notes and decisions. progress.md holds a log of the session and test results. You can open and edit all three files.

A long chat can fill the assistant's context window. The context window is the amount of text the assistant can hold in mind at one time. When it fills up, or when you run /clear, the assistant can lose the plan. With this skill, the plan stays on disk. The assistant reads the files and continues at the current phase.

The skill can also use hooks. A hook is a small script that runs at a set moment in a session. The README says hooks put plan context back in front of the assistant on each turn. They can also stop the assistant from finishing before the plan reports complete. Which hooks you get depends on how you install it.

Who it is for

You run long tasks with an assistant, for example a website build or a research project. You are tired of the assistant forgetting the plan after a long chat or a restart. You also want a plan that you can read and correct.

Example prompts

  • "Use planning-with-files to plan a landing page for my bakery."
  • "Continue the task from the plan files."
  • "Update the plan. We decided to drop the newsletter feature."
  • "What have we finished so far, according to the progress file?"

How to install

npx skills add OthmanAdi/planning-with-files --skill planning-with-files -g
/plugin marketplace add OthmanAdi/planning-with-files
/plugin install planning-with-files@planning-with-files

How to use it

Start a big task and ask the agent to plan with files. It writes task_plan.md, findings.md and progress.md in your project folder and updates them as it works. Open those files at any time to see where the work stands.

Other assistants

The npx skills add command in the install list works for many assistants. For Gemini CLI, the project guide gives a direct command. It needs Gemini CLI v0.23 or later, with Agent Skills turned on:

gemini skills install https://github.com/OthmanAdi/planning-with-files --path .agents/skills/planning-with-files

For Codex CLI, the project guide shows a manual copy. It copies the skill to ~/.agents/skills/ and the hook files to ~/.codex/hooks/. Read docs/codex.md in the repository before you copy the files.

Check it works

Start a task that has three or more steps. Ask the assistant to use planning-with-files. The file task_plan.md must appear in your project folder. The README says the assistant creates findings.md and progress.md too. In Claude Code, the /skills menu must list the skill. The repository also has a health check script, scripts/plan-doctor.sh.

Common problems

  • The skill does not start by itself: The README says skills start by chance. In its own test, the skill started 60 to 67 percent of the time without a push. Add one line to your CLAUDE.md file: "When a task needs 3+ steps or 5+ tool calls, invoke the planning-with-files skill first and keep task_plan.md current." Or ask for the skill by name.
  • The hooks do not run: The README lists two causes. A project-level install only works after you accept the project trust dialog. A skill installed with npx registers its hooks only after the assistant uses the skill. For hooks from the first minute, use the plugin route.
  • Gemini CLI does not see the skill: The project guide says to turn on Agent Skills. Set "experimental": {"skills": true} in ~/.gemini/settings.json.
  • Codex hooks do not run: Codex must trust new hooks. Review them in /hooks. Check that [features] hooks = false is not set.

What to watch out for

  • It writes three Markdown files into your project folder. Add them to .gitignore if you do not want them saved with your code.
  • The plugin version also installs hooks, which are small scripts that run at set moments in a session. Read hooks/hooks.json before you enable it.

Licence and author

Licence
MIT
Author
Ahmad Othman Ammar Adi
Source code
github.com/OthmanAdi/planning-with-files

How we tested it

We installed it on an empty test computer on 12 Oct 2026. Installed and started in a clean test system. Not yet used in a real AI session.

Test level

We did not run a real task with it. We did not test the npx install or the language variants beyond the file check.

Technical details of the test
Date
12 Oct 2026
Method
Installed the plugin with the Claude Code command line in a clean container with no account. The plugin showed as enabled, and the folder held 18 skills and 4 hook files. All skill files have a name and a description. The hooks did not run, because no session was started.

Checked again on 12 Oct 2026

Alternatives

  • claude-mem: Remembers facts across sessions on its own. This skill keeps an open plan that you can read.
  • Superpowers: A wider set of work-method skills. Planning is one part of it.

FAQ

Where do the files go? They go in your project folder. For parallel tasks, the skill uses .planning/<date>-<name>/ folders with the same three files.

Can I delete the files when the task ends? Yes. The README calls them working memory. Keep anything you need in your code, a commit or a document.

Is it the same as plan mode? No. The README says they work together. Plan mode designs and approves the approach. This skill saves the live state of the work.

Is it free? Yes. It uses the MIT licence.

Sources