typescript-expert

typescript-expert is an agent for coding agents from rafaelkamimura/claude-tools. It costs 57 tokens per session (267 once invoked), scanned A, original, MIT.

An agent focused on writing TypeScript with compile-time checks, reusable types, generics, and clear handling of different data cases.

In plain words
What is it for?
Use it to build or migrate TypeScript code, design type systems, model domain data, configure strict compiler settings, and improve type definitions.
Why use it?
It helps prevent many mistakes before the program runs and keeps complex TypeScript code easier to understand and maintain.

Agent

Part of the claude-tools plugin — 12 commands, 46 agents shipped together

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/rafaelkamimura/claude-tools/typescript-expert
Clone the repo
git clone --depth 1 https://github.com/rafaelkamimura/claude-tools

Or install claude-tools, the plugin that ships this one along with the rest of its 12 commands, 46 agents.

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/rafaelkamimura/claude-tools/typescript-expert.svg)](https://agentmods.dev/agents/rafaelkamimura/claude-tools/typescript-expert)
Your own site
<a href="https://agentmods.dev/agents/rafaelkamimura/claude-tools/typescript-expert"><img src="https://agentmods.dev/badge/agents/rafaelkamimura/claude-tools/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 267 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.00267
Opus 5 $0.00028 $0.00133
Sonnet 5 $0.00011 $0.00053
Haiku 4.5 $0.00006 $0.00027

Measured 3d ago against content hash c513d74a9d38, 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.

agents/typescript-expert.md · 33 lines

What it actually says

You are a TypeScript expert specializing in type-safe, scalable applications.

Focus Areas

  • Advanced type system (conditional types, mapped types, template literals)
  • Generic constraints and type inference
  • Discriminated unions and exhaustive checking
  • Decorator patterns and metadata reflection
  • Module systems and namespace management
  • Strict compiler configurations

Approach

  1. Enable strict TypeScript settings (strict: true)
  2. Prefer interfaces over type aliases for object shapes
  3. Use const assertions and readonly modifiers
  4. Implement branded types for domain modeling
  5. Create reusable generic utility types
  6. Avoid any; use unknown with type guards

Output

  • Type-safe TypeScript with minimal runtime overhead
  • Comprehensive type definitions and interfaces
  • JSDoc comments for better IDE support
  • Type-only imports for better tree-shaking
  • Proper error types with discriminated unions
  • Configuration for tsconfig.json with strict settings

Focus on compile-time safety and developer experience.

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 · 33 lines · 57 tokens per session scan A c513d74a9d38

Subscribe to this mod's changes

typescript-expert is an agent published in the GitHub repository rafaelkamimura/claude-tools (10 stars, last pushed 7mo ago), licensed MIT. It adds 57 tokens to every session and 267 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

ROCKETRIDE_typescript_API

A TypeScript/JavaScript SDK for executing RocketRide pipelines using the Debug Adapter Protocol (DAP). This client provides a simplified interface for connecting to RocketRide DAP servers, executing pipelines, managing data transfer operations, and interacting with AI services.

rocketride-org/rocketride-server · 0 tokens

project-structure

Airbroke uses the Next.js App Router. Most feature code lives under app, components, lib, prisma, and tests.

icoretech/airbroke · 0 tokens

mainframe-typescript-backend-engineer

Use for server-side TypeScript work in Node.js applications: NestJS, Express, Fastify, Next.js server code, PostgreSQL access, Prisma, TypeORM, Drizzle, authentication, HTTP contracts, background jobs, realtime gateways, storage, resilience, and backend tests. Not for Python services, substantial client-only React UI…

CATWILLgh/MAINFRAME · 83 tokens

sdk-dev

SDK and package developer — maintains packages/sdk (TypeScript), packages/sdk-python, and packages/openclaw. Keeps SDKs in sync with API changes. Use for SDK work or when API changes affect client libraries.

0xSoftBoi/suwappubot · 46 tokens

typescript-code-reviewer

TypeScript / TSX のコードレビューを行う読み取り専用エージェント。TypeScript・React・ Next.js のコードを書いた/変更した直後、コミットやPR作成の前、あるいはユーザーが 「レビューして」「型は大丈夫か」「この実装で問題ないか」と尋ねたときに使う。型安全性・ Reactの落とし穴・このリポジトリの規約(strict モード、純粋関数の分離、@/ エイリアス)を 重点的に確認し、深刻度つきで具体的な指摘を返す。コードの修正は行わない。.

oikon48/claudecode-book · 157 tokens

typescript-expert

Use this agent as a distinguished TypeScript/React/Next.js language authority and domain expert for peer-review-level code review. This agent NEVER writes implementation code — it reviews, critiques, and recommends with language-specific depth that generalist agents miss. Covers type system mastery, React 19+…

asiflow/claude-nexus-hyper-agent-team · 465 tokens