agentleFS
en-dash-consultingen-dash-consulting/n-seo/.claude/skills/no-plan-mode/SKILL.md

no-plan-mode

Skill1 starsChanged 3 months agoMITView on GitHub

Prevent plan-mode stalls in autonomous hench agent runs

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
  1. Distinctive:

    When working on an execution task (especially within a hench agent run), you MUST NOT:

    line 8
  2. Very specific:

    Document your choice in the commit message or task log via append_log.

    line 22
  3. Very specific:

    Read the relevant architecture documentation in CLAUDE.md or PACKAGE_GUIDELINES.md.

    line 25
  4. Very specific:

    Search the codebase for similar patterns using Grep or Glob.

    line 26
  5. Very specific:

    Use get_zone or get_file_info (sourcevision MCP) to understand context.

    line 27
  6. Very specific:

    Use append_log to document the ambiguity and what you chose.

    line 32
  7. Very specific:

    All hench agent runs (ndx work --auto, ndx work --loop, ndx self-heal, etc.)

    line 39
  8. Distinctive:

    All execution-oriented tasks where implementation is expected

    line 40

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Rule: No Plan Mode in Execution Tasks

When working on an execution task (especially within a hench agent run), you MUST NOT:

  1. Enter plan mode — Do not call EnterPlanMode or produce plan-only responses. Hench runs expect direct implementation.
  2. Call ExitPlanMode as a stall tactic — Do not use ExitPlanMode as a way to pause execution waiting for user input.
  3. 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 Grep or Glob.
  • Use get_zone or get_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_log to document the ambiguity and what you chose.
  • Mark the task as in_progress or completed (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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.