plan-task

plan-task is a skill for Claude Code, Codex from siarhei-belavus/agent-public. It costs 32 tokens per session (2,317 once invoked), scanned A, original, MIT.

A planning tool that turns an unclear engineering request into a detailed execution contract saved in the project’s `.plans/` directory. The contract is written so another developer can implement and review it in a fresh context.

In plain words
What is it for?
Use it to define development tasks, identify the files and systems involved, record compatibility and ownership rules, and prepare implementation packets.
Why use it?
It preserves the decisions, scope, constraints, and acceptance checks needed to carry work forward without relying on the original conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/siarhei-belavus/agent-public/plan-task
Any agent
npx skills add siarhei-belavus/agent-public --skill plan-task
Clone the repo
git clone --depth 1 https://github.com/siarhei-belavus/agent-public

Made for: Claude Code, Codex.

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 plan-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/plan-task.svg)](https://agentmods.dev/skills/siarhei-belavus/agent-public/plan-task)
Your own site
<a href="https://agentmods.dev/skills/siarhei-belavus/agent-public/plan-task"><img src="https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/plan-task.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00032 $0.02317
Opus 5 $0.00016 $0.01158
Sonnet 5 $0.00006 $0.00463
Haiku 4.5 $0.00003 $0.00232

Measured 5d ago against content hash b1b34c309c74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

plan-task 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 5d 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.

skills/atelier-workflow/plan-task/SKILL.md · 182 lines

How it starts

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

plan-task

Turn ambiguous engineering work into a concrete execution contract. Plan for a fresh implementer, not for the current chat.

Assume the plan will be followed strictly unless a human explicitly amends it. Assume implementation may happen in a clean context window with no access to prior conversation.

Read first

  • ../references/task-packet-contract.md
  • ../references/persistent-artifacts-contract.md
  • ../references/compatibility-policy.md
  • ../references/ownership-and-reuse-policy.md
  • ../references/final-state-authoring-policy.md
  • ../references/initiative-workflow-contract.md when planning an initiative child packet
  • ../../references/communication-mode.md
  • relevant tracked AGENTS.md chain
  • applicable AGENTS.override.md only if local execution constraints matter

Planning workflow

  1. Establish scope.
    • Clarify the exact task, desired outcome, constraints, and what is out of scope.
    • Prefer concrete deliverables over vague goals.
    • Name the real acceptance criteria early.
  2. Identify the true change surface.
    • Find the owner modules, state transitions, APIs, persistence paths, tests, and tracked AGENTS.md constraints the task will affect.
    • Distinguish direct change points from incidental neighbors.
    • Distinguish internal boundaries from real external boundaries relative to the service.
    • If the task is lifecycle-heavy, treat restart, retry, cancellation, and recovery as first-class planning concerns.
  3. Resolve ownership and reuse first.
    • Identify the current owner for each important behavior, invariant, or responsibility.
    • Prefer reusing, extending, or slightly refactoring that existing owner over introducing a parallel entity.
    • If existing code is close but awkward, plan a tidy-first refactor that makes reuse possible.
    • Only allow a new helper/service/adapter/store/module/type when the new boundary is explicitly different and non-overlapping.
    • If the plan would leave two same-purpose entities alive, treat that as a design problem and rewrite the plan.
  4. Resolve compatibility policy correctly.
    • Backward compatibility is prohibited by default.
    • Do not add compatibility work to the plan unless the human explicitly asked for it.
    • If the task touches a real external boundary and compatibility requirements are unresolved, stop and ask the human explicitly whether backward compatibility is required.
    • For internal-only changes, do not ask; plan the clean internal change with no compatibility scaffolding.
  5. Write the target state, not the migration story.
    • Describe the intended steady state directly: final owners, final vocabulary, final status model, final artifact layout.
    • Do not write canonical plan steps as old + new, keep this for now, add another path, or similar transition prose when the clean final design is already known.
    • If a real external boundary truly requires compatibility work, keep the steady-state owner and current contract obvious in the plan.
  6. Bootstrap the packet.
    • Create or update .plans/<task-slug>/INDEX.md.
    • Create empty canonical placeholders for AMENDMENTS.md and ARTIFACT_CANDIDATES.md immediately, even if they are still empty.
    • Ensure INDEX.md points to those files from the first packet version.
    • BRIEF.md is optional. Use it only when discovery output needs to be normalized into a compact handoff artifact before writing PLAN.md.
    • grill-me may populate BRIEF.md; plan-task may normalize, complete, or create it if discovery context has not yet been captured cleanly.
  7. Define success before steps.
    • State the observable behavior that must be true when the task is done.
    • Define validation early: tests, checks, smoke paths, or user-visible outcomes.
    • Call out unknowns, assumptions, and risky edges before finalizing sequencing.
  8. Slice the work into low-risk increments.
    • Prefer steps that keep the system coherent after each increment.
    • Separate foundational refactors from behavior changes unless combining them is clearly safer.
    • Favor plans that are easy to review and easy to revert.
  9. Plan for amendment, not improvisation.
    • State exact stop conditions.
    • Make it explicit that implementation must stop if the plan becomes unsafe, impossible, or contradicted by the codebase.
    • Require amendment flow: blocker, options, pros/cons, plan impact, human decision, packet update.
    • If a better but non-essential design appears during implementation, require a REVIEW_NOTE rather than silent deviation.
  10. Optimize for human maintainability.
  • Minimize how much context a human must hold at once.
  • Prefer plans that centralize risky logic, reduce change amplification, and keep ownership obvious.
  • Avoid plans that require many synchronized edits unless there is no safer alternative.
  1. Make the plan self-sufficient for handoff.
  • Name the concrete target models, contracts, files, artifact paths, and boundaries instead of relying on chat shorthand.
  • Include exact terminology when names affect correctness.
  • State failure behavior and unsupported-capability behavior explicitly when implementation would otherwise have to guess.
  1. Produce the plan.
  • Write PLAN.md as the canonical execution contract.
  • Keep the steps ordered, imperative, and dependency-aware.
  • If likely durable residue is already obvious, note it in ARTIFACT_CANDIDATES.md; do not write tracked AGENTS.md.

Read the full file on GitHub · 182 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. 5d ago First seen · 182 lines · 32 tokens per session scan A b1b34c309c74

Subscribe to this mod's changes

plan-task is a skill published in the GitHub repository siarhei-belavus/agent-public (2 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 2,317 once invoked, about $0.0002 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

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 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

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