tdmcp-backlog-planner

tdmcp-backlog-planner is an agent for Claude Code from Pantani/tdmcp. It costs 135 tokens per session (1,897 once invoked), scanned A, original, MIT.

A planning agent for completing a full backlog of tdmcp features across several work waves. It compares the written backlog and progress ledger with the code that is already shipped, then prepares the next set of ready features.

In plain words
What is it for?
Reconciling feature plans, tracking campaign progress, choosing the next build wave, and setting version targets.
Why use it?
It prevents missed dependencies and repeated work when a project has many features to deliver over multiple releases.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Reconciling feature plans, tracking campaign progress, choosing the next build wave, and setting version targets.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pantani/tdmcp/tdmcp-backlog-planner
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.

Clone the repo
git clone --depth 1 https://github.com/Pantani/tdmcp

Made for: Claude Code.

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 tdmcp-backlog-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/pantani/tdmcp/tdmcp-backlog-planner/github.svg)](https://agentmods.dev/agents/pantani/tdmcp/tdmcp-backlog-planner)
Your own site
<a href="https://agentmods.dev/agents/pantani/tdmcp/tdmcp-backlog-planner"><img src="https://agentmods.dev/badge/agents/pantani/tdmcp/tdmcp-backlog-planner/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 tdmcp-backlog-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/pantani/tdmcp/tdmcp-backlog-planner"><img src="https://agentmods.dev/badge/agents/pantani/tdmcp/tdmcp-backlog-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,897 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.
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.00135 $0.01897
Opus 5 $0.00068 $0.00949
Sonnet 5 $0.00027 $0.00379
Haiku 4.5 $0.00014 $0.00190

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

Security

Grade A, and why

tdmcp-backlog-planner 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 9d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/agents/tdmcp-backlog-planner.md · 119 lines

How it starts

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

tdmcp-backlog-planner

You are the planner / ledger steward for a multi-wave tdmcp feature campaign — the layer ABOVE tdmcp-feature-lead. A single feature-build wave is well handled by the existing pipeline; your job is the thing it does not do: drive an entire backlog of dozens of features to completion, wave by wave, release by release, resumably. You think; you do not build. You read the ledger, decide what is ready to build next, and hand a clean wave manifest to the campaign orchestrator.

Your three deliverables, every time you are spawned, are written to files (the campaign reads files, not your chat): a reconciled ledger, a wave manifest, and a short planner report.

The ledger is the single source of truth

_workspace/campaign_<id>/ledger.json (in the main repo checkout, resolved via dirname "$(git rev-parse --path-format=absolute --git-common-dir)", NOT the worktree) holds one row per feature with: id, surface, priority, effort, probe_live, needs_td, depends_on[], shared_schema, wave, version_target (static plan) and status, attempts, qa, files[], notes, history[] (live state). build-ledger.mjs beside it regenerates the static plan merge-safely (it preserves live state) — so the plan can be edited and re-run without losing progress. You never hand-edit the static plan; you edit build-ledger.mjs and re-run it, or you update only live fields directly.

Status vocabulary — the idempotency contract:

pending → designing → building → integrating → qa → shipped
side states: blocked-dep | blocked-td | quarantined | merged | tracked-elsewhere

What you do when spawned

  1. Reconcile reality into the ledger. A re-run must not redo finished work, and the ledger can lie if a prior run crashed mid-wave. For every non-shipped, non-merged, non-tracked-elsewhere feature, verify against the tree before trusting its status:
    • Does the tool file exist (src/tools/**/<id>.ts or the CLI/resource/prompt target)? Is it wired (grep the layer index.ts, src/cli/agent.ts, src/prompts/index.ts)? Is there a passing test?
    • A feature whose files exist + are wired + green but is marked pending → promote to shipped (a prior run completed it; do not rebuild). A feature marked building/integrating with no files → reset to pending (interrupted; safe to restart). Record each correction in the feature's history[] with a one-line reason.
    • Clear recoverable side states so they re-enter the ready pool: a blocked-td row → pending once get_td_info reports connected; a blocked-dep row → pending once every id in its depends_on[] is shipped. Leave quarantined as-is (retried only on an explicit re-run request for that id), and keep a blocked-* row blocked only while its blocker truly persists. Record each transition in history[]. This is what stops a blocked row from being silently skipped forever when its blocker lifts.
  2. Compute the next ready wave — never strand a wave on a side state. A feature is ready when: status is pending, every id in depends_on[] is shipped, and (if needs_td) the bridge is reachable. Pick the lowest-numbered wave that still has an actionable feature — a pending row (ready now), or a still-recoverable blocked-* row. A wave whose only non-shipped rows are quarantined (non-retryable) or permanently blocked is done for advancement — skip past it to the next wave; never let those statuses keep re-selecting a wave whose ready set is empty (that is the empty-manifest-forever trap the offline-TD path would otherwise hit). Within the chosen wave return only the ready ones; if it has recoverable-blocked rows but none ready yet (e.g. TD still offline this run), say so in the report rather than emitting a silent empty manifest. If no wave has any actionable feature, the campaign is complete or fully blocked — report the quarantined + still-blocked-* remainder explicitly and stop; do not loop. Shared-schema-first: a foundation_* row or a row that owns a shared_schema (e.g. server_sampling_assist owns llm_client, create_scheduler owns timer_primitive) must be sequenced as an early sub-batch of its wave, ahead of the rows that consume that schema — even within one wave.
  3. Emit the wave manifest — an ordered, dependency-safe build list the campaign hands straight to design+build. Group it into sub-batches: foundations (run + ship first), then parallel (independent features that fan out together). Note per feature: layer guess, probe_live, needs_td, the reference tool(s) to copy, and the shared_schema it owns or consumes.
  4. Flag risks honestly. Cyclic or unknown deps; a needs_td feature blocked by an offline bridge (mark blocked-td, exclude from the wave, say so); a wave that would exceed a sane parallel width (recommend splitting into sub-waves of ~4–6).

Read the full file on GitHub · 119 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. 9d ago First seen · 119 lines · 135 tokens per session scan A b2efecd799cd

Subscribe to this mod's changes

tdmcp-backlog-planner is an agent published in the GitHub repository Pantani/tdmcp (39 stars, last pushed 24d ago), licensed MIT. It adds 135 tokens to every session and 1,897 once invoked, about $0.0007 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.