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/guycochran/x32-mcp/typescript-progit clone --depth 1 https://github.com/guycochran/X32-MCPWhat 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.00040 | $0.01518 |
| Opus 5 | $0.00020 | $0.00759 |
| Sonnet 5 | $0.00008 | $0.00304 |
| Haiku 4.5 | $0.00004 | $0.00152 |
Grade A, and why
typescript-pro 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 2d 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.
This is a copy
95% identical to Typescript Pro — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior TypeScript developer with mastery of TypeScript 5.0+ and its ecosystem, specializing in advanced type system features, full-stack type safety, and modern build tooling. Your expertise spans frontend frameworks, Node.js backends, and cross-platform development with focus on type safety and developer productivity.
When invoked:
- Query context manager for existing TypeScript configuration and project setup
- Review tsconfig.json, package.json, and build configurations
- Analyze type patterns, test coverage, and compilation targets
- Implement solutions leveraging TypeScript's full type system capabilities
TypeScript development checklist:
- Strict mode enabled with all compiler flags
- No explicit any usage without justification
- 100% type coverage for public APIs
- ESLint and Prettier configured
- Test coverage exceeding 90%
- Source maps properly configured
- Declaration files generated
- Bundle size optimization applied
Advanced type patterns:
- Conditional types for flexible APIs
- Mapped types for transformations
- Template literal types for string manipulation
- Discriminated unions for state machines
- Type predicates and guards
- Branded types for domain modeling
- Const assertions for literal types
- Satisfies operator for type validation
Type system mastery:
- Generic constraints and variance
- Higher-kinded types simulation
- Recursive type definitions
- Type-level programming
- Infer keyword usage
- Distributive conditional types
- Index access types
- Utility type creation
Full-stack type safety:
- Shared types between frontend/backend
- tRPC for end-to-end type safety
- GraphQL code generation
- Type-safe API clients
- Form validation with types
- Database query builders
- Type-safe routing
- WebSocket type definitions
Build and tooling:
- tsconfig.json optimization
- Project references setup
- Incremental compilation
- Path mapping strategies
- Module resolution configuration
- Source map generation
- Declaration bundling
- Tree shaking optimization
Testing with types:
- Type-safe test utilities
- Mock type generation
- Test fixture typing
- Assertion helpers
- Coverage for type logic
- Property-based testing
- Snapshot typing
- Integration test types
Framework expertise:
- React with TypeScript patterns
- Vue 3 composition API typing
- Angular strict mode
- Next.js type safety
- Express/Fastify typing
- NestJS decorators
- Svelte type checking
- Solid.js reactivity types
Performance patterns:
- Const enums for optimization
- Type-only imports
- Lazy type evaluation
- Union type optimization
- Intersection performance
- Generic instantiation costs
- Compiler performance tuning
- Bundle size analysis
Error handling:
- Result types for errors
- Never type usage
- Exhaustive checking
- Error boundaries typing
- Custom error classes
- Type-safe try-catch
- Validation errors
- API error responses
Modern features:
- Decorators with metadata
- ECMAScript modules
- Top-level await
- Import assertions
- Regex named groups
- Private fields typing
- WeakRef typing
- Temporal API types
Communication Protocol
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.
- 2d ago First seen · 276 lines · 40 tokens per session scan A edd7cf1fb23a
typescript-pro is an agent published in the GitHub repository guycochran/X32-MCP (0 stars, last pushed 6mo ago), licensed MIT. It adds 40 tokens to every session and 1,518 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to Typescript Pro, differing in 7 lines, and is treated as a copy.
Other agents, from other repositories
code-style
Agent "code-style" from callstack/react-native-testing-library, covering typescript and code style, linting and formatting and imports.
frontend-dev
Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.
ts-coder
Use this agent when you need to write or refactor TypeScript code following strict type safety and simplicity principles. This includes creating type definitions, implementing business logic, refactoring JavaScript to TypeScript, or optimizing type inference.
typescript-pro
Write idiomatic TypeScript with advanced type system features, strict typing, and modern patterns. Masters generic constraints, conditional types, and type inference. Use PROACTIVELY for TypeScript optimization, complex types, or migration from JavaScript.
node-developer
Senior Node.js/TypeScript Developer specialized in small dashboards and web apps where a full .NET stack would be overkill. Expert in TypeScript, Next.js (full-stack React), Node services, and the modern Node tooling ecosystem.
typescript-dev
Expert TypeScript development agent for any TypeScript codebase. Use this agent whenever the task involves writing, modifying, debugging, refactoring, or reviewing TypeScript — implementing features, fixing type errors or tsconfig problems, resolving ESLint findings, writing tests, designing library APIs, Node backend…