p4-sprint

p4-sprint is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (4,309 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 for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit 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.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jonase47/ccpr/p4-sprint
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/jonase47/ccpr

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p4-sprint/github.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/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 p4-sprint

Your own site · 80×15
<a href="https://agentmods.dev/commands/jonase47/ccpr/p4-sprint"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p4-sprint.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 4,309 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.04309
Opus 5.5 $0.00000 $0.01724
Sonnet 5.5 $0.00000 $0.00862
Haiku 4.5 $0.00000 $0.00431

Measured 29d ago against content hash 0344e6c919fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 29d 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.

commands/p4-sprint.md · 296 lines

How it starts

The opening of the file, as written. The whole thing — 296 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 · 296 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. 29d ago Changed · +6 lines 0344e6c919fb
  2. 1mo ago Changed 222c576d8492
  3. 1mo ago Changed c62bea4036f1
  4. 1mo ago 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 29d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,309 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.