release-baseline

release-baseline is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (1,232 once invoked), scanned A, original, MIT.

A release-baseline command that records the project’s state after a release and separates stable documentation from documents that can keep changing.

In plain words
What is it for?
Use it after a release to archive the handover notes and create a documented baseline covering the architecture, technology, decisions, and completed work.
Why use it?
It gives the team a fixed reference point after shipping, making later changes easier to compare with the released version.

Command for Claude Code

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

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/release-baseline
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 release-baseline

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/release-baseline.svg)](https://agentmods.dev/commands/jonase47/ccpr/release-baseline)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/release-baseline"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/release-baseline.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 1,232 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.01232
Opus 5 $0.00000 $0.00616
Sonnet 5 $0.00000 $0.00246
Haiku 4.5 $0.00000 $0.00123

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

Security

Grade A, and why

release-baseline 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 2d 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/release-baseline.md · 120 lines

How it starts

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

/release-baseline – Set project state as baseline

Makes a "cut" after a release: project state is documented as given, HANDOVER is archived and summarized, docs are split into Frozen/Active.

Argument: $ARGUMENTS = [Release version, e.g. "v1.0.0"]

Prerequisites

  • Gate-P7 Go or explicit user request

Execution

1. Read prep report

Read docs/.baseline-prep.md (created via baseline.sh). If not present or older than 10 min: inform the user that ~/.claude/scripts/baseline.sh [version] [projectdir] should be run first.

2. Create BASELINE.md

Create docs/BASELINE.md:

# Baseline: [Version]

**Release**: [Version]
**Date**: [DD.MM.YYYY]
**Status**: [e.g. MVP completed, all gates P0-P7 passed]

## Project State Summary
[Take HANDOVER summary from prep report. If not available: summarize from HANDOVER.md yourself (max. 10 sentences)]

## Core Architecture
[3-5 sentences from docs/architecture/ARCHITECTURE.md – architecture style, main components, deployment model]

## Tech Stack
[Bullet points from .claude/CLAUDE.md or docs/architecture/TECH_STACK.md]

## Completed Milestones
[Table from docs/planning/PROJECT_PLAN.md – completed milestones only]

## Important Decisions
[Take from .claude/CLAUDE.md "Important Decisions" table]

3. Update project CLAUDE.md

Add a "Baseline" section after "Current Phase" (before "Project goals"):

## Baseline
**Release**: [Version] ([Date])
**Status**: [e.g. MVP completed, all gates P0-P7 passed]

### Frozen Docs (read only when needed)
- docs/discovery/ (P0)
- docs/concept/ (P1)
- docs/validation/ (P2)
- docs/architecture/ (P3)
- docs/planning/PROJECT_PLAN.md (milestones)

### Active Docs (at every session start)
- docs/HANDOVER.md (Handover)
- docs/BASELINE.md (reference)
- docs/planning/BACKLOG.md (current work)
- docs/planning/SPRINT.md (current sprint)

If a Baseline section already exists: update it (version, date, status).

4. Reset HANDOVER.md

Before creating the fresh file, scan the current docs/HANDOVER.md for inbox entries: lines matching commands/cleanup.md §1's marker pattern (grep -c '^- INBOX [|]' docs/HANDOVER.md). baseline.sh already copies the whole file into the archive (see prep report), so this step is not the rescue — it is what keeps an untriaged finding in the triage loop instead of letting it go quiet inside the archive: a release cut is not a triage decision and must not silently drop the finding on the reader's behalf. A blocking guard would not help here either (the file is archived either way, and a guard that holds up a release just gets bypassed) — carry the entries forward instead.

Read the full file on GitHub · 120 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. 2d ago First seen · 120 lines · 0 tokens per session scan A c33cabda90ad

Subscribe to this mod's changes

release-baseline is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,232 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.