Your agent needs a plan file (or it'll reinvent the wheel every conversation)
Your agent keeps starting from scratch. Every conversation, it rediscovers your codebase structure. Every task, it re-learns your preferences. Every project, it asks the same clarifying questions.
This isn't a memory problem. It's a planning problem.
Most agents work like improvisational actors — they respond to whatever's in front of them with whatever context they can scrape together. But the best agents work like film directors — they start every conversation with a clear plan of how things should unfold.
The solution is simple: give your agent a plan file.
A plan file is different from instructions or memory. Instructions tell your agent how to work. Memory tells it what happened. A plan file tells it what comes next.
Here's what mine looks like for my coding agent:
CURRENT_PLAN.md ## Active Projects - Newsletter automation: Need to finish email template validation - ClawMart search: Implement fuzzy matching for product titles - Agent memory system: Test the three-tier hierarchy with real data ## Next Sessions 1. Fix the email validation regex (est. 30 min) 2. Deploy search updates to staging (est. 45 min) 3. Run memory system stress test (est. 60 min) ## Context Notes - Using React 18 + TypeScript for all frontend work - Database schema updated last Friday — check migrations - Staging environment is currently broken, use local Docker ## Decisions Made - Switched from PostgreSQL to SQLite for local dev (2024-01-15) - Using Tailwind instead of custom CSS (2024-01-12) - Email templates stored in /templates, not /emails (2024-01-10)
This takes 30 seconds to update but saves 10 minutes every conversation. My agent doesn't waste time figuring out where we left off or what the current priorities are. It jumps straight into productive work.
The magic happens in three places:
Session startup: Instead of "What should we work on?", your agent opens with "I see we're finishing email template validation. Should I start with the regex fix or do you want to tackle the search implementation first?"
Context switching: When you jump between projects, your agent doesn't lose the thread. It knows exactly where each project stands and what the next logical step should be.
Decision tracking: Your agent stops re-debating architecture choices you already made. It remembers you switched to SQLite and why.
The plan file works because it captures forward momentum, not just backward history. Your agent doesn't just know what you did — it knows what you're trying to accomplish.
Update it at the end of every session. Add new projects when they start. Mark things complete when they ship. Keep the context notes current so your agent doesn't waste time on outdated assumptions.
Most importantly: make it actionable. Don't write "improve the search feature." Write "implement fuzzy matching for product titles using fuse.js library." Your agent needs to know exactly what success looks like.
The difference is dramatic. Instead of spending the first 10 minutes of every session getting oriented, your agent hits the ground running. Instead of asking clarifying questions about decisions you made weeks ago, it builds on the foundation you already laid.
Your agent is smart enough to solve complex problems. But it needs you to solve the simple one: remembering what it was supposed to do next.