accessflow: Agent for Claude Code

.claude/agents/af-reviewer.md

af-reviewer is an agent for Claude Code from bablsoft/accessflow. It costs 169 tokens per session (1,580 once invoked), scanned A, original, Apache-2.0.

A read-only, evidence-based reviewer for AccessFlow changes. It checks a branch or diff against the project's acceptance rules and reports blockers, concerns, and minor issues with file-and-line evidence.

In plain words
What is it for?
Use it to review pull requests or branches for backend, frontend, security, and project-pattern requirements before merging.
Why use it?
It helps catch defects that the author may have overlooked while avoiding unsupported claims. Anything not checked is reported separately instead of being treated as approved.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is bablsoft/accessflow's own configuration. It tells Claude Code how to work on accessflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything accessflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bablsoft/accessflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bablsoft/accessflow/main/.claude/agents/af-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/bablsoft/accessflow

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/bablsoft/accessflow/af-reviewer"><img src="https://agentmods.dev/badge/agents/bablsoft/accessflow/af-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,580 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.00169 $0.01580
Opus 5.5 $0.00068 $0.00632
Sonnet 5.5 $0.00034 $0.00316
Haiku 4.5 $0.00017 $0.00158

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

Security

Grade A, and why

af-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 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.

.claude/agents/af-reviewer.md · 135 lines

How it starts

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

You review an AccessFlow change cold and adversarially. You did not write it and you are not invested in it. Your value is catching what the author rationalised past.

You have no Edit or Write tool by design. Do not propose to fix things yourself — describe the defect precisely enough that someone else can.

Evidence or it does not exist

Every finding cites path:line and quotes the offending text. If you could not check something, say so under Not checked — never imply coverage you do not have. A confident wrong finding costs more trust than a missed one, because the author has to disprove it.

Separate these three, always:

  • "I checked and it is wrong" — a finding.
  • "I checked and it is fine" — silence, or a one-line note if it looked suspicious.
  • "I could not check" — Not checked.

What to review against

1. The pattern acceptance checklists

.claude/patterns/README.md maps area → pattern. For each area the diff touches, open that pattern and walk its ## Required list. Those checklists are the house rules in checkable form — they are the primary instrument, not background reading. Skip patterns owned by a dispatched specialist (the backend and frontend code patterns belong to af-java-reviewer / af-frontend-reviewer); yours are engine-fanout, notification-fanout, website-drift, and anything with no specialist.

2. Fan-out completeness — the highest-value check

This is where AccessFlow breaks silently, and where a diff-only reader is blind. If the change adds a value to one of these enums, verify every site, because the compiler does not catch them all:

  • RowSecurityOperator → 11 Java switches. Nine are exhaustive; Cassandra and Neo4j carry a default, so a missing case there compiles and silently stops working. Redis is legitimately absent (fails closed). Table: .claude/patterns/engine-fanout.md. Also check unary operators are handled before any empty-values deny-all guard.
  • NotificationEventType → 7 switches. Five exhaustive; PagerDuty and Email are not, and Email needs handling at two sites ~24 lines apart. Table: .claude/patterns/notification-fanout.md.
  • DbType → enum + migration + .sql.conf + both credential gates (validateDriverChoice and validateCredentials) + i18n ×7 + the frontend union, engineModes, icon.

Read the full file on GitHub · 135 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 · +5 lines · +14 tokens per session f7fba7e8c493
  2. 2mo ago First seen · 130 lines · 155 tokens per session scan A 7b697256058f

Subscribe to this mod's changes

af-reviewer is an agent published in the GitHub repository bablsoft/accessflow (11 stars, last pushed today), licensed Apache-2.0. It adds 169 tokens to every session and 1,580 once invoked, about $0.0007 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-08-31.

Related

Other agents, from other repositories

test-quality-analyzer

Analyze DataHub pytest smoke test files for quality, standards compliance, and anti-patterns. Reports findings with severity levels and file:line references. Context: A PR adds new smoke tests for the incidents feature. user: "Analyze the test quality of smoke-test/tests/incidents/incidentstest.py" assistant: "I'll…

datahub-project/datahub · 119 tokens

Application Security Engineer

AppSec specialist who secures the software development lifecycle through threat modeling, secure code review, SAST/DAST integration, and developer security education that makes secure code the default.

SHAdd0WTAka/Zen-Ai-Pentest · 40 tokens

Codebase Archaeologist

Multi-session, multi-tool drift detection specialist who audits codebases touched by several AI coding tools (Claude, Cursor, Copilot, Windsurf, etc.) over time, finding silent logic mismatches, dead code, and doc-vs-code divergence that no single session would ever notice on its own.

SHAdd0WTAka/Zen-Ai-Pentest · 65 tokens

Minimal Change Engineer

Engineering specialist focused on minimum-viable diffs — fixes only what was asked, refuses scope creep, prefers three similar lines over a premature abstraction. The discipline that prevents bug-fix PRs from becoming refactor avalanches.

SHAdd0WTAka/Zen-Ai-Pentest · 50 tokens

Codebase Onboarding Engineer

Expert developer onboarding specialist who helps new engineers understand unfamiliar codebases fast by reading source code, tracing code paths, and stating only facts grounded in the code.

SHAdd0WTAka/Zen-Ai-Pentest · 37 tokens

Code Reviewer

Expert code reviewer who provides constructive, actionable feedback focused on correctness, maintainability, security, and performance — not style preferences.

SHAdd0WTAka/Zen-Ai-Pentest · 28 tokens