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.
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboardingWrote 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.
[](https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/pr-risk)<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/pr-risk"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/pr-risk/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.
<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/pr-risk"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/pr-risk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02065 |
| Opus 5.5 | $0.00000 | $0.00826 |
| Sonnet 5.5 | $0.00000 | $0.00413 |
| Haiku 4.5 | $0.00000 | $0.00206 |
Grade A, and why
pr-risk 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Risk Assessment
Calculate a composite risk score across 5 dimensions before review or merge.
Step 1 — Determine Scope
Use $ARGUMENTS as the diff range if provided. Otherwise default to HEAD~1..HEAD.
Step 2 — Gather Raw Data
Run all of these:
# Size stats
git diff --shortstat $SCOPE
# File list with status (A=added, M=modified, D=deleted, R=renamed)
git diff --name-status $SCOPE
# Dependency file changes
git diff --name-only $SCOPE | grep -E "package\.json$|package-lock\.json|pnpm-lock\.yaml|yarn\.lock|requirements\.txt|uv\.lock|Pipfile\.lock|pom\.xml|build\.gradle|pubspec\.yaml|pubspec\.lock"
# Security-sensitive file changes
git diff --name-only $SCOPE | grep -iE "auth|login|token|jwt|crypto|secret|password|credential|permission|role|guard|interceptor|middleware|\.env|config/.*\.(yml|yaml|json)"
# Full diff for pattern analysis
git diff $SCOPE
Step 3 — Score Each Factor (0–10)
A. Size Risk
Use the higher of the file-count score and the line-count score.
| Score | Files changed | OR total lines changed |
|---|---|---|
| 0–2 | ≤ 5 | ≤ 100 |
| 3–4 | ≤ 10 | ≤ 300 |
| 5–6 | ≤ 20 | ≤ 600 |
| 7–8 | ≤ 40 | ≤ 1,000 |
| 9–10 | > 40 | > 1,000 |
B. Complexity Risk
Start at 0. Add points for each signal found in the diff. Cap at 10.
| Signal in diff | Points |
|---|---|
| Public interface or API contract changed (endpoint signature, DTO field, exported function) | +2 |
| Database schema or migration file added or modified | +3 |
| Auth, security, permission, or role logic changed | +3 |
| Async or concurrent code added or modified | +2 |
| New third-party integration added | +2 |
| CI/CD, Docker, or infrastructure config changed | +1 |
| Cross-cutting concern modified (logging, error handler, event bus, interceptor) | +1 |
C. Test Coverage Risk
Count files in the diff:
- Source files:
.ts,.java,.py,.dart,.kt,.swift,.js— excluding test files - Test files: paths containing
test,spec,__tests__,_test.,.test.,.spec.
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.
- 2mo ago First seen · 215 lines · 0 tokens per session scan A d69d129bd20f
pr-risk is a command published in the GitHub repository kumaran-is/claude-code-onboarding (37 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,065 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.
pr-risk compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-riskkumaran-is/claude-code-onboarding | Command | 37 | today | MIT | A | 0 | Claude Code |
| elegant-code-reviewathola/claude-night-market | Command | 353 | today | MIT | A | 27 | Claude Code |
| prp-commitFmarzochi/EGC | Command | 70 | today | Apache-2.0 | A | 15 | Claude Code |
| gsd:pr-branchkryptobaseddev/cleo | Command | 159 | yesterday | MIT | A | 24 | Claude Code |
| validate-pr-descriptionrjmurillo/ai-agents | Command | 49 | today | MIT | A | 22 | Claude Code |
| gitazrtydxb/procoder | Command | 212 | 14d ago | Apache-2.0 | A | 20 | Claude Code |
| karpathy-checkricneves-ai/flowgrammers-skills | Command | 118 | 1mo ago | MIT | A | 0 | Claude Code |