prr

prr is a command for Claude Code from luanpdd/kit-mcp. It costs 43 tokens per session (2,698 once invoked), scanned A, original, MIT.

A command for checking whether a service or feature is ready for production across architecture, monitoring, emergency response, capacity, change management, and performance.

In plain words
What is it for?
Use it to review an existing production service or assess a feature before launch, including rollback plans, alerts, load capacity, and performance limits.
Why use it?
It exposes launch risks and missing safeguards before a service or feature reaches users, then records whether it is approved, conditionally approved, or blocked.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Good fit Use it to review an existing production service or assess a feature before launch, including rollback plans, alerts, load capacity, and performance limits.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/luanpdd/kit-mcp/prr
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/luanpdd/kit-mcp

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 prr

README.md
[![agentmods](https://agentmods.dev/badge/commands/luanpdd/kit-mcp/prr.svg)](https://agentmods.dev/commands/luanpdd/kit-mcp/prr)
Your own site
<a href="https://agentmods.dev/commands/luanpdd/kit-mcp/prr"><img src="https://agentmods.dev/badge/commands/luanpdd/kit-mcp/prr.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 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,698 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.00043 $0.02698
Opus 5 $0.00022 $0.01349
Sonnet 5 $0.00009 $0.00540
Haiku 4.5 $0.00004 $0.00270

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

Security

Grade A, and why

prr 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 4d 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.

kit/commands/prr.md · 206 lines

How it starts

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

6 axes obrigatórios (pular um = aprovação inválida):

  1. System Architecture — design, dependencies, blast radius, isolation
  2. Instrumentation/Metrics/Monitoring — 4 golden signals, SLOs, alerting
  3. Emergency Response — runbooks, on-call, rollback, communication
  4. Capacity Planning — load testing, scaling, headroom
  5. Change Management — canary, feature flags, rollback < 60s
  6. Performance — latency budgets, throughput, optimization

Cria/Atualiza:

  • .planning/prr/<service>.md (Modo A) OR .planning/prr/feature-<slug>.md (Modo B) — PRR-REPORT.md scored

Após: o user tem decisão Approved / Approved with conditions / Blocked + lista canônica de P0 items por axe + reviewer signature. Phase 40 INT-FW-V2-02 integra /concluir-marco com gate PRR opcional.

Modo A: --service <name> (audit de serviço existente)

Para serviços já em production OU prestes a entrar — agent lê schema (Supabase MCP), Edge Functions code, SLOs definidos (.planning/slos/), advisors. Output: .planning/prr/<service>.md.

Modo B: --feature <description> (audit pré-launch)

Para feature em design/dev — agent lê design docs, SLOs propostos, código WIP. Output: .planning/prr/feature-<slug>.md.

Engagement models (cap 32):

  • simple — outage cost < $1k/min OR internal tool — 4-8h, 1 sessão
  • early — outage cost $1k-100k/min OR customer-facing — semanas, SRE no design
  • platform — outage cost > $100k/min OR built on Frameworks/SRE Platform — PRR é confirmação

Flags:

  • --engagement <simple|early|platform> — engagement model (default: AskUserQuestion baseado em outage cost)
  • --reviewer <@handle> — handle do reviewer SRE (default: AskUserQuestion — NUNCA pode ser team dev, anti-pattern auto-PRR)
  • --outage-cost <usd> — custo de outage por minuto (default: AskUserQuestion para escolher engagement)
  • --output <path> — caminho do output (override de default canônico)

Exemplos:

/prr --service orders-api                                          # Modo A — defaults
/prr --service orders-api --engagement early --reviewer @ops-lead  # Modo A com config
/prr --feature "RAG sobre documentos privados" --reviewer @sre     # Modo B
/prr --service edge-process-emails --engagement simple             # Edge Function simples

Pré-requisito (Full mode): projeto Supabase configurado, mcp__supabase__* disponível. Modo offline funciona com fallback graceful (filesystem only — itens MCP-dependentes ficam EVIDENCE_PENDING_MCP).

1. Parsear argumentos (2 modos)

SERVICE=$(echo "$ARGUMENTS" | grep -oE -- '--service [^ ]+' | awk '{print $2}')
FEATURE=$(echo "$ARGUMENTS" | grep -oE -- '--feature "[^"]+"' | sed 's/--feature //; s/^"//; s/"$//')
ENGAGEMENT=$(echo "$ARGUMENTS" | grep -oE -- '--engagement [^ ]+' | awk '{print $2}')
REVIEWER=$(echo "$ARGUMENTS" | grep -oE -- '--reviewer [^ ]+' | awk '{print $2}')
OUTAGE_COST=$(echo "$ARGUMENTS" | grep -oE -- '--outage-cost [^ ]+' | awk '{print $2}')
OUTPUT_PATH=$(echo "$ARGUMENTS" | grep -oE -- '--output [^ ]+' | awk '{print $2}')

# PT-BR: validar mutuamente exclusivos
if [ -n "$SERVICE" ] && [ -n "$FEATURE" ]; then
  echo "✗ Erro: --service e --feature são mutuamente exclusivos. Escolha um."
  exit 1
fi

# PT-BR: nenhum dos 2 → erro com sugestão
if [ -z "$SERVICE" ] && [ -z "$FEATURE" ]; then
  echo "✗ Forneça --service <name> OU --feature \"<descrição>\""
  echo "  Exemplos:"
  echo "    /prr --service orders-api"
  echo "    /prr --feature \"RAG sobre documentos privados\""
  exit 1
fi

Read the full file on GitHub · 206 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. 4d ago First seen · 206 lines · 43 tokens per session scan A cfa599c1e75d

Subscribe to this mod's changes

prr is a command published in the GitHub repository luanpdd/kit-mcp (1 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 2,698 once invoked, about $0.0002 per session on Opus 5. 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.