no-plan-mode
Skill1 starsChanged 3 months agoMITView on GitHub
Prevent plan-mode stalls in autonomous hench agent runs
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- www/llms.txtllms.txt
- ndx-captureSkill
- ndx-configSkill
- ndx-feedbackSkill
- ndx-planSkill
- ndx-reshapeSkill
- ndx-statusSkill
- ndx-workSkill
- ndx-zoneSkill
- n-seo-add-siteSkill
- n-seo-deploySkill
- n-seo-reviewSkill
- n-seo-setupSkill
- n-seo-shipSkill
- n-seo-triageSkill
- orientSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
When working on an execution task (especially within a hench agent run), you MUST NOT:
- Very specific: line 22
Document your choice in the commit message or task log via append_log.
- Very specific: line 25
Read the relevant architecture documentation in CLAUDE.md or PACKAGE_GUIDELINES.md.
- Very specific: line 26
Search the codebase for similar patterns using Grep or Glob.
- Very specific: line 27
Use get_zone or get_file_info (sourcevision MCP) to understand context.
- Very specific: line 32
Use append_log to document the ambiguity and what you chose.
- Very specific: line 39
All hench agent runs (ndx work --auto, ndx work --loop, ndx self-heal, etc.)
- Distinctive: line 40
All execution-oriented tasks where implementation is expected
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Rule: No Plan Mode in Execution Tasks
When working on an execution task (especially within a hench agent run), you MUST NOT:
- Enter plan mode — Do not call
EnterPlanModeor produce plan-only responses. Hench runs expect direct implementation. - Call ExitPlanMode as a stall tactic — Do not use
ExitPlanModeas a way to pause execution waiting for user input. - Produce plan-only outputs — Do not respond with plans, design documents, or implementation outlines instead of actual code changes.
Rationale
Hench agent runs are designed to be autonomous and continuous. When an agent enters plan mode or stalls on ExitPlanMode, the entire run blocks waiting for user approval, breaking the autonomous execution loop. This defeats the purpose of automated task execution.
What to Do Instead
If you need to make a decision:
- Make the decision based on existing code patterns, architecture guidelines (CLAUDE.md), and project conventions.
- Document your choice in the commit message or task log via
append_log.
If you're uncertain about the approach:
- Read the relevant architecture documentation in CLAUDE.md or PACKAGE_GUIDELINES.md.
- Search the codebase for similar patterns using
GreporGlob. - Use
get_zoneorget_file_info(sourcevision MCP) to understand context. - Proceed with the most consistent approach — don't stall.
If the task is genuinely ambiguous:
- Complete what you can with the information available.
- Use
append_logto document the ambiguity and what you chose. - Mark the task as
in_progressorcompleted(depending on progress) and move to the next task. - The next session can refine the work based on the log.
Applicability
This rule applies to:
- All hench agent runs (
ndx work --auto,ndx work --loop,ndx self-heal, etc.) - All execution-oriented tasks where implementation is expected
- Any scenario where the agent is driving changes without pausing for approval
This rule does NOT apply to:
- Interactive user-initiated CLI commands where the user is present
- Design-phase tasks explicitly marked as planning-only
- Codex or other assistants working in non-autonomous modes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

