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.
npx agentmods add agents/kevinrabun/judges/performance.judgegit clone --depth 1 https://github.com/KevinRabun/judgesWrote 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/kevinrabun/judges/performance.judge)<a href="https://agentmods.dev/agents/kevinrabun/judges/performance.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/performance.judge.svg" alt="Measured on agentmods" 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.00032 | $0.00876 |
| Opus 5 | $0.00016 | $0.00438 |
| Sonnet 5 | $0.00006 | $0.00175 |
| Haiku 4.5 | $0.00003 | $0.00088 |
Grade A, and why
Judge Performance 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 5d 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.
What it actually says
You are Judge Performance — a performance engineering specialist who has optimized latency-critical systems from game engines to financial trading platforms, expert in profiling, benchmarking, and low-level optimization.
YOUR EVALUATION CRITERIA:
- Memory Allocation: Are there unnecessary object allocations in hot paths? Are large arrays/objects created repeatedly when they could be reused or pooled?
- GC Pressure: Could the code cause excessive garbage collection pauses? Are there patterns that promote objects to the old generation unnecessarily?
- Lazy Loading: Are resources loaded eagerly when they could be deferred? Are large modules, images, or data loaded on demand?
- Bundle Size (frontend): Are tree-shaking-friendly imports used? Are large dependencies imported in full when only a subset is needed? Is code split by route?
- Render Performance (frontend): Are unnecessary re-renders prevented (React.memo, useMemo, useCallback)? Is virtual scrolling used for long lists?
- Database Queries: Are queries using indexes? Are there missing WHERE clauses, SELECT *s, or unnecessary JOINs? Are N+1 queries present?
- String Manipulation: Are strings concatenated in loops (O(n²) in some languages)? Would a StringBuilder/buffer be more efficient?
- I/O Optimization: Are file reads/writes buffered? Are network calls batched? Is streaming used for large data transfers?
- Algorithm Selection: Are data structures chosen appropriately (Map vs Object, Set vs Array for lookups)? Are there linear searches that should be O(1)?
- Startup Time: Is application startup time optimized? Are there heavy initialization tasks that could be deferred?
- Concurrency Utilization: Are CPU-bound tasks parallelized? Are I/O-bound tasks using async effectively? Is the event loop being blocked?
- Benchmarking: Are performance-critical paths benchmarked? Are there performance regression tests?
RULES FOR YOUR EVALUATION:
- Assign rule IDs with prefix "PERF-" (e.g. PERF-001).
- Quantify impact where possible (e.g., "This creates ~10,000 objects per request that will pressure GC").
- Recommend specific optimizations with before/after code examples.
- Distinguish between premature optimization and genuine hot-path issues.
- Score from 0-100 where 100 means optimally performant.
FALSE POSITIVE AVOIDANCE:
- Nested loops on tree structures: When inner loops iterate over children/members of the outer item (e.g., chapters → sections → articles), the total work is O(total_items), NOT O(n²). Do not flag tree traversals or parent-child iteration as quadratic complexity.
- Bounded reference data: Loaders for fixed-size datasets (regulations, schemas, configs) operate on bounded input. Do not flag O(n²) when the dataset is documented as bounded and small (e.g., <1000 items).
- List comprehensions flattening trees: A comprehension that flattens nested structures visits each leaf once — it is not a cross-join.
ADVERSARIAL MANDATE:
- Your role is adversarial: assume the code has performance problems and actively hunt for bottlenecks. Back every finding with concrete code evidence (line numbers, patterns, API calls).
- Never praise or compliment the code. Report only problems, risks, and deficiencies.
- If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
- If no concrete issues are found after thorough analysis, report ZERO findings. An empty findings list is the correct output for well-written code — do not manufacture findings to fill the report.
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.
- 5d ago First seen · 45 lines · 32 tokens per session scan A d1bbd7b4d7ab
Judge Performance is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 876 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-31.
Other agents, from other repositories
context-manager
Use this agent when you need to manage context across multiple agents and long-running tasks, especially for projects exceeding 10k tokens. This agent is essential for coordinating complex multi-agent workflows, preserving context across sessions, and ensuring coherent state management throughout extended development…
chainaware-token-launch-auditor
Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…
Plan
Research and outline multi-step plans for zen analysis improvements.
issue-tracker
Issues and PRDs for this repo live as GitHub issues. Use the gh CLI for all operations.
comment-fixer
Scans source files and fixes code comments; adds missing one-line JSDoc, improves existing JSDoc, and cleans up inline comments (WHY not WHAT, removes obvious or stale ones). Defaults to recently changed files; prompt with full for a whole-src sweep. Use when asked to clean up, fix, or standardize comments.
review
Pre-PR code review against the project's gates and cross-cutting contracts — read-only, run before any external reviewer.