Urgent.News

What's breaking now, across thousands of outlets.

Tech

Plan Mode Saves Your Plan Where Only One Agent Can Find It. Commit PLAN.md Instead

Book: RAG Pocket Guide The series: Pocket Guides for Developers — 8 short books on agents, RAG, prompts, observability, events, databases and system design — the whole series My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub Claude Code already writes your plan to a file. Its docs put that file in ~/.claude/plans/…

In the world of AI coding tools, plans are often stored in a default location that is only accessible to the specific agent that created them. This can make it difficult for other agents to review and build upon the work done by the original agent. However, there is a solution that ensures the plan is accessible to all involved parties.

Claude Code, a popular AI coding tool, allows users to enter plan mode by using the Shift+Tab or /plan command. In this mode, Claude Code writes the plan to a file named plan.md in a specified directory. By default, the plan is saved in ~/.claude/plans/, but users can customize this location by setting the plansDirectory setting in the .claude/settings.json file.

The contents of the plan.md file include the plan itself, a status showing the progress of the plan, a goal or objective, a list of steps to complete the plan, any decisions made during the planning process, and a section called Done when, which specifies when the plan is considered complete.

After approving the plan in plan mode, users are encouraged to commit the PLAN.md file to the repository along with the initial code changes. This ensures that the plan is a part of the version-controlled history, allowing reviewers to see how the plan evolved as the agent learned more about the task at hand. By committing the plan file, users enable multiple agents to pick up where the original agent left off, regardless of which AI coding tool they are using.

To promote a standardized approach across different AI coding agents, users can create an AGENTS.md file that contains guidelines for handling plans. For example, AGENTS.md can instruct agents to read PLAN.md before making any code changes, to tick off steps in the plan when completed, and to document any changes made to the plan in the Decisions section.

By adopting this approach, the plan becomes an integral part of the development workflow, ensuring that all agents involved in the project have access to the same information and can collaborate effectively. This not only improves the review process but also enhances the overall quality and maintainability of the codebase.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

My Mermaid renderer taught me that headless Chrome is a 300MB tax on every deploy

I needed flowcharts and sequence diagrams as images inside an agent pipeline — the kind of thing you sketch in Mermaid because nobody wants to draw boxes by hand.

  • Headless Chrome added 300MB to container size, causing slow cold starts and OOM-killed workers
  • Developer replaced headless Chrome with Mermaid endpoint, eliminating browser tax on deployments

Flutter ZIP-Code Autofill That Just Works

I built ZIP-code autofill into AI US Citizenship Test 2026 , a Flutter app that helps green card holders prepare for the naturalization interview with an AI tutor, realistic N-400 mock interviews, and…

  • ZIP-code autofill speeds up naturalization interview forms
  • Validate input with regex for 5-digit and ZIP+4 formats
  • Debounce API calls every 500ms to prevent wasted requests

More from Wednesday 4 November →