mtk-agent-toolkit: Skill for Claude Code

.claude/skills/planning-and-task-breakdown/SKILL.md

planning-and-task-breakdown is a skill for Claude Code from moberghr/mtk-agent-toolkit. It costs 29 tokens per session (2,517 once invoked), scanned A, original, MIT.

A planning aid that turns an approved software change into small, checkable tasks. It is intended for work that will touch multiple files.

In plain words
What is it for?
Use it to create implementation checklists, define checkpoints, and decide when each part of a multi-file change is ready to verify.
Why use it?
Breaking work into batches makes dependencies and progress visible, reducing missed steps and uncontrolled scope changes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex.

This is moberghr/mtk-agent-toolkit's own configuration. It tells Claude Code how to work on mtk-agent-toolkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mtk-agent-toolkit configures →

Part of the mtk plugin — 45 skills, 6 agents, 7 hooks, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to moberghr/mtk-agent-toolkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/moberghr/mtk-agent-toolkit/main/.claude/skills/planning-and-task-breakdown/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/moberghr/mtk-agent-toolkit

Made for: Claude Code.

Or install mtk, the plugin that ships this one along with the rest of its 45 skills, 6 agents, 7 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for planning-and-task-breakdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/moberghr/mtk-agent-toolkit/planning-and-task-breakdown/github.svg)](https://agentmods.dev/skills/moberghr/mtk-agent-toolkit/planning-and-task-breakdown)
Your own site
<a href="https://agentmods.dev/skills/moberghr/mtk-agent-toolkit/planning-and-task-breakdown"><img src="https://agentmods.dev/badge/skills/moberghr/mtk-agent-toolkit/planning-and-task-breakdown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for planning-and-task-breakdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/moberghr/mtk-agent-toolkit/planning-and-task-breakdown"><img src="https://agentmods.dev/badge/skills/moberghr/mtk-agent-toolkit/planning-and-task-breakdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 114
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Excessive Agency · line 114
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.02517
Opus 5 $0.00015 $0.01259
Sonnet 5 $0.00006 $0.00503
Haiku 4.5 $0.00003 $0.00252

Measured 3d ago against content hash 69f263ff27f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

planning-and-task-breakdown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/planning-and-task-breakdown/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Planning And Task Breakdown

Overview

Convert the approved plan into small, executable tasks that can be verified one at a time. Good task breakdown reduces hidden coupling, scope drift, and fake progress.

Model tier: runs on sonnet (bounded decomposition against a written spec) per .claude/references/model-routing.md. Tool discipline (phase-locked): planning is a read + plan-artifact phase. Write only the plan/todo artifacts (docs/plans/, tasks/todo.md) — never source or test code. Implementation belongs to Phase 3; a source edit here is a scope violation the scope-guard hook will flag.

When To Use

  • After spec approval
  • Before any multi-file implementation
  • When implementation needs explicit checkpoints or re-planning boundaries

When NOT To Use

  • Tiny single-file work already small enough to execute safely
  • Exploratory debugging before the root cause is known

Workflow

  1. Start from the approved change manifest and test manifest. 1a. Prior-work freshness check. If the spec's ## Prior Work Check section is missing OR was generated more than one session ago (different branch HEAD, different day), re-run prior-work-check against the current branch state. Risk profiles and lessons can shift between approval and planning. A BLOCK verdict here means planning stops until the spec is amended and re-approved.
  2. Break work into batches of 2-4 related files, dependency-ordered. Two batches that list the same file in files must carry a dependency edge between them (later depends on earlier) — this is what lets the scheduler run edge-free batches concurrently without two implementers editing one file. Files that many batches touch by nature — DI registration (Program.cs, *Startup*, DependencyInjection*, ServiceRegistration*), project/solution files (*.csproj, *.sln*, package.json, pyproject.toml), and migration snapshots — are serialize-if-touched: every batch that touches one of them depends on the previous batch that did.
  3. For each task, write:
    • task description
    • acceptance criteria
    • verification step
    • files in scope
    • Boundary: what this task owns and must not leak into (e.g., "handler only — no controller changes")
    • Depends (mandatory): the batch ids this batch assumes are complete (e.g., "B1 — needs the entity to exist"). An empty list is a claim of independence and must say why (depends_rationale: "independent: no shared files, reads no type another batch creates"). The scheduler runs edge-free batches in the same wave, so a missing edge is a concurrency bug, not a style nit.
    • Governing constraints: the Critical Rule / principle ids that constrain this batch, cited from the spec's Constitution Check (run bash scripts/constitution-digest.sh if absent). Each batch states which rules it must satisfy, not just what it builds — recorded in the plan so the implementer and human reviewers see, per batch, exactly which rules constrain it. An empty list is allowed only with an explicit "no rule constrains this batch" note.
  4. Prefer vertical slices where possible so each batch leaves the system in a working state. 4b. Package-legitimacy gate for new dependencies. If any batch introduces a third-party package not already present in the repo's dependency manifests — especially one an AI assistant, blog post, or the spec's research brief recommended — do NOT plan a bare install step. Instead:
    • Run the stack's registry-verification command (from .claude/references/dependency-intake-checklist.md criterion 0, also listed in the active tech-stack skill) to confirm the package exists and is the real one (not a typosquat / hallucination).
    • Tag the package [ASSUMED] in the plan until verified, and insert an explicit checkpoint:human-verify step before the install task. This checkpoint is one of the conditions that blocks MTK_AUTO_PROCEED at the implement Phase 2.5 gate, so an unverified package can never be installed autonomously.
    • A criterion-0 Poor (not found / dead repo / typosquat signal) blocks the dependency outright — re-plan without it.
  5. State the resulting wave schedule in the plan (W0: B1 · W1: B2 B3 B4 · W2: B5) — derived from depends as topological levels, wave width capped at MTK_BATCH_WAVE_MAX (default 3). The schedule is a readback of the edges, not a second source of truth: if it looks wrong, fix depends.
  6. Write tasks/todo.md with:
    • task title
    • scope and branch
    • batches with checkboxes
    • post-implementation review items
  7. If a spec file exists in docs/specs/, persist the plan alongside it:
    • If the plan was supplied by the engineer as input (adopted by implement Phase 0.7 — the file already exists at the plan path): do not author a new plan or version-bump the engineer's file. Adopt the supplied path as-is, validate its plan.batches against the JSON sidecar schema, and run prior-work-check's existing-plan reconciliation mode so already-implemented batches are marked done before the approval gate rather than re-run. Skip the authoring sub-steps below.
    • Use the full filename stem of the active spec, including any version suffix (e.g., -v2, -v3). If the spec was written as docs/specs/2026-04-23-foo-v2.md, the plan is docs/plans/2026-04-23-foo-v2.md.
    • If no spec path is available (standalone planning run), use YYYY-MM-DD-<feature-slug>.md with no suffix.
    • Create docs/plans/ if it does not exist.
    • Add docs/plans/ to .gitignore if not already present.
    • This enables session recovery and plan reuse across sessions.
  8. Append the plan section to the existing JSON handoff artifact at docs/specs/<date>-<slug>.json (created by spec-driven-development). Schema: .claude/schemas/handoff.schema.json. Required keys:
    "plan": {
      "batches": [
        { "id": "B1", "files": ["src/X.cs"], "acceptance": "...",
          "verification": "...", "boundary": "...",
          "depends": [], "depends_rationale": "independent: first batch, creates the entity",
          "governing_constraints": ["C0.2", "S1.15"] },
        { "id": "B2", "files": ["src/XHandler.cs"], "acceptance": "...",
          "verification": "...", "boundary": "...",
          "depends": ["B1"],
          "governing_constraints": ["C0.2"] }
      ]
    }
    
    Every files entry must already exist in the top-level change_manifest. If it does not, re-plan first — don't quietly widen scope here. depends is required on every batch; depends_rationale is required when it is empty. Any two batches sharing a files entry without an edge between them fail the sidecar check and the plan-gap-reviewer marks it BLOCKING.
  9. Keep the task list synchronized with reality. If a new file is needed, re-plan before continuing.
  10. Record the plan/todo paths on the workflow artifact and leave plan_trust_gate at pending — only the engineer's Phase 2.5 approval flips it to pass. See .claude/references/orchestration-gates.md. 10.5. Update the workflow artifact (additive, capability-gated). With plan_path/todo_path recorded, follow .claude/references/artifact-publishing.md to add the Plan section to the workflow's Claude Artifact. Because the artifact is keyed to the workflow uuid, this updates the existing URL in place (passing the recorded results.artifact_url) — it does not mint a new link. Silent no-op when the tool is unavailable or MTK_ARTIFACT_PUBLISH=0.
  11. Anti-anchored gap check. Before surfacing the plan to the engineer, dispatch the plan-gap-reviewer agent with the original user request and the saved plan path — plus, when they exist, the spec markdown path, the spec JSON sidecar path, and tasks/todo.md. Passing the sidecar and todo activates the agent's cross-artifact consistency check: spec ↔ plan ↔ todo are mapped against each other in both directions (manifest entries ↔ batches, success criteria ↔ tests, out-of-scope ↔ batch contents) so disagreement between the artifacts is caught before the approval gate, not after implementation. The agent runs in a forked context and is forbidden from reading lessons, prior reviewer output, or the workflow artifact — its job is to challenge the plan against the repo with no anchors. Surface every BLOCKING finding back to the planner and revise before the approval gate. Surface ADVISORY findings unchanged at the approval gate so the engineer decides.

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +7 lines 69f263ff27f1
  2. 12d ago First seen · 134 lines · 29 tokens per session scan A e2a2337c4024

Subscribe to this mod's changes

planning-and-task-breakdown is a skill published in the GitHub repository moberghr/mtk-agent-toolkit (7 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 2,517 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens