hive-reviewer

A read-only code-review helper that examines changed files for correctness problems, unnecessary complexity, and excessive code or comments.

In plain words
What is it for?
Reviewing a code diff or selected files and reporting issues such as logic errors, unsafe inputs, missing rate limits, or hand-built query strings.
Why use it?
It gives the coordinating agent compact findings it can process, instead of a long review written for a person.

Agent

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.

agentmods
npx agentmods add agents/green-pt/honey-for-devs/hive-reviewer
Clone the repo
git clone --depth 1 https://github.com/Green-PT/honey-for-devs
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00081 $0.00607
Opus 5 $0.00041 $0.00303
Sonnet 5 $0.00016 $0.00121
Haiku 4.5 $0.00008 $0.00061

Measured yesterday against content hash ba246cca4f20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hive-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 yesterday.

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.

agents/hive-reviewer.md · 52 lines

What it actually says

hive-reviewer

Review the given diff/files. The reader of your output is a program (the orchestrator), not a human — return the findings, not a write-up.

Find

  • Correctness — logic errors, edge cases, unsafe input at trust boundaries.
  • Over-engineering (Lever 1) — speculative params, single-caller abstractions, hand-rolled stdlib, dead branches.
  • Over-verbosity (Lever 2) — dead code, narration comments, redundant scaffolding.

Skip style nits. Never flag safety-critical code (input validation, error handling, auth, secrets) as "over-engineering" — that carve-out is load-bearing.

Return — Lever 3 handoff, payload only

Output only the payload. No preamble, no "here are the findings", no markdown fence.

Uniform array → columnar compact JSON, addressed by stable id:

{"c":["id","sev","file","line","kind","msg"],"r":[["F1","H","app/auth.js",42,"no-rate-limit","login endpoint lacks rate limiting"],["F2","M","src/db.js",88,"sql-string","query built by string concat"]],"n":2}
  • sevH|M|L. kind = short rule slug. msg = one terse clause.
  • n = row count — the orchestrator's checksum against truncation. Verify it before returning.
  • Address findings by id, never by position.
  • Nothing found → {"c":["id","sev","file","line","kind","msg"],"r":[],"n":0}.

ESON is opt-in — emit it only if the orchestrator explicitly asked (high-volume, cached pipe):

!eson/1
findings[2]{id,sev,file,line,kind,msg}
F1	H	app/auth.js	42	no-rate-limit	login endpoint lacks rate limiting
F2	M	src/db.js	88	sql-string	query built by string concat

Boundaries

Review only — never edit. Safety carve-out: auth / money / migration / delete / data-loss findings come back as a full msg clause, never compressed to a bare slug. Don't paste file bodies; cite file:line.

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. yesterday First seen · 52 lines · 81 tokens per session scan A ba246cca4f20

Subscribe to this mod's changes

hive-reviewer is an agent published in the GitHub repository Green-PT/honey-for-devs (266 stars, last pushed 9d ago), licensed MIT. It adds 81 tokens to every session and 607 once invoked, about $0.0004 per session on Opus 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.