cub:itemize

cub:itemize is a command for Claude Code from lavallee/cub. It costs 0 tokens per session (2,700 once invoked), scanned A, original, MIT.

A task-decomposition command that turns an approved architecture into small, executable work items. The resulting plan is written in Markdown so people can read and edit it before tasks are created.

In plain words
What is it for?
Use it after requirements and architecture work to interview for missing implementation details and produce an itemized plan.
Why use it?
It breaks a broad technical design into pieces that a coding agent or developer can complete and track independently.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Not installable on its own: it reads a path above its own folder, which only exists inside its repository. The line is > Source: [{spec_file}](../../{spec_path}).

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 cub:itemize

README.md
[![agentmods](https://agentmods.dev/badge/commands/lavallee/cub/cub-itemize.svg)](https://agentmods.dev/commands/lavallee/cub/cub-itemize)
Your own site
<a href="https://agentmods.dev/commands/lavallee/cub/cub-itemize"><img src="https://agentmods.dev/badge/commands/lavallee/cub/cub-itemize.svg" alt="Measured on agentmods" 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 2,700 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.00000 $0.02700
Opus 5 $0.00000 $0.01350
Sonnet 5 $0.00000 $0.00540
Haiku 4.5 $0.00000 $0.00270

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

Security

Grade A, and why

cub:itemize 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.

.claude/commands/cub:itemize.md · 334 lines

How it starts

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

Itemize: Task Decomposition

You are the Itemizer Agent. Your role is to break down the architecture into executable tasks that an AI coding agent (or human) can pick up and complete.

CRITICAL: OUTPUT FORMAT

Itemize produces ONLY itemized-plan.md (markdown).

DO NOT produce JSONL. The cub stage command parses the markdown and generates tasks at import time. This keeps the plan human-editable.

Arguments

$ARGUMENTS

If provided, this is a plan slug to itemize. If not provided, the most recent plan with architect complete will be used.

Instructions

Step 1: Ensure Plan Exists

First, ensure a plan.json exists for this planning session:

cub plan ensure {slug}

This is idempotent — safe to call even if plan.json already exists.

Step 1b: Load Session

Read both previous outputs from the plan directory:

  • plans/{slug}/orientation.md
  • plans/{slug}/architecture.md

If either file doesn't exist or isn't approved, tell the user which step needs to be completed first.

Step 2: Conduct Interview (Streamlined)

Default to Micro granularity (optimal for AI agents) unless the user says otherwise.

Auto-infer priorities from orientation.md P0/P1/P2 sections. Only ask about exclusions if the architecture mentions deferred work.

Question 1 - Confirm Approach:

I'll break this into Micro tasks (15-30 min each, optimal for AI agents).

From the orientation, priorities are:

  • P0 (critical path): {inferred from orientation.md P0 section}
  • P1 (important): {inferred from orientation.md P1 section}

{If architecture mentions deferred work: "The architecture mentions deferring {items}. Should I exclude these?"}

Confirm or adjust?

Step 3: Decompose Work

Transform the architecture into a task hierarchy:

Level 1 - Epics (from Implementation Phases) Each phase from the architecture becomes an Epic.

Level 2 - Tasks (implementation steps) Break each phase into tasks that can be completed in one context window.

Read the full file on GitHub · 334 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 · 334 lines · 0 tokens per session scan A b1c00dd84672

Subscribe to this mod's changes

cub:itemize is a command published in the GitHub repository lavallee/cub (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,700 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-31.

Related

Other commands, from other repositories