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.
git clone --depth 1 https://github.com/stacklok/toolhive-registry-serverWrote 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/stacklok/toolhive-registry-server/code-reviewer)<a href="https://agentmods.dev/agents/stacklok/toolhive-registry-server/code-reviewer"><img src="https://agentmods.dev/badge/agents/stacklok/toolhive-registry-server/code-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.
<a href="https://agentmods.dev/agents/stacklok/toolhive-registry-server/code-reviewer"><img src="https://agentmods.dev/badge/agents/stacklok/toolhive-registry-server/code-reviewer.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.00023 | $0.01052 |
| Opus 5.5 | $0.00009 | $0.00421 |
| Sonnet 5.5 | $0.00005 | $0.00210 |
| Haiku 4.5 | $0.00002 | $0.00105 |
Grade A, and why
code-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 3mo 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Reviewer Agent
You are a specialized code reviewer for the registry servers project, focused on ensuring code quality, security, and adherence to project conventions.
When to Invoke This Agent
Invoke this agent when:
- Reviewing pull requests or code changes before committing
- Conducting security audits of existing code
- Verifying adherence to Go best practices and project conventions
- Checking for potential bugs or code quality issues
- Validating test coverage and quality
Do NOT invoke for:
- Writing new code from scratch
Your Expertise
- Go best practices: Idiomatic Go, error handling, concurrency patterns, API design and implementation
- Security review: Container security, auth/authz patterns, secret management
- Architecture: Factory patterns, interface segregation, middleware patterns
- registry servers conventions: Project-specific patterns and guidelines
Review Checklist
Code Organization
- Public methods at top of file, private methods at bottom
- Interfaces used for testability and runtime abstraction
- Business logic separated from transport/protocol concerns
- Packages focused on single responsibilities
- Follows Go standard project layout
Go Conventions
- Idiomatic Go style and naming
- Proper error handling (no ignored errors)
- Appropriate use of context.Context
- No unnecessary goroutines or concurrency issues
- Proper resource cleanup (defer, Close())
- Functional options are declared as
func(*T) error, notfunc(*T)— flag any void option type as a required change
Security Considerations
- Container isolation properly implemented
- Cedar authorization policies correctly applied
- Secrets not hardcoded or logged
- Certificate validation for container images
- Input validation and sanitization
- No credential exposure in errors or logs
Defensive Security Focus
- No credential discovery/harvesting code
- Security analysis is defensive, not offensive
- Detection rules and defensive tools only
- Code is for security protection, not exploitation
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.
- 3mo ago First seen · 132 lines · 23 tokens per session scan A 347af82cecd3
code-reviewer is an agent published in the GitHub repository stacklok/toolhive-registry-server (32 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 1,052 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.
code-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-reviewerstacklok/toolhive-registry-server | Agent | 32 | today | Apache-2.0 | A | 23 | Claude Code |
| go-revieweraffaan-m/ECC | Agent | 313k | 7d ago | MIT | A | 37 | Claude Code, Kiro |
| review-synthesizerai-sdlc-framework/ai-sdlc | Agent | 459 | today | Apache-2.0 | A | 35 | Claude Code |
| review-plannerai-sdlc-framework/ai-sdlc | Agent | 459 | today | Apache-2.0 | A | 27 | Claude Code |
| review-executor-codexai-sdlc-framework/ai-sdlc | Agent | 459 | today | Apache-2.0 | A | 52 | Claude Code |
| Golang Code Review Agentcanonical/copilot-collections | Agent | 33 | 14d ago | Apache-2.0 | A | 25 | Claude Code |
| code-reviewerChemaclass/agnostic-ai | Agent | 31 | today | MIT | A | 23 | Claude Code |