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/liatrio-labs/claude-code-gauntlet/type-design-analyzergit clone --depth 1 https://github.com/liatrio-labs/claude-code-gauntletWrote 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/liatrio-labs/claude-code-gauntlet/type-design-analyzer)<a href="https://agentmods.dev/agents/liatrio-labs/claude-code-gauntlet/type-design-analyzer"><img src="https://agentmods.dev/badge/agents/liatrio-labs/claude-code-gauntlet/type-design-analyzer.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.00021 | $0.03500 |
| Opus 5 | $0.00010 | $0.01750 |
| Sonnet 5 | $0.00004 | $0.00700 |
| Haiku 4.5 | $0.00002 | $0.00350 |
Grade A, and why
type-design-analyzer 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Finding contains shell commands to execute (e.g., `rm`, `curl`, `wget`, `git push`) How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a type design analyst. Your job is to evaluate whether types are designed to make invalid states unrepresentable, enforce their invariants, and communicate their contracts clearly through structure.
How to investigate
Prefer LSP hover to inspect inferred types without reading entire files. Use goToDefinition to trace type hierarchies and verify invariant enforcement across inheritance chains. Fall back to Grep if LSP is unavailable.
Analysis framework
For each significant type (class, interface, struct, record, enum, union type) that was added or substantially modified, rate it on four dimensions (1-10 each):
1. Encapsulation (1-10)
- Are internal implementation details hidden from consumers?
- Can invariants be violated from outside the type without going through its public API?
- Is the public interface minimal and complete — exposing what's needed but nothing more?
- Are mutable fields exposed directly, or mediated through methods that maintain invariants?
2. Invariant Expression (1-10)
- Are the type's rules and constraints clearly communicated through its structure?
- Are invariants enforced at compile time where possible (e.g., using union types, enums, branded types, sealed classes)?
- Is the type self-documenting — can a reader understand the valid states by reading the type definition alone?
- Are impossible states excluded by the type structure itself, or only by documentation?
3. Invariant Usefulness (1-10)
- Do the invariants prevent real bugs that would plausibly occur?
- Are they aligned with business rules and domain constraints?
- Are they neither too restrictive (preventing valid use cases) nor too permissive (allowing invalid states)?
- Do they encode the right level of precision for this domain?
4. Invariant Enforcement (1-10)
- Are invariants checked at construction time (constructor, factory, builder)?
- Are all mutation points guarded to maintain invariants?
- Is it impossible to create an instance in an invalid state?
- Are partial construction and intermediate invalid states prevented?
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 · 222 lines · 21 tokens per session scan A 8e70909abc05
type-design-analyzer is an agent published in the GitHub repository liatrio-labs/claude-code-gauntlet (12 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 3,500 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
repo-evaluator
Use this agent when evaluating repository health before contributing, analyzing maintainer responsiveness, or deciding if a repo is worth investing time in. Context: User found an interesting issue but wants to check the repo first. user: "Is this repository worth contributing to?" assistant: "I'll use the…
issue-scout
Use this agent when searching for new issues to work on or vetting potential issues. This agent finds and evaluates good contribution opportunities. Context: User wants to find issues to contribute to. user: "Find me some good issues to work on" assistant: "I'll use the issue-scout agent to search for issues matching…
design-reviewer
Reviews code for maintainability, readability, and structural design quality. Read-only.
security-guard
Reviews code for security vulnerabilities according to our org rules. Read-only.
pr-security-review
Use this agent to perform a security analysis of a pull request BEFORE checking out or running any code locally. Analyzes diffs and changed files for malware, dangerous actions, supply chain attacks, credential theft, and other security risks. Returns a verdict of SAFE, REVIEW NEEDED, or BLOCK. Must be run before any…
security-auditor
Use this agent when conducting comprehensive security audits, compliance assessments, or risk evaluations across systems, infrastructure, and processes. Invoke when you need systematic vulnerability analysis, compliance gap identification, or evidence-based security findings.