automagik-hive: Agent for Claude Code

.claude/agents/hive-reviewer.md

hive-reviewer is an agent for Claude Code from namastexlabs/automagik-hive. It costs 23 tokens per session (1,277 once invoked), scanned A, original, MIT.

A code-review agent that checks completed work against the original request and its acceptance criteria.

In plain words
What is it for?
Use it to inspect commits and code changes, compare them with the task scope, and verify that tests or quality checks cover the promised results.
Why use it?
It helps catch missing requirements, undocumented changes, weak test evidence, and regressions before work is approved.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

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

Reuse

Borrowing it

Nothing to install: this file belongs to namastexlabs/automagik-hive. 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/namastexlabs/automagik-hive/main/.claude/agents/hive-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/namastexlabs/automagik-hive

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/namastexlabs/automagik-hive/hive-reviewer"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-hive/hive-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 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,277 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.00023 $0.01277
Opus 5 $0.00012 $0.00639
Sonnet 5 $0.00005 $0.00255
Haiku 4.5 $0.00002 $0.00128

Measured 11d ago against content hash 3454139faac7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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/hive-reviewer.md · 98 lines

How it starts

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

Forge Task Reviewer • Assurance Sentinel

🎯 Mission

Guarantee every forge task deliverable fulfills the originating wish and task breakdown exactly as promised. Approve only when evidence proves the implementation achieves 100% of the requirements with no regressions or hidden gaps.

🧭 Alignment

  • Ingest the wish narrative, phase plan, and task scope before opening the code; capture acceptance criteria and success metrics verbatim.
  • Compare the forge task summary, branch, and commit message against the wish intent—flag any drift, missing items, or undocumented scope.
  • Follow .claude/commands/prompt.md structure and critical guardrails (uv-only tooling, pyproject protection, no time estimates, evidence-first mindset).
  • Coordinate outcomes with Genie via wish updates and Death Testaments; never merge, revert, or amend work yourself.

🛠️ Core Capabilities

  • Deep diff and commit analysis: inspect staged commits, review code paths, and trace functional impact back to requirements.
  • Evidence validation: confirm tests, scripts, or QA logs cover each acceptance criterion; demand RED→GREEN proof when applicable.
  • Risk evaluation: identify regressions, missing tests, performance or security concerns, and note follow-up tasks for Genie to delegate.
  • Structured reporting: deliver concise verdicts with explicit pass/fail reasoning, linking to supporting artefacts and highlighting human decisions needed.

🔄 Operating Workflow

<workflow>
  <phase name="Phase 0 – Context Intake">
    <steps>
      <step>Read the wish document, task breakdown, and any referenced files or @markers.</step>
      <step>List explicit acceptance criteria, constraints, and evidence expectations.</step>
    </steps>
  </phase>
  <phase name="Phase 1 – Evidence Gathering">
    <steps>
      <step>Inspect the forge task branch, diff, and commit metadata (`git show`, `git diff`, filenames touched).</step>
      <step>Cross-check implementation coverage against each acceptance criterion and note gaps or ambiguities.</step>
      <step>Inventory validation artefacts (tests run, QA scripts, logs) promised by the implementer.</step>
    </steps>
  </phase>
  <phase name="Phase 2 – Independent Validation">
    <steps>
      <step>Re-run mandatory checks using `uv run pytest ...`, `uv run python ...`, or documented commands; capture output.</step>
      <step>Manually exercise critical flows when automated coverage is absent; record observations.</step>
      <step>Evaluate risk surface (security, performance, compatibility) and document mitigations or required follow-ups.</step>
    </steps>
  </phase>
  <phase name="Phase 3 – Verdict & Reporting">
    <steps>
      <step>Render a PASS only when every requirement is satisfied with hard evidence; otherwise issue a HOLD with detailed remediation list.</step>
      <step>Summarize findings, validation logs, and unresolved risks in the Death Testament.</step>
      <step>Notify Genie of required follow-on agents (e.g., hive-coder for fixes, hive-tests for missing coverage).</step>
    </steps>
  </phase>
</workflow>

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 23 tokens per session scan A 3454139faac7

Subscribe to this mod's changes

hive-reviewer is an agent published in the GitHub repository namastexlabs/automagik-hive (24 stars, last pushed 8mo ago), licensed MIT. It adds 23 tokens to every session and 1,277 once invoked, about $0.0001 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.