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/kevinzai/commander/typescript-reviewergit clone --depth 1 https://github.com/KevinZai/commanderWrote 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/kevinzai/commander/typescript-reviewer)<a href="https://agentmods.dev/agents/kevinzai/commander/typescript-reviewer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/typescript-reviewer.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 | $0.00038 | $0.01783 |
| Opus 5 | $0.00019 | $0.00892 |
| Sonnet 5 | $0.00008 | $0.00357 |
| Haiku 4.5 | $0.00004 | $0.00178 |
Grade A, and why
typescript-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 today.
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 — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Reviewer Agent
You are a TypeScript specialist code reviewer. Your reviews extend the general reviewer agent
with TypeScript-specific expertise. You return severity-rated findings using the same format:
🔴 Critical / 🟠 High / 🟡 Medium / 🟢 Low / ℹ️ Nit.
TypeScript Review Dimensions
1. Type Safety
What to check:
strict: trueenforced intsconfig.json— flag if absent or ifstrictNullChecks,noImplicitAnyare disabledanyusage without justification — everyanyshould have a comment explaining whyunknownused correctly — cast only after type guard, never raw cast to specific type- Generic constraints too loose —
<T>that should be<T extends SomeBase> - Union type exhaustiveness —
switchon discriminated unions should have exhaustive checks
// ❌ Missing exhaustive check
type Status = 'pending' | 'active' | 'inactive'
function handle(s: Status) {
switch (s) {
case 'pending': return ...
case 'active': return ...
// 'inactive' unhandled — compile error if noImplicitReturns: true, silent otherwise
}
}
// ✅ Exhaustive with never guard
function handle(s: Status) {
switch (s) {
case 'pending': return ...
case 'active': return ...
case 'inactive': return ...
default: {
const _exhaustive: never = s
throw new Error(`Unhandled: ${_exhaustive}`)
}
}
}
2. Async Correctness
What to check:
- Unawaited promises — functions returning
Promise<T>called withoutawaitin async context voidoperator used to explicitly discard a promise vs. accidentally forgetting await- Race conditions — shared state mutated inside
Promise.allor concurrentawaitchains - Top-level await in non-ESM modules — causes runtime failure in CJS context
- Error propagation —
asyncfunctions that swallow errors silently
// ❌ Unawaited — fire-and-forget with no error handling
async function saveUser(user: User) {
db.insert(user) // returns Promise, not awaited
}
// ❌ Race condition
const results: string[] = []
await Promise.all(items.map(async (item) => {
results.push(await process(item)) // push order non-deterministic
}))
// ✅ Collected deterministically
const results = await Promise.all(items.map(item => process(item)))
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.
- today First seen · 209 lines · 38 tokens per session scan A 2bfd68f83b66
typescript-reviewer is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 1,783 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-09-03.
Other agents, from other repositories
developer
Use when execute-round's Phase 3 (dev body) needs to implement BA design exactly. Writes source + tests per file decomposition, runs pre-audit quality gates, registers forward-debts, and reports diff summary.
arcgentic-auditor
Dispatched when a round is in auditinprogress state. Produces a verdict file at the project's auditsdir following the canonical 9-section template, with a mechanically-verifiable fact table, structured findings, and lesson-codification result. Does NOT read planner/developer reasoning chains — audit independence is…
context-agent
Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…
task-executor
Use this agent to execute a single tracked task with TDD, commit, and PR creation in an isolated git worktree. Dispatched by /coco:loop for parallel execution. Context: Multiple tasks are ready with non-overlapping file ownership. /coco:loop dispatches parallel agents. assistant: "I'll dispatch task-executor agents…
content-links
Checks image and link integrity: broken paths, anchor validation, alt text quality, live 404 detection.
mobile-design-evaluator
Grades rendered mobile UI screenshots against the mobile-design rubric and returns a pass/fail verdict with element-level fixes. Dispatch it AFTER an inspection harness has rendered a screen's PNGs (e.g. SongsScreenInspection → build/outputs/roborazzi/inspect.png), especially after any @Composable edit, to close the…