p4-sprint

p4-sprint is a command for coding agents from jonase47/ccpr. It costs 0 tokens per session (4,123 once invoked), scanned A, original, MIT.

A sprint-planning command that selects matching work from a backlog, defines a sprint goal, identifies risks, and creates a sprint document. A sprint is a short, fixed period in which a team commits to a set of development work.

In plain words
What is it for?
Use it at the start of each sprint to plan work such as completing an authentication flow or getting an MVP running. It can derive a goal from available backlog stories or use one you provide.
Why use it?
It connects the project backlog to the work the team is actually committing to next. This keeps sprint scope visible and makes risks easier to discuss before work starts.

Command

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.

agentmods
npx agentmods add commands/jonase47/ccpr/p4-sprint
Clone the repo
git clone --depth 1 https://github.com/jonase47/ccpr

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 p4-sprint

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p4-sprint.svg)](https://agentmods.dev/commands/jonase47/ccpr/p4-sprint)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/p4-sprint"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p4-sprint.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 4,123 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 $0.00000 $0.04123
Opus 5 $0.00000 $0.02062
Sonnet 5 $0.00000 $0.00825
Haiku 4.5 $0.00000 $0.00412

Measured today against content hash b5e7e204bec2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

p4-sprint 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 today.

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.

commands/p4-sprint.md · 290 lines

How it starts

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

/p4-sprint – Plan Sprint

Plans the current sprint: pulls matching stories from the backlog, defines the sprint goal, identifies risks, and creates the sprint document. Called repeatedly at the start of each new sprint.

Argument: $ARGUMENTS = [Sprint goal, e.g. "Complete auth flow", "MVP core running"]

If provided: Use as the sprint goal and select matching stories that support this goal, resolved via the work-item adoption guard below (falls back to reading BACKLOG.md prose, if the project is still on prose). If not provided: Read PROJECT_PLAN.md and derive a sensible sprint goal from the available story candidates (guard below). If no candidate stories exist, point this out and recommend running /p4-backlog first.

0. Work-item adoption guard (ADR-0002 §8)

/p4-backlog creates every story at Backlog (unstarted, re-selectable). Ready means "committed to a sprint" — nothing sets it except this command, when it actually pulls a story into the Sprint Table (step 2B). So the candidate POOL is Backlog, not Ready; /p5-implement correctly resolves its own selection from Ready, because this command is what populates it.

Run python3 ~/.claude/scripts/workitems.py list.

  • Non-empty array → the project uses the structured store. Select candidate stories via workitems list --status "Backlog" (step 2B) instead of reading BACKLOG.md prose for candidates — BACKLOG.md/backlog/E-0X-*.md remain readable for the full story text (title, description, acceptance criteria) once a candidate's id is known, but the candidate SET itself comes from the CLI, not from re-parsing prose.
  • [] and no docs/workitems/ directory → still on prose. Read BACKLOG.md for candidate stories, as before. Emit one line: "Tip: run lift to adopt the structured work-item store."
  • [] but docs/workitems/ exists → adopted store, just empty right now (e.g. everything already committed to a sprint or done). Treat as adopted: use the CLI — an empty Backlog list means no candidate stories, not "fall back to prose".

Read the full file on GitHub · 290 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. today First seen · 290 lines · 0 tokens per session scan A b5e7e204bec2

Subscribe to this mod's changes

p4-sprint is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,123 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-09-03.