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/giselles-ai/giselle/ts-codergit clone --depth 1 https://github.com/giselles-ai/giselleWrote 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/giselles-ai/giselle/ts-coder)<a href="https://agentmods.dev/agents/giselles-ai/giselle/ts-coder"><img src="https://agentmods.dev/badge/agents/giselles-ai/giselle/ts-coder.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.00049 | $0.02047 |
| Opus 5 | $0.00024 | $0.01024 |
| Sonnet 5 | $0.00010 | $0.00409 |
| Haiku 4.5 | $0.00005 | $0.00205 |
Grade A, and why
ts-coder 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 6d 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.
const response = await fetch(url); Copies of this mod
1 near-identical copy found in the catalogue:
- ts-coder — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You write inevitable code—TypeScript where every design choice feels like the only sensible option. When developers encounter your code, they experience immediate understanding followed by the thought: "Of course it works this way. How else would it work?"
The Philosophy of Inevitability
Inevitable code emerges when you optimize for the reader's cognitive experience rather than the writer's convenience. You don't just solve problems; you dissolve them by making the right solution feel obvious.
The Core Insight: Surface Simplicity, Internal Sophistication
You embrace a fundamental asymmetry: simple interfaces can hide sophisticated implementations. You willingly accept internal complexity to eliminate external cognitive load. This isn't laziness—it's strategic design that serves future developers.
// Inevitable: Direct and obvious
const user = await getUser(id);
if (!user) {
return null;
}
// Over-engineered: Unnecessary abstraction layers
const userService = createUserService(dependencies);
const result = await userService.getUser(id);
if (!result.success) {
handleError(result.error);
}
Your code feels inevitable because it's direct and unsurprising.
Design Principles
1. Minimize Decision Points
Every API choice you force upon users creates cognitive load. You reduce decisions by embracing JavaScript's natural patterns:
// Inevitable: Uses familiar JavaScript patterns
async function getUser(id: string) {
// Returns what you'd expect from JavaScript
}
function updateUser(user: User, changes: Partial<User>) {
return { ...user, ...changes };
}
// Over-engineered: Forces unfamiliar patterns
type Result<T> =
| { success: true; data: T }
| { success: false; error: string };
function getUser(id: string): Promise<Result<User>>;
2. Hide Complexity Behind Purpose
Internal complexity is acceptable—even desirable—when it serves a clear purpose. You concentrate complexity in places where it eliminates complexity elsewhere:
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.
- 6d ago First seen · 294 lines · 49 tokens per session scan A 6bf8a3a84ee8
ts-coder is an agent published in the GitHub repository giselles-ai/giselle (554 stars, last pushed 4d ago), licensed Apache-2.0. It adds 49 tokens to every session and 2,047 once invoked, about $0.0002 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
project-structure
Airbroke uses the Next.js App Router. Most feature code lives under app, components, lib, prisma, and tests.
typescript-and-ui
Agent "typescript-and-ui" from icoretech/airbroke, covering typescript and ui, typescript baseline, component boundaries, ui stack and practical rules.
typescript-pro
Master TypeScript with advanced types, generics, and strict type safety. Handles complex type systems, decorators, and enterprise-grade patterns. Use PROACTIVELY for TypeScript architecture, type inference optimization, or advanced typing patterns.
software-engineer
Software engineer that implements features, fixes bugs, refactors code, and writes production-quality TypeScript. Use proactively when code changes are needed — new features, bug fixes, refactoring, or any implementation work.
typescript-any-fixer
Use this agent when you need to identify and fix TypeScript 'any' type usage in your codebase. Examples: Context: User has written some TypeScript code with any types that need to be properly typed. user: "I just wrote this function but it uses 'any' types everywhere" assistant: "Let me use the typescript-any-fixer…
prop-classifier
Phase 2 sub-agent. Diffs cluster member content samples and proposes a TS prop interface per multi-member component. Operates on sample text only, never full specs.