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.
npx agentmods add skills/siarhei-belavus/agent-public/plan-tasknpx skills add siarhei-belavus/agent-public --skill plan-taskgit clone --depth 1 https://github.com/siarhei-belavus/agent-publicWrote 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.
[](https://agentmods.dev/skills/siarhei-belavus/agent-public/plan-task)<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>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.
| Model | Per session | Once 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 |
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.
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.mdwhen planning an initiative child packet../../references/communication-mode.md- relevant tracked
AGENTS.mdchain - applicable
AGENTS.override.mdonly if local execution constraints matter
Planning workflow
- 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.
- Identify the true change surface.
- Find the owner modules, state transitions, APIs, persistence paths, tests, and tracked
AGENTS.mdconstraints 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.
- Find the owner modules, state transitions, APIs, persistence paths, tests, and tracked
- 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.
- 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.
- 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.
- Bootstrap the packet.
- Create or update
.plans/<task-slug>/INDEX.md. - Create empty canonical placeholders for
AMENDMENTS.mdandARTIFACT_CANDIDATES.mdimmediately, even if they are still empty. - Ensure
INDEX.mdpoints to those files from the first packet version. BRIEF.mdis optional. Use it only when discovery output needs to be normalized into a compact handoff artifact before writingPLAN.md.grill-memay populateBRIEF.md;plan-taskmay normalize, complete, or create it if discovery context has not yet been captured cleanly.
- Create or update
- 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.
- 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.
- 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_NOTErather than silent deviation.
- 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.
- 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.
- Produce the plan.
- Write
PLAN.mdas 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 trackedAGENTS.md.
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.
- 5d ago First seen · 182 lines · 32 tokens per session scan A b1b34c309c74
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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
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.
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…
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…