backlog

backlog is a command for Claude Code from thixpin/pitway. It costs 0 tokens per session (814 once invoked), scanned A, original, MIT.

A backlog tool for recording work discovered during a task but intentionally left outside its current scope.

In plain words
What is it for?
Use it to add, list, inspect, promote, or archive deferred work linked to tasks or milestones.
Why use it?
It lets you note extra work without making the current task larger, then review, promote, or archive those items later.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to add, list, inspect, promote, or archive deferred work linked to tasks or milestones.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thixpin/pitway/backlog
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/thixpin/pitway

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 backlog

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thixpin/pitway/backlog"><img src="https://agentmods.dev/badge/commands/thixpin/pitway/backlog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 814 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.00000 $0.00814
Opus 5.5 $0.00000 $0.00326
Sonnet 5.5 $0.00000 $0.00163
Haiku 4.5 $0.00000 $0.00081

Measured 1mo ago against content hash 67456785cd58, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backlog 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 1mo 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.

src/integrations/claude/commands/backlog.md · 60 lines

What it actually says

backlog

Role: Orchestrator (add, promote, archive) · either (list, show)

pitway backlog add --title <text> --reason <text> [--milestone <id>] [--task <id>] [--json]
pitway backlog list [--status pending|promoted|archived] [--milestone <id>] [--task <id>] [--json]
pitway backlog show <id> [--json]
pitway backlog promote <id> --task <id> [--milestone <id>] [--json]
pitway backlog archive <id> --reason <text> [--json]

Use when you discover work that is genuinely out of scope for the current task or milestone and want to continue without expanding it — capture it, keep going, deal with it later. backlog add works with no active milestone — it records source.milestone: null in that case, no milestone required. backlog promote still requires an active/resolvable milestone, since it targets a task, which is inherently milestone-scoped; only add's milestone coupling was removed.

  • backlog add --title <text> --reason <text> [--milestone <id>] [--task <id>] — records a pending item. --milestone/--task here are source annotation only (defaults to the active milestone — or null when none is active — and no task, when omitted) — they never control where the mutation's journal entry attaches (when a milestone is active, that is always the active milestone, unconditionally, with no override: .pitway/backlog.yaml is a shared file, not owned by any one milestone's directory, so letting a flag redirect attachment could misattribute a pending entry to a milestone that will never checkpoint it). With no active milestone, behavior is otherwise unchanged.
  • backlog list [--status pending|promoted|archived] and backlog show <id> — read-only.
  • backlog promote <id> --task <task-id> [--milestone <id>] — a pure terminal transition linking an already-existing task back to its backlog origin. --task/--milestone here mean the promotion target only (milestone defaults to the active one). This command never runs task-add/milestone-add itself — create the real task or milestone first, through the normal human-confirmed pipeline, then promote the backlog item to close the loop.
  • backlog archive <id> --reason <text> — a pure terminal transition, no --milestone/--task (archiving names no other work).

Both promoted and archived are terminal — pending is the only status either transition starts from.

.pitway/backlog.yaml is the authoritative backlog state, committed alongside whatever commit the workflow next produces — never a dedicated commit of its own, and never left dirty in a way that breaks a task's own clean-tree check. An item added while no milestone is active rides the next milestone-confirm baseline commit (M045); no chore commit is needed.

See ../protocol-driver.md's "Choosing a correction mechanism" section for when to reach for backlog instead of task-add or a quick-change. Run pitway backlog --help for flags.

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. 1mo ago First seen · 60 lines · 0 tokens per session scan A 67456785cd58

Subscribe to this mod's changes

backlog is a command published in the GitHub repository thixpin/pitway (20 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 814 tokens. 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.