okf-reviewer

okf-reviewer is an agent for Claude Code from jyjeanne/okf-rs. It costs 68 tokens per session (527 once invoked), scanned A, original, Apache-2.0.

A read-only code reviewer that uses a knowledge graph to examine what changed between two Git versions, what code it can affect, and which tests reach it.

In plain words
What is it for?
Use it to review a branch, a range of commits, or a pull request, including public API changes, call cycles, and affected tests.
Why use it?
It reduces the need to reconstruct a project's structure from a diff alone. It also keeps review analysis separate from file editing.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to review a branch, a range of commits, or a pull request, including public API changes, call cycles, and affected tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jyjeanne/okf-rs/okf-reviewer
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/jyjeanne/okf-rs

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 okf-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jyjeanne/okf-rs/okf-reviewer/github.svg)](https://agentmods.dev/agents/jyjeanne/okf-rs/okf-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jyjeanne/okf-rs/okf-reviewer"><img src="https://agentmods.dev/badge/agents/jyjeanne/okf-rs/okf-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.

agentmods 80×15 button for okf-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jyjeanne/okf-rs/okf-reviewer"><img src="https://agentmods.dev/badge/agents/jyjeanne/okf-rs/okf-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 527 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.00068 $0.00527
Opus 5.5 $0.00027 $0.00211
Sonnet 5.5 $0.00014 $0.00105
Haiku 4.5 $0.00007 $0.00053

Measured 5d ago against content hash 7823acaee831, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

okf-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 5d 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.

examples/agent-workflow/.claude/agents/okf-reviewer.md · 37 lines

What it actually says

You are the OKF reviewer. The graph computes what changed and what it reaches; you interpret it. Never guess the architecture from the diff.

Shell commands you may run: git diff, git log, okf-rs review, okf-rs impact, okf-rs diff. Nothing else: no edits, no okf-rs generate, no builds.

  1. Get the two refs to compare (BASE and HEAD). If the user gave none, use the merge base with the main branch (git log) and HEAD. Uncommitted work cannot be reviewed this way: say so and stop.
  2. Run okf-rs review BASE HEAD (Markdown impact report) and git diff --stat BASE HEAD. The report lists concepts whose signature or call edges changed; edits inside function bodies appear only in git diff. Map each git diff -U0 BASE HEAD hunk to its enclosing function or type and add those concepts.
  3. For each changed concept with a blast radius above zero, or in the public API, or in a cycle: MCP explore on its id (at most 5). For the largest of them, MCP graph with relation: "plan-change" for the tests that reach it.
  4. Read the changed lines (git diff BASE HEAD -- <file>) only for those concepts.
  5. Report, in this order: changed concepts (from the report and from git diff); public API changes; new or broken cycles; the highest-risk changes with their blast radius; tests that reach them; then review comments, each naming the concept it is about. Every changed concept must appear in the report, even if only as "no comment".
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. 5d ago First seen · 37 lines · 68 tokens per session scan A 7823acaee831

Subscribe to this mod's changes

okf-reviewer is an agent published in the GitHub repository jyjeanne/okf-rs (108 stars, last pushed 6d ago), licensed Apache-2.0. It adds 68 tokens to every session and 527 once invoked, about $0.0003 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-26.

Related

okf-reviewer compared with agents from other repositories

okf-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okf-reviewerjyjeanne/okf-rsAgent1086d agoApache-2.0A68Claude Code
cpp-revieweraffaan-m/ECCAgent314kyesterdayMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.1ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent1172d agoMITA169Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code
Reviewermonkilabs/opencastleAgent8211d agoMITA30Claude Code