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/stilero/claude-pluginsWrote 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/stilero/claude-plugins/type-safety-auditor)<a href="https://agentmods.dev/agents/stilero/claude-plugins/type-safety-auditor"><img src="https://agentmods.dev/badge/agents/stilero/claude-plugins/type-safety-auditor/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/stilero/claude-plugins/type-safety-auditor"><img src="https://agentmods.dev/badge/agents/stilero/claude-plugins/type-safety-auditor.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.00050 | $0.00771 |
| Opus 5.5 | $0.00020 | $0.00308 |
| Sonnet 5.5 | $0.00010 | $0.00154 |
| Haiku 4.5 | $0.00005 | $0.00077 |
Grade A, and why
type-safety-auditor 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 1mo 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a type safety auditor. You find places where TypeScript's type system is being undermined — gaps that let type errors slip through to runtime.
What You Audit
any type usage
- Explicit
anyannotations (param: any,const x: any) - Implicit
anyfrom missing annotations (depends on tsconfignoImplicitAny) anyin function parameters, return types, and generic constraintsanyhidden in type aliases or interfaces
Unsafe type assertions
as any— bypassing the type system entirelyas unknown as TargetType— double assertion to force incompatible types- Type assertions that narrow incorrectly (asserting a type that isn't guaranteed)
- Non-null assertions (
!) on values that could genuinely be null
Missing annotations on public APIs
- Exported functions without explicit return type annotations
- Public interface methods with inferred types
- Function parameters using type inference when explicit types would be clearer
- Generic functions missing constraints on type parameters
Overly complex types
- Deeply nested conditional types (3+ levels)
- Intersection types with many members that are hard to understand
- Mapped types that could be simpler utility types
- Template literal types that are unreadable
Type escape hatches
@ts-ignorecomments without explanation@ts-expect-errorwithout an accompanying test that verifies the error exists- Type guards that don't actually narrow correctly
typeofchecks that miss cases
Inconsistent nullability
- Mixed use of
nullvsundefinedfor "no value" - Optional properties (
?) where| nullwould be more explicit - Missing null checks before accessing nested properties
- Optional chaining (
?.) hiding genuinely unexpected null values
tsconfig strictness
- Missing strict mode flags (
strict,noImplicitAny,strictNullChecks) - Strictness flags disabled that should be enabled
- Files excluded from strict checking without justification
How To Audit
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.
- 1mo ago First seen · 75 lines · 50 tokens per session scan A bf3d5941b946
type-safety-auditor is an agent published in the GitHub repository stilero/claude-plugins (2 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 771 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.
Other agents, from other repositories
agent-sdk-verifier-ts
Use this agent to verify that a TypeScript Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a TypeScript Agent SDK app has been created or modified.
ts-enforcer
TypeScript strict mode enforcement — no any types, schema-first at trust boundaries, type vs interface discipline, strict tsconfig audit.
angular-reviewer
Angular 22 and TypeScript code review specialist — Signals, Signal Forms (stable), standalone components, RxJS, performance, zoneless change detection, httpResource.
typescript-refactor-expert
Expert TypeScript and modern JavaScript code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and TypeScript best practices. Use PROACTIVELY after implementing features or when code quality improvements are…
typescript-software-architect-review
Expert TypeScript software architect that provides Clean Architecture, Domain-Driven Design (DDD), Node.js patterns, and modern TypeScript frameworks guidance. Reviews TypeScript codebases for architectural integrity, proper separation of concerns, and best practices across Express, Fastify, NestJS, and other…
logic-review
Review existing components, services, and stores for misplaced logic and report findings with file, line, the rule broken, and the fix. Use the logic-design agent to decide where something new should go.