dos-replan

dos-replan is a skill for Claude Code from anthony-chaudhary/dos-kernel. It costs 43 tokens per session (2,121 once invoked), scanned A, original, MIT.

A planning-maintenance procedure that reviews a work queue, closes items verified as shipped, updates cooldown information, and shows only decisions needing human attention.

In plain words
What is it for?
Refreshing a project’s planning state after dispatches, completed batches, or recurring findings, with an optional forced run.
Why use it?
It reduces stale queue entries and keeps an operator from having to review work that is already complete. A work queue is a list of pending tasks; a cooldown is a period before something is reconsidered.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dos-kernel plugin — 18 skills, 3 hooks, 1 MCP server shipped together

Good fit Refreshing a project’s planning state after dispatches, completed batches, or recurring findings, with an optional forced run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthony-chaudhary/dos-kernel/dos-replan
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.

Any agent
npx skills add anthony-chaudhary/dos-kernel --skill dos-replan
Clone the repo
git clone --depth 1 https://github.com/anthony-chaudhary/dos-kernel

Made for: Claude Code.

Or install dos-kernel, the plugin that ships this one along with the rest of its 18 skills, 3 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 dos-replan

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-replan.svg)](https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-replan)
Your own site
<a href="https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-replan"><img src="https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-replan.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,121 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 pass 7 Sept 2026
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.00043 $0.02121
Opus 5 $0.00022 $0.01060
Sonnet 5 $0.00009 $0.00424
Haiku 4.5 $0.00004 $0.00212

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

Security

Grade A, and why

dos-replan 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 8d 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-plugin/skills/dos-replan/SKILL.md · 178 lines

How it starts

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

dos-replan — the generic portfolio gardening sweep

The planning refresh that keeps the loop honest. Its domain-free core is small: a queue item whose phases now dos verify as shipped is closed; the operator should see only the 0-2 items that truly need a human. The heavy host-specific gardening passes (anchor reconciliation, soak-state drift, the postmortem evidence stream) are host driver hooks, scoped OUT of the generic baseline. Closure detection rides the truth syscall; the operator surface is the dos decisions queue.

The shape: read the queue → close what verifies as shipped → rank what's left → surface only what needs a human. Closure is a kernel call (dos verify); the operator inbox is the kernel's decisions projection.

Inputs

  • --force (optional) — run even if the no-op skip gate would fire (no new evidence since the last sweep).

Step 0 — Discover the layout

dos doctor --workspace . --json

Read paths (where the queue/cooldown state live) and stamp (the active ship grammar dos verify applies). Read the active trunk from config if you will gate a release later (see /dos-replan-loop).

Step 1 — No-op skip gate

If there is no new evidence since the last sweep (no new commits, no new findings) and --force was not given, print one line and exit cheap — writing nothing. This is the gate that keeps a recurring loop from doing 0-work sweeps; an unproductive replan (this skip, or a 0/0/0 sweep) must NOT arm the loop's drained-twice trigger (the kernel loop decision enforces that — report the productivity honestly so /dos-dispatch-loop reads it right).

Step 2 — Closure detection (the domain-free core, via the truth syscall)

For each open item in the queue, ask the kernel whether its phases have shipped:

dos verify --workspace . <PLAN> <PHASE> --json

If every phase of a queue item now reports shipped: true, the item is closed — move it from the open queue to the closed section. Never trust the plan doc's own stamp; the truth syscall is the source. This is the auto-close pass that keeps the queue from carrying already-shipped work as if it were pending.

Read the full file on GitHub · 178 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. 8d ago First seen · 178 lines · 43 tokens per session scan A 5cf9b3163294

Subscribe to this mod's changes

dos-replan is a skill published in the GitHub repository anthony-chaudhary/dos-kernel (19 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,121 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-30.