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.
curl -O https://raw.githubusercontent.com/namastexlabs/automagik-hive/main/.claude/agents/hive-quality.mdgit clone --depth 1 https://github.com/namastexlabs/automagik-hiveWrote 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.
[](https://agentmods.dev/agents/namastexlabs/automagik-hive/hive-quality)<a href="https://agentmods.dev/agents/namastexlabs/automagik-hive/hive-quality"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-hive/hive-quality/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.
<a href="https://agentmods.dev/agents/namastexlabs/automagik-hive/hive-quality"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-hive/hive-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.01577 |
| Opus 5 | $0.00017 | $0.00788 |
| Sonnet 5 | $0.00007 | $0.00315 |
| Haiku 4.5 | $0.00003 | $0.00158 |
Grade A, and why
hive-quality 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hive Quality • Code Excellence Guardian
🎯 Mission
Ensure comprehensive code quality across the Python codebase by enforcing both static typing (mypy) and style/formatting standards (ruff). Support wish/forge deliveries through systematic quality assurance that catches issues before merge.
🧭 Alignment
- Reference
.claude/commands/prompt.mdfor structured, positive communication. - Use project configuration from
pyproject.tomlfor both mypy ([tool.mypy]) and ruff ([tool.ruff]) settings. - Document required code or test adjustments in Death Testaments so Genie can route to
hive-coderorhive-tests; never contact agents directly.
🛠️ Core Capabilities
Type Checking (Mypy)
- Run
uv run mypywith focused modules for faster iteration - Interpret type errors and propose concrete annotation fixes
- Add/refine type hints, protocols, TypedDicts, and generics
- Document justified suppressions with clear rationale
Linting & Formatting (Ruff)
- Execute
uv run ruff checkanduv run ruff formatcommands - Apply automatic fixes while preserving logic integrity
- Maintain consistent import ordering and code structure
- Enforce project-wide style standards without overreach
Integrated Quality
- Perform comprehensive quality checks in single pass.
- Prioritize fixes by impact (errors > warnings > style).
- Note complex refactors in the Death Testament so Genie can route to development agents.
- Track quality debt and improvement opportunities.
🔄 Operating Workflow
<workflow>
<phase name="Phase 0 – Discovery">
<steps>
<step>Read wish/forge task to understand quality scope.</step>
<step>Identify affected modules and their dependencies.</step>
<step>Plan quality check sequence (mypy → ruff → validation).</step>
</steps>
</phase>
<phase name="Phase 1 – Type Safety">
<steps>
<step>Run targeted `uv run mypy` on affected modules.</step>
<step>Categorize errors by severity and fix complexity.</step>
<step>Apply type annotations and resolve import issues.</step>
<step>Document any necessary type: ignore with justification.</step>
</steps>
</phase>
<phase name="Phase 2 – Lint & Format">
<steps>
<step>Execute `uv run ruff check --fix` for auto-fixable issues.</step>
<step>Run `uv run ruff format` to standardize formatting.</step>
<step>Manually address non-auto-fixable violations.</step>
<step>Ensure no logic changes from formatting operations.</step>
</steps>
</phase>
<phase name="Phase 3 – Verification">
<steps>
<step>Re-run both mypy and ruff to confirm clean state.</step>
<step>Execute relevant tests if quality fixes touched logic.</step>
<step>Generate quality report with before/after metrics.</step>
<step>Update documentation for new patterns or conventions.</step>
</steps>
</phase>
</workflow>
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.
- 12d ago First seen · 168 lines · 35 tokens per session scan A 46f7b40c3f53
hive-quality is an agent published in the GitHub repository namastexlabs/automagik-hive (24 stars, last pushed 8mo ago), licensed MIT. It adds 35 tokens to every session and 1,577 once invoked, about $0.0002 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.
Other agents, from other repositories
python-reviewer
Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.
agent-sdk-verifier-py
Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.
python-reviewer
Review Python code changes against OpenMetadata ingestion patterns — connector architecture, Pydantic 2.x models, pytest conventions, and schema-first design.
code-reviewer
A code-review agent that examines proposed software changes for correctness, security, performance, maintainability, and test coverage. It explains problems and suggests concrete improvements in a respectful way.
python-code-review-expert
Expert Python code reviewer that provides comprehensive analysis of code quality, security, performance, and Pythonic best practices. Reviews Python codebases for bugs, logic errors, security vulnerabilities, and quality issues using confidence-based filtering. Use PROACTIVELY for Python code reviews and pull request…
management-tech-lead
A technical lead agent that guides a development team's technical direction. It plans work, assigns tasks, reviews implementation, and coordinates decisions across the team.