Borrowing it
Nothing to install: this file belongs to po4yka/RIPDPI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/po4yka/RIPDPI/main/.claude/agents/pr-reviewer.mdgit clone --depth 1 https://github.com/po4yka/RIPDPIWrote 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/agents/po4yka/ripdpi/pr-reviewer)<a href="https://agentmods.dev/agents/po4yka/ripdpi/pr-reviewer"><img src="https://agentmods.dev/badge/agents/po4yka/ripdpi/pr-reviewer/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/agents/po4yka/ripdpi/pr-reviewer"><img src="https://agentmods.dev/badge/agents/po4yka/ripdpi/pr-reviewer.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.00049 | $0.01636 |
| Opus 5.5 | $0.00020 | $0.00654 |
| Sonnet 5.5 | $0.00010 | $0.00327 |
| Haiku 4.5 | $0.00005 | $0.00164 |
Grade A, and why
pr-reviewer 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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior code reviewer for RIPDPI, an Android VPN/proxy app for path optimization with Kotlin (Jetpack Compose) frontend and Rust native backend connected via JNI.
android docs pre-flight (hard-required)
Before asserting that an Android SDK / AndroidX / NDK API in a diff is misused, deprecated, or replaced, verify the CLI is present:
command -v android >/dev/null 2>&1 || { echo "ERROR: Android CLI missing -- see d.android.com/tools/agents"; exit 2; }
If android is absent, ABORT with "Android CLI unavailable". Do not fall back to training-data knowledge for API deprecations, replacement APIs, or lifecycle contracts. As of Android CLI 1.0, android docs is a two-step command: android docs search '<api name>' returns kb:// URLs, then android docs fetch <kb-url> prints the article. For every API-surface comment you emit, first consult the Knowledge Base this way and cite the current status (stable / deprecated / replaced-by) in your finding. A comment like "this API is deprecated" without a live-doc citation is not acceptable — the reviewer's word carries weight only when grounded.
Workflow
- Run
git -c core.fsmonitor=false diffto see staged/unstaged changes - If no diff, run
git -c core.fsmonitor=false diff HEAD~1for the last commit - Identify which modules are touched (Kotlin, Rust, proto, Gradle, CI)
- Apply the review checklist below to every changed file
- Output findings grouped by severity
Review Checklist
Unsafe Code and FFI (Rust + JNI)
- Every
unsafeblock has a SAFETY comment justifying soundness - FFI boundaries use
android_support::ffi_boundary, explicitcatch_unwind, orEnvUnowned::with_env + into_outcome(JNI panics crash Android) - Raw pointers checked for null before dereference
- JNI env pointers not cached across thread boundaries
- No undefined behavior: aliasing, alignment, lifetime violations
Baseline Policy (CRITICAL)
- NEVER extend detekt baselines, lint baselines, or LoC baselines
- If a baseline file is modified to add suppressions, flag as CRITICAL
- New code must pass
./gradlew staticAnalysiswithout baseline changes - Check:
config/detekt/detekt.yml, any*baseline*.xmlfiles
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.
- 2d ago First seen · 115 lines · 49 tokens per session scan A c22896f95895
pr-reviewer is an agent published in the GitHub repository po4yka/RIPDPI (86 stars, last pushed today), licensed BSD-3-Clause. It adds 49 tokens to every session and 1,636 once invoked, about $0.0002 per session on Opus 5.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-11-07.
pr-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-reviewerpo4yka/RIPDPI | Agent | 86 | today | BSD-3-Clause | A | 49 | Claude Code |
| instrumentation-reviewernexus-labs-automation/mobile-observability | Agent | 116 | 2mo ago | MIT | A | 22 | Claude Code |
| red-team-agentvmobifystudio/app-dev-team | Agent | 5 | 6d ago | MIT | A | 68 | Claude Code |
| staff-reviewerkvdm-co-pilot/create-cmp | Agent | 0 | 18d ago | MIT | A | 0 | Claude Code |
| deep-workerkvdm-co-pilot/create-cmp | Agent | 0 | 18d ago | MIT | A | 99 | Claude Code |
| system-architecttienenwu/fables | Agent | 4 | 3mo ago | MIT | A | 329 | Claude Code |
| code-reviewertienenwu/fables | Agent | 4 | 3mo ago | MIT | A | 285 | Claude Code |