Skip to content
Development
Skill

/cm-execution

Use when executing approved implementation plans. Routes to 1 of 6 execution modes (batch/subagent/parallel/RARV/TRIZ/party) based on task shape. Loads detail refs on-demand.

From plugin
cm
5662 skills8 agents11 commands3 hooks
+1

Claude Code

$ npx -y skills add tody-agent/codymaster --skill cm-execution --agent claude-code

SKILL.md

cm-execution.SKILL.md
name: cm-execution
description: Use when executing approved implementation plans. Routes to 1 of 6 execution modes (batch/subagent/parallel/RARV/TRIZ/party) based on task shape. Loads detail refs on-demand.
token_budget: 1800
token_core: 450
token_refs:
  mode-a-batch: 280
  mode-b-subagent: 380
  mode-c-parallel: 240
  mode-d-rarv: 520
  mode-e-triz-parallel: 460
  mode-f-party: 420
  persona-dispatch: 180
  security-rules: 540
compressed: true
deprecated: false

Execution — Execute Plans at Scale

TL;DR

  • **Use when** running an approved plan from `cm-planning`
  • **Reads** `handoff/plan.json` or `openspec/changes/[name]/tasks.md`
  • **Writes** `handoff/exec.json`
  • **Autonomy**: one scoped authorization, no step/batch re-approval
  • **Always** verify before reporting done
  • **Next** `cm-code-review`

> **Role: Lead Developer.** You execute plans systematically with continuous verification and non-blocking status updates.

Follow [`_shared/autonomy-policy.md`](../_shared/autonomy-policy.md). Treat an approved plan as scoped execution authorization through verification. Do not request per-step or per-batch re-approval inside that scope.

Step 0: Load Working Memory (MANDATORY)

Per `_shared/helpers.md#Load-Working-Memory`. After EACH completed task: `_shared/helpers.md#Update-Continuity`.

Step 1: Pre-flight Skill Coverage Audit

Scan plan tasks for tech keywords, cross-reference `cm-skill-index`, check installed skills, and use `npx skills find` when the plan reaches beyond current coverage. If `codegraph` or `cm-codeintell` context is available, inject it into agent prompts so execution skips redundant repo searching.

Confirm the authorization state from the handoff, not by asking the user again:

  • Approved plan → execute its stated scope through verification.
  • Clear, reversible micro task directly requested by the user → proceed with zero approval.
  • Meaningful change without an approved plan → present a concise plan and request one approval at the plan-to-execution boundary.
  • Material scope change or sensitive action → pause under the shared policy; execution-mode selection itself never needs approval.

Step 2: Choose Mode

Have an approved plan?
├─ Have 2+ independent tasks where parallel execution helps?
│   ├─ File/dependency analysis and conflict pre-flight pass?
│   │   └─ YES → Mode E (TRIZ-Parallel) ★ recommended
│   └─ Tasks are ordered/dependent and isolated subagents are available?
│       └─ YES → Mode B (Subagent-Driven)
├─ One non-trivial task, want multi-perspective without subagent cost?
│   └─ YES → Mode F (Party, persona rotation)
├─ Multiple independent failures across subsystems?
│   └─ YES → Mode C (Parallel Dispatch)
├─ Autonomous loop with backlog (`/cm-start` flow)?
│   └─ YES → Mode D (RARV)
└─ Otherwise
    └─ Mode A (Batch Execution)

| Mode | One-line summary | Load | |---|---|---| | A | Batch 3 tasks, report, then continue | `references/mode-a-batch.md` | | B | Fresh subagent per task + 2-stage review | `references/mode-b-subagent.md` | | C | One agent per independent problem domain | `references/mode-c-parallel.md` | | D | Reason → Act → Reflect → Verify loop | `references/mode-d-rarv.md` | | E | Dependency-aware parallel + per-agent quality gate | `references/mode-e-triz-parallel.md` | | F | Single agent rotates Architect → Engineer → Reviewer | `references/mode-f-party.md` |

**Action:** Pick exactly one mode, read only that reference, and execute from there.

Before selecting Mode B, verify the harness supports fresh and resumable isolated sessions. If it does not, route to Mode F (reduced review independence) or Mode A; never silently simulate independent reviewers in one context. Mode B is serial. Mode E remains the only mode for independent parallel tasks and always retains conflict pre-flight.

Conditional References

  • **Mode B / E / F** → also read `references/persona-dispatch.md`
  • **Task touches auth, files, subprocess, DOM, config paths, or user input** → MUST read `references/security-rules.md` before writing code

Karpathy Discipline — Surgical Changes

  • Touch only what the task requires. No "while I'm here" refactors.
  • Match existing style even if you would write it differently.
  • Notice unrelated dead code? Mention it, do not delete it.
  • Clean only your own orphans. Pre-existing dead code stays unless asked.
  • **Diff test:** every changed line must trace to the task.
  • After a task or batch, send a non-blocking status update and continue while scoped execution authorization remains valid.

Integration

| Skill | When | |---|---| | `cm-planning` | Produces the plan this skill consumes | | `cm-tdd` | Use per task when implementing or fixing | | `cm-quality-gate` | VERIFY phase / pre-report validation | | `cm-code-review` | Final review after all tasks are done | | `cm-design-system` | Recommended before frontend-heavy tasks |

Workflows

| Command | Purpose | |---|---| | `/cm-start` | Create tasks + launch RARV + open dashboard | | `/cm-status` | Quick terminal progress summary | | `/cm-dashboard` | Open browser dashboard |

The Bottom Line

**Choose your mode → load that one reference → execute the authorized scope → verify → review.**

Read more
@tody-agent
Ships withcm

"I can't write code. But in 6 months, I shipped 12 real products using AI. CodyMaster is everything I learned — so you don't have to repeat my mistakes." — Tody Le, Head of Product, Creator of CodyMaster 50+ skills. One install.

5662 skills8 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
56
Star history of tody-agent/codymaster on GitHub, a chart by star-history.com

Other skills on cm.

cm-autopilot

cm-autopilot

Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web…

@tody-agent@tody-agentInstall Skill
cm-brainstorm-idea

cm-brainstorm-idea

Strategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design…

@tody-agent@tody-agentInstall Skill
cm-browse

cm-browse

Fallback local Playwright daemon for real-browser visual QA / screenshots / smoke. Use ONLY when the host platform has no native…

@tody-agent@tody-agentInstall Skill
cm-clean-code

cm-clean-code

Code hygiene gate — detect and eliminate dead code, duplicates, naming mess, and code smells. TRIZ-powered. Run after features,…

@tody-agent@tody-agentInstall Skill
cm-code-review

cm-code-review

Full review lifecycle — request reviews, handle feedback with technical rigor, and complete branch integration. Use when…

@tody-agent@tody-agentInstall Skill
cm-codeintell

cm-codeintell

Unified code intelligence — routes to Skeleton Index, CodeGraph, Architecture Diagram, or Smart Context Builder based on task…

@tody-agent@tody-agentInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about cm-execution.

Which coding agents can use cm-execution?
cm-execution installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.