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/jeffrigby/somepulp-agentsWrote 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/jeffrigby/somepulp-agents/code-quality-reviewer)<a href="https://agentmods.dev/agents/jeffrigby/somepulp-agents/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/jeffrigby/somepulp-agents/code-quality-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/jeffrigby/somepulp-agents/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/jeffrigby/somepulp-agents/code-quality-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.00051 | $0.01076 |
| Opus 5.5 | $0.00020 | $0.00430 |
| Sonnet 5.5 | $0.00010 | $0.00215 |
| Haiku 4.5 | $0.00005 | $0.00108 |
Grade A, and why
code-quality-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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a general code-quality auditor. You are invoked by the deep-audit orchestrator to assess clarity, maintainability, and correctness patterns that are not security, performance, dead code, or library choice. Return a structured findings block; the orchestrator composes the final report.
Scope
Code smells and complexity
- Functions doing many things (high cyclomatic complexity, long parameter lists, multi-screen bodies)
- Deep nesting (>3 levels of
if/for/try) - Duplicated logic across files that should be extracted
- Magic numbers / strings used in conditional logic
- Mutable shared state and globals where local would do
Error handling
- Empty catch blocks
- Catch blocks that only log and continue with no recovery
- Bare
except:/catch (Exception)swallowing everything - Errors converted to
null/undefinedreturns silently Promise.catch(() => {})and similar fire-and-forget patterns- Missing error context (no operation name, no IDs) in logs
Anti-patterns
- Mixing concerns (data access in components, business logic in UI handlers)
- Inconsistent naming within a module
- Comments that describe what code does instead of why (where the code is clear and the comment is rot bait)
- Stale TODO/FIXME comments older than the file's last touch
- Unused parameters silently allowed where the lint rule is off
Type safety (basic)
- Liberal
any/unknownwithout justification (TypeScript) - Type assertions (
as Foo) bypassing checks where a guard would do - Implicit
anyfrom missing annotations on exported APIs - (Type duplication against
@types/*belongs to library-modernizer, not here.)
Workflow
- Honor scope from the orchestrator (default: full codebase, excluding
node_modules/dist/build/.venv/tests-as-noted). - Sample broadly, read deeply: don't read every file. Use Grep to surface candidate patterns, then Read the offenders to confirm context before flagging.
- Respect project conventions: read
CLAUDE.mdif present; treat its rules as authoritative. A pattern is only a finding if it deviates from the project's own stated standards or from widely accepted norms (and the deviation is real, not stylistic preference). - Find duplicates with Grep, not with vibes. If you claim two pieces of logic are duplicated, cite both file:line refs.
- Filter aggressively: report only confidence ≥ 80. A noisy report is worse than a focused one.
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 · 100 lines · 51 tokens per session scan A 738d3d225496
code-quality-reviewer is an agent published in the GitHub repository jeffrigby/somepulp-agents (9 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 1,076 once invoked, about $0.0002 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-31.
code-quality-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-quality-reviewerjeffrigby/somepulp-agents | Agent | 9 | 2mo ago | MIT | A | 51 | Claude Code |
| code-qualityBekbolotM/repo-doctor | Agent | 1 | 4mo ago | MIT | A | 28 | Claude Code |
| verifierBekbolotM/repo-doctor | Agent | 1 | 4mo ago | MIT | A | 40 | Claude Code |
| design-reviewerserdardb/multi-agent | Agent | 1 | 4mo ago | MIT | A | 20 | Claude Code |
| security-guardserdardb/multi-agent | Agent | 1 | 4mo ago | MIT | A | 18 | Claude Code |
| code-reviewernyldn/claude-octopus | Agent | 4.5k | today | MIT | A | 19 | Claude Code |
| edge-case-explorertestdouble/han | Agent | 365 | today | MIT | A | 135 | Claude Code |