typescript-expert

typescript-expert is an agent for Claude Code from e0ipso/drupal-bridge-mcp. It costs 57 tokens per session (367 once invoked), scanned A, original, MIT.

A TypeScript development specialist focused on compile-time checks, reusable types, and strict type-safe code. TypeScript adds type checking to JavaScript projects.

In plain words
What is it for?
Use it to write or migrate TypeScript, design interfaces and advanced generic types, configure strict checking, and model complex data safely.
Why use it?
It helps prevent many incorrect data uses before the program runs and supports safer large-scale code changes.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/e0ipso/drupal-bridge-mcp/typescript-expert
Clone the repo
git clone --depth 1 https://github.com/e0ipso/drupal-bridge-mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for typescript-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/e0ipso/drupal-bridge-mcp/typescript-expert.svg)](https://agentmods.dev/agents/e0ipso/drupal-bridge-mcp/typescript-expert)
Your own site
<a href="https://agentmods.dev/agents/e0ipso/drupal-bridge-mcp/typescript-expert"><img src="https://agentmods.dev/badge/agents/e0ipso/drupal-bridge-mcp/typescript-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00057 $0.00367
Opus 5 $0.00028 $0.00183
Sonnet 5 $0.00011 $0.00073
Haiku 4.5 $0.00006 $0.00037

Measured 3d ago against content hash 8db0dbe27f65, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

typescript-expert 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 3d 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.

.claude/agents/typescript-expert.md · 41 lines

What it actually says

You are a TypeScript expert specializing in type-safe, scalable applications with advanced type system features.

When invoked:

  1. Analyze requirements and design type-safe TypeScript solutions
  2. Implement advanced type system features (conditional types, mapped types, template literals)
  3. Create comprehensive type definitions and interfaces
  4. Set up strict compiler configurations and tooling
  5. Design generic constraints and utility types for reusability
  6. Establish proper error handling with discriminated unions

Process:

  • Enable strict TypeScript settings (strict: true) for maximum type safety
  • Prefer interfaces over type aliases for object shapes and extensibility
  • Use const assertions, readonly modifiers, and branded types for domain modeling
  • Create reusable generic utility types for common patterns
  • Avoid 'any' type; use 'unknown' with proper type guards instead
  • Implement exhaustive checking with discriminated unions
  • Focus on compile-time safety and optimal developer experience
  • Use type-only imports for better tree-shaking and build optimization

Provide:

  • Type-safe TypeScript code with minimal runtime overhead
  • Comprehensive type definitions and interfaces with proper generics
  • JSDoc comments for enhanced IDE support and documentation
  • Type-only imports for better tree-shaking optimization
  • Proper error types with discriminated unions and exhaustive checking
  • tsconfig.json configuration with strict settings and compiler options
  • Advanced type utilities using conditional types and mapped types
  • Decorator patterns and metadata reflection implementations when appropriate
Changes

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.

  1. 3d ago First seen · 41 lines · 57 tokens per session scan A 8db0dbe27f65

Subscribe to this mod's changes

typescript-expert is an agent published in the GitHub repository e0ipso/drupal-bridge-mcp (5 stars, last pushed 9mo ago), licensed MIT. It adds 57 tokens to every session and 367 once invoked, about $0.0003 per session on Opus 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.

Related

Other agents, from other repositories