iaqualink-py: Command for Claude Code

.claude/commands/review.md

review is a command for Claude Code from flz/iaqualink-py. It costs 25 tokens per session (543 once invoked), scanned A, original, BSD-3-Clause.

A command for reviewing the changes on the current Git branch against the master branch, using a repository-specific checklist before a pull request.

In plain words
What is it for?
Use it to inspect a branch diff against the review rubric and report problems section by section.
Why use it?
It finds confidentiality, compatibility, correctness, and other review issues before proposed changes are submitted.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is flz/iaqualink-py's own configuration. It tells Claude Code how to work on iaqualink-py 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 iaqualink-py configures →

Reuse

Borrowing it

Nothing to install: this file belongs to flz/iaqualink-py. 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/flz/iaqualink-py/master/.claude/commands/review.md
Clone the repo
git clone --depth 1 https://github.com/flz/iaqualink-py

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 review

README.md
[![agentmods](https://agentmods.dev/badge/commands/flz/iaqualink-py/review/github.svg)](https://agentmods.dev/commands/flz/iaqualink-py/review)
Your own site
<a href="https://agentmods.dev/commands/flz/iaqualink-py/review"><img src="https://agentmods.dev/badge/commands/flz/iaqualink-py/review/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 review

Your own site · 80×15
<a href="https://agentmods.dev/commands/flz/iaqualink-py/review"><img src="https://agentmods.dev/badge/commands/flz/iaqualink-py/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 543 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.00025 $0.00543
Opus 5.5 $0.00010 $0.00217
Sonnet 5.5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00054

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

Security

Grade A, and why

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

.claude/commands/review.md · 57 lines

What it actually says

/review

Run the review rubric against the current branch.

Steps

1. Get the diff

git fetch origin master 2>/dev/null || true
BASE=$(git merge-base HEAD origin/master 2>/dev/null \
    || git rev-list --max-parents=0 HEAD)
git diff "$BASE"...HEAD

If the diff is empty, report "No changes vs master" and stop.

2. §0 — Confidentiality (hard blocker — check first)

Grep the diff for the patterns listed in .claude/review-criteria.md §0:

git diff "$BASE"...HEAD | grep -nP \
    '\.java\b|com\.zodiac\.|com\.amazonaws\.|networkmodule/|iaqualinkandroid/|RetrofitClient\b|NetworkClient\b|SecurityUtils\b|ApiHelper\b|UserAuthenticationManager\b'

Any hit is a hard blocker. Report each match as §0 <file>:<line> — <match>. Do not proceed with the rest of the review if §0 fails.

3. §1 — Protocol Correctness

Invoke the architecture-auditor subagent with the diff. Pass the full diff text as context. Report its output verbatim under §1.

4. §2–§10 — Remaining rubric sections

Work through each remaining section of .claude/review-criteria.md in order (§2 Async Correctness through §10 Spec Validation). For each section:

  • Read the diff against the criteria.
  • Report issues as: §<N> <file>:<line> — <one-line description>
  • If the section is clean: §<N> LGTM

5. Summary

After all sections: print a one-line summary.

  • If any blocker: BLOCKED — fix §<N> before opening PR
  • If issues but no blockers: ISSUES — address before merging
  • If all clean: LGTM — ready for PR

Notes

  • This command mirrors what the GitHub claude-code-review.yml bot runs on every PR. Running it locally closes the feedback loop before push.
  • Use git push --no-verify to skip the automated pre-push hook if you need to push work-in-progress.
  • To review a specific commit range: run /review then manually adjust the BASE ref if needed.
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. 2mo ago First seen · 57 lines · 25 tokens per session scan A 4d01071cf50a

Subscribe to this mod's changes

review is a command published in the GitHub repository flz/iaqualink-py (46 stars, last pushed 4d ago), licensed BSD-3-Clause. It adds 25 tokens to every session and 543 once invoked, about $0.0001 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-30.