Source profileQuality 84/100Review permissions

tody-agent/codymaster/.agents/skills/cm-execution/SKILL.md

cm-execution

Use when executing implementation plans — choose mode: batch execution with checkpoints, subagent-per-task, or parallel dispatch for independent problems.

Source repository stars
48
Declared platforms
0
Static risk flags
2
Last source update
2026-08-04
Source checked
2026-08-04

Decision brief

What it does—and where it fits

Use when executing implementation plans — choose mode: batch execution with checkpoints, subagent-per-task, or parallel dispatch for independent problems.

Best for

  • Use when executing implementation plans — choose mode: batch execution with checkpoints, subagent-per-task, or parallel dispatch for independent problems.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/tody-agent/codymaster --skill ".agents/skills/cm-execution"
Safe inspection promptEditorial

Inspect the Agent Skill "cm-execution" from https://github.com/tody-agent/codymaster/blob/14cd03c9b12b3087494371e5ccef81005182dcaa/.agents/skills/cm-execution/SKILL.md at commit 14cd03c9b12b3087494371e5ccef81005182dcaa. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Persona Dispatch (Phase 2)

    In Mode B (subagent-per-task) and Mode E (TRIZ-parallel), dispatch the right persona from agents/ based on the task type:

    In Mode B (subagent-per-task) and Mode E (TRIZ-parallel), dispatch the right persona from agents/ based on the task type:When dispatching a subagent, pass subagenttype: (Codex agents) or load the persona file as the system prompt for the inner call.
  2. 02

    Step 0: Load Working Memory (MANDATORY)

    Per shared/helpers.mdLoad-Working-Memory

    Per shared/helpers.mdLoad-Working-MemoryAfter EACH completed task: Per shared/helpers.mdUpdate-ContinuityBefore choosing execution mode, scan plan tasks for technology keywords:
  3. 03

    Process

    1. Load plan from Fission-AI OpenSpec (openspec/changes/[initiative-name]/tasks.md and design.md) → review critically → raise concerns 2. Execute batch (default: 3 tasks) - Mark inprogress → follow steps → verify → mark complete 3. Report → show what was done + verification outp…

    Load plan from Fission-AI OpenSpec (openspec/changes/[initiative-name]/tasks.md and design.md) → review critically → raise concernsExecute batch (default: 3 tasks)Mark inprogress → follow steps → verify → mark complete
  4. 04

    Process (RARV Cycle)

    Review the “Process (RARV Cycle)” section in the pinned source before continuing.

    Review and apply the “Process (RARV Cycle)” source section.
  5. 05

    TL;DR

    Role: Lead Developer — You execute implementation plans systematically with quality gates at every checkpoint.

    Use when running an approved plan from cm-planningModes: A=batch, B=subagent-per-task, C=parallel, D=RARV, E=TRIZ-parallelReads: handoff/plan.json — Writes: handoff/exec.json

Permission review

Static risk signals and limitations

Reads files

low · line 27

The documentation asks the agent to read local files, directories, or repositories.

When dispatching a subagent, pass `subagent_type: <persona>` (Codex agents) or load the persona file as the system prompt for the inner call.

Runs scripts

medium · line 357

The documentation asks the agent to run terminal commands or scripts.

| `subprocess.run(f"cmd {arg}", shell=True)` | Command Injection | `subprocess.run(["cmd", arg])` |

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score84/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars48SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
tody-agent/codymaster
Skill path
.agents/skills/cm-execution/SKILL.md
Commit
14cd03c9b12b3087494371e5ccef81005182dcaa
License
Not declared
Collected
2026-08-04
Default branch
main
View the original SKILL.md

Execution — Execute Plans at Scale

TL;DR

  • Use when running an approved plan from cm-planning
  • Modes: A=batch, B=subagent-per-task, C=parallel, D=RARV, E=TRIZ-parallel
  • Reads: handoff/plan.json — Writes: handoff/exec.json
  • Always: tests pass before reporting done
  • Next: cm-code-review

Role: Lead Developer — You execute implementation plans systematically with quality gates at every checkpoint.

Three modes, one skill. Choose based on task structure.

Persona Dispatch (Phase 2)

In Mode B (subagent-per-task) and Mode E (TRIZ-parallel), dispatch the right persona from agents/ based on the task type:

Task signalPersonaFile
"design", "architecture", "trade-off"architectagents/architect.md
"implement", "fix", "refactor"engineeragents/engineer.md
"review", "audit", "verify"revieweragents/reviewer.md
"secret", "auth", "input validation", "deploy"securityagents/security.md
"scope", "intent", "user story"pmagents/pm.md

When dispatching a subagent, pass subagent_type: <persona> (Codex agents) or load the persona file as the system prompt for the inner call.

Step 0: Load Working Memory (MANDATORY)

Per _shared/helpers.md#Load-Working-Memory

After EACH completed task: Per _shared/helpers.md#Update-Continuity

Pre-flight: Skill Coverage Audit

Before choosing execution mode, scan plan tasks for technology keywords:

1. Extract technologies/frameworks/tools from ALL task descriptions
2. Cross-reference with cm-skill-index Layer 1 triggers
3. Check installed external skills: npx skills list
4. If gap found → trigger Discovery Loop (cm-skill-mastery Part C)
   → npx skills find "{keyword}" → review → ask user → install
5. Log any installations to .cm-skills-log.json
6. Code Intelligence Context (cm-codeintell):
   → IF codegraph available: codegraph_context(task) for each task
   → IF modifying shared code: codegraph_impact(symbol, depth=2)
   → IF impact > 10 files: WARN "High impact change"
   → Inject context into agent prompts → agents skip grep/glob
7. Only proceed to Mode Selection after all gaps resolved

Mode Selection

Have a plan with independent tasks?
├── Need SPEED + QUALITY on 3+ tasks?
│   └── YES → Mode E: TRIZ-Parallel ⚡ (recommended)
├── Stay in this session?
│   ├── YES → Mode B: Subagent-Driven
│   └── NO → Mode A: Batch Execution
└── Multiple independent failures/problems?
    └── YES → Mode C: Parallel Dispatch
ModeWhenStrategy
A: BatchPlan with checkpointsExecute 3 tasks → report → feedback → next batch
B: SubagentPlan with independent tasks, same sessionFresh subagent per task + 2-stage review
C: Parallel2+ independent problemsOne agent per problem domain
E: TRIZ-Parallel3+ independent tasks, need speed + qualityDependency-aware parallel dispatch with per-agent quality gates
F: PartyOne non-trivial task, want multi-perspective without subagent costSingle agent rotates Architect → Engineer → Reviewer (→ Security), append-only .cm/handoff/party.json

Mode A: Batch Execution

Process

  1. Load plan from Fission-AI OpenSpec (openspec/changes/[initiative-name]/tasks.md and design.md) → review critically → raise concerns
  2. Execute batch (default: 3 tasks)
    • Mark in_progress → follow steps → verify → mark complete
  3. Report → show what was done + verification output
  4. Continue → apply feedback → next batch
  5. Complete → use cm-code-review to finish
  6. Archive → After all tasks complete, manually move the OpenSpec folder to openspec/changes/archive/[date]-[name]/

Rules

  • Follow plan steps exactly
  • Don't skip verifications
  • Between batches: report and wait
  • Stop when blocked, don't guess

Mode B: Subagent-Driven Development

Process

  1. Read plan from openspec/changes/[initiative-name]/tasks.md → extract ALL tasks with full text
  2. Per task:
    • Dispatch implementer subagent with full task text
    • Answer subagent questions if any
    • Subagent implements, tests, commits, self-reviews
    • Dispatch spec reviewer → confirm matches spec
    • Dispatch code quality reviewer → confirm quality
    • If issues → implementer fixes → re-review → repeat
  3. After all tasks → final code review → cm-code-review

Prompt Template (Implementer)

Implement [TASK_NAME]:

[Full task text from plan]

Context: [Where this fits in the project]

Rules:
- Follow TDD (cm-tdd)
- Commit when done
- Self-review before reporting
- Ask questions if unclear

Return: Summary of what you did + test results

Red Flags

  • Never start on main/master without consent
  • Never skip reviews (spec OR quality)
  • Never dispatch parallel implementers (conflicts)
  • Never accept "close enough" on spec compliance

Mode C: Parallel Dispatch

When

  • 3+ test files failing with different root causes
  • Multiple subsystems broken independently
  • Each problem doesn't need context from others

Process

  1. Group failures by independent domain
  2. Create focused agent prompt per domain:
    • Specific scope (one file/subsystem)
    • Clear goal
    • Constraints (don't change other code)
    • Expected output format
  3. Dispatch in parallel
  4. Review + integrate → verify no conflicts → run full suite

Common Mistakes

  • ❌ Too broad: "Fix all the tests"
  • ✅ Specific: "Fix agent-tool-abort.test.ts"
  • ❌ No context: "Fix the race condition"
  • ✅ Context: Paste error messages + test names

Mode D: Autonomous RARV

Self-driving execution. Tasks flow through Reason → Act → Reflect → Verify automatically.

When

  • User runs /cm-start with a goal
  • cm-tasks.json exists with backlog items
  • You want continuous autonomous execution

Process (RARV Cycle)

LOOP until backlog empty or user interrupts:
  1. REASON  → Read cm-tasks.json → pick highest-priority backlog task
                Update task status to "in_progress"
                Log: { phase: "REASON", message: "Selected: <title>" }

  2. ACT     → Execute using the task's assigned CM skill
                (cm-tdd, cm-debugging, cm-safe-deploy, etc.)
                Log: { phase: "ACT", message: "<what was done>" }

  3. REFLECT → Update cm-tasks.json with results
                Log: { phase: "REFLECT", message: "<outcome summary>" }

  4. VERIFY  → Run tests/checks (cm-quality-gate)
                If PASS → status = "done", completed_at = now()
                If FAIL → rarv_cycles++, log error, retry from REASON
                If rarv_cycles >= 2 → attempt Skill Discovery Fallback:
                  → npx skills find "{task keywords}"
                  → If skill found + user approves → install, reset rarv_cycles = 0, retry
                  → If NOT found → rarv_cycles >= 3 → status = "blocked"
                Log: { phase: "VERIFY", message: "✅ passed" or "❌ <error>" }

  5. NEXT    → Recalculate stats, pick next task

cm-tasks.json Update Protocol

After EVERY phase, you MUST:

  1. Read current cm-tasks.json
  2. Sync state from openspec/changes/[initiative-name]/tasks.md (Keep both human-readable MD and AI-executable JSON in parallel sync)
  3. Find the active task by id
  4. Update status, logs[], timestamps
  5. Recalculate stats object:
    stats.total = tasks.length
    stats.done = tasks.filter(t => t.status === 'done').length
    stats.in_progress = tasks.filter(t => t.status === 'in_progress').length
    stats.blocked = tasks.filter(t => t.status === 'blocked').length
    stats.backlog = tasks.filter(t => t.status === 'backlog').length
    stats.rarv_cycles_total = tasks.reduce((sum, t) => sum + (t.rarv_cycles || 0), 0)
    
  6. Set updated to current ISO timestamp
  7. Write back to cm-tasks.json

Rules

  • Max 3 retries per task before marking "blocked"
  • Always log — the dashboard reads logs in real-time
  • Don't batch-skip — execute one task at a time through full RARV
  • Respect interrupts — if user sends a message, pause and respond

Mode E: TRIZ-Parallel ⚡

Speed AND quality. 6 TRIZ principles resolve the contradiction.

When

  • 3+ tasks that can potentially run in parallel
  • Speed is important but quality cannot be sacrificed
  • Tasks are well-defined with clear file scope
  • You need to maximize throughput without merge conflicts

TRIZ Principles Applied

#PrincipleHow Applied
#1SegmentationTasks split by file-dependency graph → only truly independent tasks run together
#3Local QualityEach agent runs its own mini quality gate (syntax + tests) before reporting
#10Prior ActionPre-flight check scans for file overlaps BEFORE dispatch
#15DynamicityBatch size adapts: starts at 2, scales up after clean runs, down after conflicts
#18FeedbackReal-time conflict detection via shared ledger of modified files
#40CompositeEach agent = implementer + tester + reviewer (3 roles in 1)

Process

1. ANALYZE    → Extract file dependencies from task descriptions
2. GRAPH      → Build dependency graph, group into independent batches
3. ADAPT      → Read parallel history, compute optimal batch size
4. PRE-FLIGHT → Check conflict ledger for overlaps with running agents
5. DISPATCH   → Send batch to agents with quality contracts
6. MONITOR    → Each agent reports modified files → detect conflicts
7. VERIFY     → Each agent runs mini quality gate before reporting done
8. RECORD     → Update parallel history for future batch sizing

Rules

  • Never dispatch conflicting tasks — pre-flight must pass
  • Each agent must self-validate — no "trust me it works"
  • Adaptive sizing is mandatory — don't hardcode batch sizes
  • File scope is enforced — agents must not modify files outside their scope
  • Conflict = halt — stop further dispatch until conflict is resolved

Common Mistakes

  • ❌ "All tasks are independent" → Always run dependency analysis first
  • ❌ "Skip pre-flight, save time" → Pre-flight prevents wasted agent work
  • ❌ "Batch size 5 for everything" → Start at 2, let the system adapt
  • ❌ "One task failed, continue anyway" → Fix before next batch

Mode F: Party (Persona Rotation, single agent)

One agent, three voices. Cheaper than Mode B, deeper than Mode A.

When

  • Task is non-trivial but small enough for one session
  • You want multi-perspective scrutiny without paying for N subagents
  • Quality matters more than raw speed

Process

1. ARCHITECT  → Load agents/architect.md as voice → propose design / approach
                → Append round to .cm/handoff/party.json
2. ENGINEER   → Load agents/engineer.md as voice → implement against the design
                → Append round
3. REVIEWER   → Load agents/reviewer.md as voice → critique implementation
                → verdict: "pass" | "revise" | "block"
                → Append round
4. (optional) SECURITY → Load agents/security.md when task touches auth/files/subprocess
                → Append round
5. SYNTHESIZE → Write `final` summary; mark handoff emitted_at

Stop Conditions

  • Reviewer verdict pass → done, write final
  • Reviewer verdict revise → loop back to ENGINEER (max 2 revisions)
  • Reviewer verdict block or 3rd revision → escalate to user, do not ship

Output Contract

Writes to .cm/handoff/party.json matching PartyHandoff from src/handoff/contracts.ts:

{
  "schema": "party@1",
  "emitted_at": "<ISO>",
  "emitted_by": "cm-execution",
  "data": {
    "topic": "<task title>",
    "rounds": [
      {"persona":"architect","output":"...","ts":"<ISO>"},
      {"persona":"engineer","output":"...","ts":"<ISO>"},
      {"persona":"reviewer","output":"...","verdict":"pass","ts":"<ISO>"}
    ],
    "final": "<one-paragraph synthesis>"
  }
}

Rules

  • Never skip the reviewer round — that defeats the point of party mode
  • Never edit a previous round — append-only, like a journal
  • One agent the whole way — do NOT dispatch subagents inside party mode (use Mode B for that)
  • Persona files are the source of truth — load them as system context, don't paraphrase

Common Mistakes

  • ❌ Running architect + engineer in same voice → missed trade-offs
  • ❌ Skipping security persona on auth/file-touching tasks → see Security Rules below
  • ❌ Letting reviewer revise > 2× → that's a planning problem, escalate

Security Rules (Learned: March 2026)

Code that touches files, subprocesses, or the DOM MUST follow these rules. No exceptions.

Frontend — DOM Safety

PatternRiskFix
innerHTML = \...${data}...``DOM XSSinnerHTML = \...${esc(data)}...``
innerHTML = variableDOM XSStextContent = variable
eval(input) / new Function(input)Code injectionAvoid entirely
document.write(data)DOM XSSUse DOM API
el.setAttribute('on*', data)Event injectionel.addEventListener()

Always: Escape before innerHTML, prefer textContent, validate URLs via allowlist.

Backend — Python

PatternRiskFix
Path(user_input) / "file"Path Traversalsafe_resolve(base, user_input)
subprocess.run(f"cmd {arg}", shell=True)Command Injectionsubprocess.run(["cmd", arg])
open(config["path"])Path Traversalsafe_open(base, config["path"])
json.load() → paths unvalidatedPath TraversalValidate ALL paths from config via safe_resolve()

Always: Import safe_path, validate EVERY path from CLI/config/API against a base directory.

Backend — Express/Node

PatternRiskFix
Missing app.disable('x-powered-by')Info leakAdd after express()
No body size limitDoSexpress.json({ limit: '1mb' })
path.resolve(userInput) without validationPath TraversalCheck null bytes + relative_to(baseDir)
Object.assign(config, userInput)Prototype PollutionFilter __proto__, constructor keys

Integration

SkillWhen
cm-git-worktreesREQUIRED: isolated workspace before starting
cm-planningCreates the plan this skill executes
cm-code-reviewComplete development after all tasks
cm-tddSubagents follow TDD for each task
cm-quality-gateVERIFY phase uses this for validation
cm-ui-previewRECOMMENDED: Preview UI on Google Stitch before implementing frontend tasks

Workflows

CommandPurpose
/cm-startCreate tasks + launch RARV + open dashboard
/cm-statusQuick terminal progress summary
/cm-dashboardOpen browser dashboard

Karpathy Discipline — Surgical Changes

Every executor (single agent or subagent fleet) must follow:

  • Touch only what the task requires. No "while I'm here" formatting, renames, or refactors.
  • Match existing style even if you'd write it differently. Consistency > taste.
  • Notice unrelated dead code? Mention it, don't delete. Out-of-scope cleanup → spawn a separate task.
  • Clean only your own orphans. If your edit makes an import/var unused, remove it. Pre-existing dead code stays unless explicitly asked.

Diff test: Every changed line should trace to the task. If a reviewer asks "why this line?", you must point at the task — not "felt cleaner".

The Bottom Line

Choose your mode. Execute systematically. Review at every checkpoint.

Alternatives

Compare before choosing

Computed 10042,968

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10023,781

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1004,922

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 100165

JasonColapietro/suede-creator-skills

suede-ab-testing

Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).