gate-p1

gate-p1 is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (2,103 once invoked), scanned A, original, MIT.

A quality checkpoint between the conception and validation phases of a project. It checks whether the conception results are complete and robust enough for the next phase.

In plain words
What is it for?
Run it to prepare a project for validation. It checks the complete current checklist and accepts no arguments.
Why use it?
It helps find missing product and planning information before validation begins. The review checks items such as users, journeys, features, business assumptions, and data-protection considerations.

Command for Claude Code

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

Good fit Run it to prepare a project for validation. It checks the complete current checklist and accepts no arguments.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jonase47/ccpr/gate-p1"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/gate-p1.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 2,103 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.02103
Opus 5.5 $0.00000 $0.00841
Sonnet 5.5 $0.00000 $0.00421
Haiku 4.5 $0.00000 $0.00210

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

Security

Grade A, and why

gate-p1 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.

commands/gate-p1.md · 149 lines

How it starts

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

/gate-p1 – Quality Gate 1: Conception → Validation

Checks whether all results of the conception phase are complete and robust, and prepares the transition to the validation phase. No argument – this gate always checks the complete checklist.

No Argument ($ARGUMENTS not applicable)

Gate commands do not accept arguments. They always check the complete current project status.

Execution

1. Read Preflight Report

Read docs/.gate-preflight-p1.md as the primary source of information. This report contains:

  • Artefact existence and mandatory sections (mechanically checked)
  • Content check (regex-based: personas, journeys, MoSCoW, Canvas, break-even, DSGVO)
  • Document summaries (via Ollama, if available)

If the preflight report does not exist or is older than 10 minutes, read the conception documents directly instead — always start with the phase index:

  1. docs/concept/CONCEPT.md (phase index) — gives you the detail-file table, key decisions, open risks.
  2. From the index's detail-file table, load only the detail files you need to confirm content:
    • docs/concept/USER_JOURNEYS.md (personas, journeys, scenarios)
    • docs/concept/FEATURES.md (feature catalogue + MVP Scope Boundary section — MVP.md no longer exists)
    • docs/concept/BUSINESS_MODEL.md (Canvas, value proposition, pricing)
    • docs/concept/FINANCIAL_PLAN.md (cost structure, revenue forecast, break-even, assumptions register)
    • docs/concept/DSGVO_INITIAL_ASSESSMENT.md (data classification, legal bases, obligations)
  3. P0 reference: docs/discovery/DISCOVERY.md (phase index) for problem statement / target audience continuity.

1a. Constitution Inviolables (mandatory pre-gate)

If docs/CONSTITUTION.md exists, the preflight report (docs/.gate-preflight-p1.md) includes a section "Constitution Inviolables (Required Read)" with the project's non-negotiable rules.

These Inviolables are mandatory input for the gate:

  • Include the Inviolable bullets verbatim in the agent prompt (Step 2 below).
  • The agent must check each evaluated phase-decision against the Inviolables.
  • Any violation is an "Inviolable breach" — surface it explicitly in the verdict and treat it as a No-Go signal (Conditional Go only if the user explicitly waives; document the waiver).

Read the full file on GitHub · 149 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. 1mo ago Changed 0caaea2f18db
  2. 1mo ago Changed 53e34d620f7e
  3. 1mo ago Changed · +3 lines 91bd343759a6
  4. 1mo ago First seen · 146 lines · 0 tokens per session scan A 5f5c03a4ebe1

Subscribe to this mod's changes

gate-p1 is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed 26d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,103 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.