planning-with-files
WorkflowFreeClaude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.
Capabilities13 decomposed
persistent-markdown-working-memory-system
Medium confidenceImplements a three-file markdown-based external memory system (task_plan.md, findings.md, progress.md) that persists across AI agent context window resets and session boundaries. The system treats the filesystem as non-volatile disk storage analogous to RAM, automatically serializing agent state, decisions, and discoveries to markdown files that survive /clear commands and context loss. Each file serves a distinct purpose: task_plan.md tracks phases and decisions, findings.md captures research and technical decisions, progress.md logs session history and test results.
Uses filesystem-as-disk pattern inspired by Manus AI ($2B Meta acquisition) to solve context window volatility by treating three markdown files as persistent external working memory that survives agent session resets, context clears, and token limit exhaustion — a fundamental architectural shift from stateless to stateful agent design.
Unlike vector databases or RAG systems that require external infrastructure, this approach uses plain markdown files as the persistence layer, making it zero-dependency, fully auditable, and git-compatible while solving the core problem of volatile AI context that traditional memory systems don't address.
three-file-schema-based-state-tracking
Medium confidenceEnforces a structured markdown schema across three files with specific sections and update frequencies: task_plan.md tracks phases, decisions, and error logs (updated after phase completion); findings.md captures research discoveries and technical decisions (updated every 2 view/browser operations); progress.md logs session history and test results (updated throughout session). Each file has a defined structure with headers, status indicators, and timestamp tracking, creating a queryable state representation that agents can read before deciding on next actions.
Defines a three-file markdown schema with specific update frequencies and section structures (task_plan.md phases, findings.md discoveries, progress.md logs) that creates a queryable state representation agents can read before deciding, rather than relying on implicit context or unstructured notes.
More structured than free-form notes but simpler than database schemas, making it human-readable, git-diffable, and agent-queryable without requiring external infrastructure or complex parsing logic.
phase-based-task-decomposition-and-tracking
Medium confidenceDecomposes complex tasks into explicit phases tracked in task_plan.md with status indicators (not-started, in-progress, complete, blocked). Each phase has a clear objective, success criteria, and dependencies on prior phases. The system uses phase boundaries to scope context windows, create git checkpoints, and trigger state updates. Agents read the current phase from task_plan.md before deciding on actions, ensuring work stays focused on the current phase rather than drifting across multiple objectives. Phase completion triggers automatic updates to task_plan.md and can trigger git commits, creating explicit checkpoints in the project history.
Treats phase-based decomposition as a first-class pattern with explicit status tracking in task_plan.md, using phase boundaries to scope context windows, create git checkpoints, and trigger state updates — making task structure explicit and queryable rather than implicit in agent context.
Unlike implicit task decomposition in agent prompts which is lost on context reset, this approach makes phases explicit in markdown files with status tracking, enabling agents to understand task structure and current progress even after session interruptions or context resets.
findings-discovery-and-technical-decision-logging
Medium confidenceMaintains findings.md as a searchable reference of research discoveries, technical decisions, and their rationale. Agents update findings.md after every 2 view/browser operations or significant discoveries, recording: what was discovered, why it matters, what decision was made, and what alternatives were considered. This creates a queryable knowledge base that agents can reference before making similar decisions, avoiding redundant research and enabling consistent decision-making across sessions. Findings are organized by topic or decision category, making them searchable without requiring full file reads. The pattern enables agents to build institutional knowledge that persists across sessions and can be shared with other agents.
Treats findings.md as a queryable knowledge base of discoveries and decisions that agents can reference before making similar choices, enabling consistent decision-making and avoiding redundant research across sessions — making institutional knowledge explicit and persistent.
Unlike context-based knowledge which is lost on context reset, findings.md provides persistent, searchable reference of discoveries and decisions that agents can query without re-running research, enabling knowledge accumulation and sharing across sessions and agents.
progress-logging-and-session-history-tracking
Medium confidenceMaintains progress.md as a session log that records all actions taken, test results, and session history throughout the agent's work. Entries are timestamped and include: what action was taken, what the result was, what was learned, and what comes next. Progress.md grows throughout the session and serves as a detailed audit trail of everything the agent did. Unlike task_plan.md (which tracks phases) and findings.md (which tracks discoveries), progress.md tracks the moment-by-moment execution history. This enables agents to review what was attempted in prior sessions, understand why certain approaches were taken, and avoid repeating failed attempts.
Maintains progress.md as a detailed, timestamped execution log that records every action, result, and learning throughout the session, creating a complete audit trail that enables agents to understand prior session context and avoid repeating failed attempts — treating execution history as a first-class artifact.
Unlike generic logs which are often discarded or archived, progress.md is a persistent, queryable record that agents can reference to understand prior session context and execution history, enabling learning from past attempts and detailed debugging of agent behavior.
read-before-decide-workflow-pattern
Medium confidenceImplements a critical workflow pattern where agents must read the three markdown files (task_plan.md, findings.md, progress.md) before making decisions or taking actions. This pattern breaks the stateless agent loop by forcing agents to check current state, previous decisions, and error history before proceeding. The pattern is enforced through hook system automation and critical rules that prevent agents from acting without first consulting the persistent state files, creating a synchronous decision-making loop tied to filesystem state.
Enforces a synchronous read-before-decide loop where agents must consult persistent markdown state files before taking actions, breaking the stateless agent pattern by making every decision dependent on querying the filesystem state rather than relying on volatile context window memory.
Unlike prompt-based context injection which loses state on context reset, this pattern makes state queries mandatory and persistent, ensuring agents always have access to the latest findings and decisions regardless of context window size or session boundaries.
session-recovery-and-context-restoration
Medium confidenceEnables agents to recover from context window resets, /clear commands, or session interruptions by reading the three markdown files to reconstruct the prior session state. When a session resumes, the agent reads task_plan.md to identify the last completed phase, findings.md to understand prior discoveries and decisions, and progress.md to review session history and test results. This restoration process reconstructs the agent's understanding of project state without re-running prior work, allowing seamless continuation from the last known checkpoint.
Treats markdown files as persistent checkpoints that survive context window resets, enabling agents to reconstruct full project state from disk without re-running prior work — a fundamental shift from stateless to stateful agent design that makes context window exhaustion recoverable rather than fatal.
Unlike traditional RAG or vector database recovery which requires external infrastructure and loses fine-grained decision context, this approach uses plain markdown files as checkpoints, making recovery deterministic, auditable, and git-compatible while preserving full decision history.
git-checkpoint-workflow-integration
Medium confidenceIntegrates git commits as explicit checkpoints in the agent workflow, allowing agents to create git snapshots after completing phases or achieving milestones. The workflow uses git commits to mark stable states in the three markdown files and project code, enabling rollback to prior states if errors are discovered. Agents can reference git commit hashes in task_plan.md and progress.md, creating a version-controlled audit trail of state changes. This pattern combines filesystem persistence with git's version control, providing both recovery and history tracking.
Combines filesystem-based markdown persistence with git version control, using git commits as explicit checkpoints that mark stable states in both code and agent state files, enabling rollback and audit trails that neither filesystem persistence nor git alone provides.
Stronger than markdown-only persistence because git provides immutable history and rollback capability; stronger than git-only because markdown files provide human-readable state snapshots that survive git operations and enable agent state recovery without code changes.
hook-system-and-automation-triggers
Medium confidenceImplements a hook system that automatically triggers actions at specific points in the agent workflow, such as after phase completion, before tool execution, or on error conditions. Hooks can enforce critical rules (e.g., read-before-decide), update markdown files automatically, or trigger git commits. The system uses event-based triggers tied to agent actions, allowing automation of repetitive state management tasks without requiring explicit agent instructions. Hooks are defined in configuration and executed by the agent platform (Claude Code, Cursor, Continue) when conditions are met.
Implements event-driven automation hooks that trigger state management actions (markdown updates, git commits, rule enforcement) at specific workflow points, automating the repetitive aspects of persistent state management without requiring explicit agent instructions for every state update.
Unlike manual state management which is error-prone and requires explicit agent instructions, hooks automate state updates and rule enforcement at the platform level, ensuring consistency and preventing agents from skipping critical state management steps.
manus-principles-based-agent-loop-architecture
Medium confidenceImplements the six Manus principles that define the agent loop architecture: (1) persistent external memory via markdown files, (2) read-before-decide pattern, (3) phase-based task decomposition, (4) error tracking and recovery, (5) context engineering for KV-cache optimization, and (6) session management with checkpoints. These principles work together to create a stateful agent loop where each iteration reads state, makes decisions informed by prior discoveries, executes actions, logs results, and updates persistent state. The architecture treats the agent as a state machine with explicit transitions between phases rather than a stateless function.
Codifies the six Manus principles (persistent memory, read-before-decide, phase decomposition, error tracking, context engineering, session management) into a complete agent loop architecture that transforms stateless agents into stateful, reliable systems — the pattern behind Meta's $2B Manus acquisition.
Unlike generic agent frameworks that treat agents as stateless functions, Manus principles provide a proven architecture for stateful agents with explicit state management, error recovery, and context optimization that has demonstrated $2B-scale value in production systems.
context-engineering-and-kv-cache-optimization
Medium confidenceImplements context engineering strategies to optimize token usage and KV-cache efficiency in agent loops. The system uses phase-based decomposition to keep context windows focused on current phase, reads only relevant sections of markdown files to minimize token consumption, and structures prompts to maximize KV-cache reuse across multiple agent turns. Context engineering includes strategies like: keeping task_plan.md concise by archiving completed phases, using findings.md as a searchable reference to avoid re-reading full progress logs, and structuring progress.md with clear section boundaries for efficient parsing. These strategies reduce token consumption and improve response latency by optimizing what context is loaded into the KV-cache.
Applies context engineering strategies specifically designed for persistent agent loops, using phase-based decomposition and selective file reads to optimize KV-cache reuse and token consumption — addressing the unique efficiency challenges of stateful agents that maintain persistent state across many turns.
Unlike generic context optimization which treats all context equally, this approach uses phase-based scoping and markdown file structure to selectively load only relevant context, reducing token burn while maintaining full state accessibility for recovery and audit purposes.
platform-specific-agent-skill-integration
Medium confidenceProvides platform-specific implementations of the planning-with-files pattern for Claude Code, Cursor, Continue IDEs, Kilocode, and other agent platforms. Each platform has specific integration points: Claude Code uses .claude-plugin/plugin.json for skill configuration, Cursor and Continue use similar plugin systems, Kilocode uses its own skill registry. The system provides helper scripts and configuration templates for each platform, enabling agents to use the three-file pattern without reimplementing core logic. Platform-specific guides document how to initialize the skill, configure hooks, and adapt the pattern to platform constraints.
Provides platform-specific implementations of the planning-with-files pattern for Claude Code, Cursor, Continue, and Kilocode, with configuration templates and helper scripts for each platform, enabling the pattern to work across heterogeneous agent ecosystems without reimplementation.
Unlike generic agent patterns that require custom implementation per platform, this approach provides ready-made integrations for major platforms, reducing setup time and ensuring consistency across Claude Code, Cursor, Continue, and other agent tools.
error-recovery-and-failure-tracking-pattern
Medium confidenceImplements a structured error recovery pattern where agents log failures in task_plan.md error logs, analyze root causes in findings.md, and document recovery strategies in progress.md. When an error occurs, the agent records: what failed, why it failed, what was attempted, and what recovery strategy was used. This creates a queryable error history that agents can reference before attempting similar actions, preventing repeated failures. The pattern includes anti-patterns documentation that identifies common failure modes (e.g., reading findings.md without acting on it, skipping error log checks) and provides recovery strategies for each.
Structures error recovery as a first-class pattern with dedicated sections in markdown files for error logs, root cause analysis, and recovery strategies, enabling agents to query failure history and prevent repeated mistakes — treating error recovery as a core agent capability rather than an afterthought.
Unlike generic error handling which logs errors but doesn't enable learning, this pattern creates a queryable error history that agents can reference before attempting similar actions, enabling systematic error prevention rather than reactive error handling.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with planning-with-files, ranked by overlap. Discovered automatically through the match graph.
ralph-claude-code
Autonomous AI development loop for Claude Code with intelligent exit detection
Yourgoal
Swift implementation of BabyAGI
atlas-session-lifecycle
Session lifecycle management for Claude Code — persistent memory, soul purpose, reconcile, harvest, archive
TradingAgents
TradingAgents: Multi-Agents LLM Financial Trading Framework
flow-next
Plan-first AI workflow plugin for Claude Code, OpenAI Codex, and Factory Droid. Zero-dep task tracking, worker subagents, Ralph autonomous mode, cross-model reviews.
NBLM2PPTX
Convert NotebookLM PDFs to PPTX with separated background images and editable text layers using Gemini AI
Best For
- ✓AI agent developers building persistent coding assistants
- ✓Teams implementing Manus-style agentic workflows
- ✓Projects requiring multi-session context preservation across Claude Code, Cursor, or Continue IDEs
- ✓Complex tasks with 50+ steps where context window volatility causes failure
- ✓Teams standardizing on Manus-style agent workflows across multiple projects
- ✓Projects requiring audit trails of agent decisions for compliance or debugging
- ✓Multi-agent systems where agents need to coordinate via shared markdown state
- ✓Long-running projects (100+ steps) where state fragmentation causes failures
Known Limitations
- ⚠Requires manual file initialization and adherence to markdown schema — no automatic schema validation
- ⚠Markdown parsing is text-based; no structured query interface for findings or progress logs
- ⚠File size grows unbounded with session history; no built-in archival or log rotation
- ⚠Depends on agent discipline to read files before deciding — no enforcement mechanism
- ⚠Git checkpoint workflow requires manual commit discipline; no automatic state snapshots
- ⚠Schema is convention-based, not enforced — agents can write malformed markdown
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Apr 21, 2026
About
Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.
Categories
Alternatives to planning-with-files
Are you the builder of planning-with-files?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →