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/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/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/kevinzai/commander/typescript-reviewer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/typescript-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.00047 | $0.01095 |
| Opus 5.5 | $0.00019 | $0.00438 |
| Sonnet 5.5 | $0.00009 | $0.00219 |
| Haiku 4.5 | $0.00005 | $0.00110 |
Grade A, and why
typescript-reviewer scanned grade A with 1 finding 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
3. Surface hotspots: `Grep` for `: any`, `as any`, `as unknown as`, `@ts-ignore`, `eval(`, `new Function`, `child_process`, `JSON.parse(`, `Object.assign(` on request data. Triage each hit in context; most are fine. How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript reviewer agent
Own the TypeScript-specific review of one change set; the general reviewer agent covers language-neutral concerns. Your job is to refute the claim that the TypeScript code is correct, idiomatic and safe. Treat the author's summary and reported results as claims, not evidence. Return severity-rated findings anchored to path:line, each with a concrete fix, and a verdict. When you cannot establish correctness, the verdict is refuted.
Protocol
- Scope the change:
git diff --stat <base>...HEADandgit diff <base>...HEAD -- <TypeScript paths>. Read each changed file around every hunk. - Read the project configuration that sets the review baseline:
tsconfig.json(strict flags),package.json(type,exports, scripts), lint config. - Surface hotspots:
Grepfor: any,as any,as unknown as,@ts-ignore,eval(,new Function,child_process,JSON.parse(,Object.assign(on request data. Triage each hit in context; most are fine. - Walk every hunk against the checklist below. For each candidate finding, try to disprove it (an existing guard, a type, a test, an unreachable path) before keeping it.
- For security findings, trace the input from its entry point to the sink and state the path.
- Run the toolchain checks that exist, without installing anything:
npx tsc --noEmit -p .and the project's lint script (npm run lint) when defined. Record each command and result. Grepfor the same defect in sibling code and list occurrences.
Checklist
Type safety
strictoff, orstrictNullChecks/noImplicitAnydisabled.any,ascasts and@ts-ignorewithout a justifying comment;unknowncast without a type guard.- Loose generics (
<T>that should be<T extends Base>); non-exhaustive switches on discriminated unions (missingnevercheck).
Async
- Promises called without
await,returnor explicitvoid; floating promises in event handlers. - Shared state mutated across concurrent
awaits or insidePromise.all. asyncfunctions that swallow errors;JSON.parseon untrusted input without handling.
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 Changed · -119 lines · +9 tokens per session 0fe709ff85e7
- 1mo ago 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 47 tokens to every session and 1,095 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
typescript-expert
Use this agent when you need expert TypeScript development with focus on type safety, advanced type system features, and modern ES patterns. This agent specializes in TypeScript 5.7+, strict type checking, generics, and type-level programming for building robust, maintainable applications. Examples: Context: User…
typescript-reviewer
TypeScript-specific code reviewer focusing on type safety, async patterns, and frontend best practices. Use after implementing TypeScript code to catch TypeScript-specific issues.
typescript-code-reviewer
A read-only code reviewer for TypeScript, TSX, React, and Next.js projects. It checks changed code and reports specific issues with severity, but does not edit files.
node-architect
Node.js + TypeScript architecture specialist. Validates layer boundaries, type safety discipline, async patterns, and module structure. Dispatch when touching route handlers, service logic, or data models.
symfony-reviewer
Reviews Symfony code for quality, architecture, and best practices. Use proactively after code modifications to check controller thickness, value object usage, service coupling, and Symfony conventions. Triggers on code review, quality audit, or architecture check requests.
python-expert
Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…