planning-with-files

Track multi-step task progress using persistent markdown files.

2|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Clay-HHK/claude-config --skill planning-with-files-clay-hhk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: planning-with-files
Source: https://github.com/Clay-HHK/claude-config/tree/main/skills/planning-with-files
Command: npx skills add https://github.com/Clay-HHK/claude-config --skill planning-with-files-clay-hhk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Complex, multi-step tasks often exceed an agent's context window and become hard to track; this Skill solves that by treating the filesystem as persistent working memory so goals, progress, and errors are preserved and re-read as needed.

Core Features & Use Cases

  • Persistent three-file pattern: task_plan.md for phases and status, notes.md/findings.md for research and discoveries, and a deliverable file for final output.
  • Read-before-decide and update-after-act workflows that refresh goals into the model's attention window and log errors for robust recovery.
  • Helper scripts to initialize sessions, report progress, check completion, and catch up unsynced session context for research, feature development, bug fixes, and multi-step automation tasks.

Quick Start

Create task_plan.md, findings.md, and a deliverable file in the working directory, read task_plan.md before major decisions, and update it after each phase completes.

Frequently Asked Questions about planning-with-files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track multi-step task progress when the context window fills up?

Track multi-step task progress by using persistent markdown files as external working memory. You maintain a task_plan.md for phases, notes.md for findings, and a deliverable file, reading them before decisions and updating after actions to preserve goals and errors.

What is file-based memory for managing complex agent workflows?

File-based memory is a pattern that treats the filesystem as persistent storage for task plans, research notes, and deliverables. It enforces read-before-decide and update-after-act workflows, allowing agents to recover from errors and catch up on session context across many tool calls.

How do I set up persistent notes for multi-step feature development?

Set up persistent notes by creating task_plan.md, findings.md, and a deliverable file in your working directory. Use the provided helper scripts to initialize sessions, report progress, check completion, and catch up unsynced context for feature development and bug fixes.

Does this file-based planning approach work for research tasks requiring error logging?

Yes, file-based planning works for research tasks by maintaining findings.md for discoveries and logging errors within the markdown files. This allows robust recovery and periodic reads, ensuring progress and decisions are preserved across multiple tool calls.

When should I use markdown files for session management instead of other tools?

Use markdown files for session management when complex projects exceed your context window and require periodic reads, error logging, and session catchup. This approach suits multi-step automation tasks, feature development, and workflows needing persistent external memory.

Why does my agent lose track of goals during long automation tasks?

Agents lose track of goals during long automation tasks because context windows fill up. Use a persistent task_plan.md file to refresh goals into the model's attention window before major decisions, and update it after each phase completes to maintain progress.