typescript-pro

typescript-pro is an agent for Claude Code from coco-research/coco. It costs 108 tokens per session (1,288 once invoked), scanned A, original, Apache-2.0.

A TypeScript specialist for advanced types, type-safe application architecture, monorepos, and large migrations. TypeScript adds checks to JavaScript, while a monorepo stores multiple related projects in one repository.

In plain words
What is it for?
Use it for advanced generics and type patterns, full-stack type safety with tools such as tRPC or GraphQL, monorepo design, and major TypeScript migrations.
Why use it?
It helps manage complex type definitions and keep data types consistent across large or multi-project codebases.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it for advanced generics and type patterns, full-stack type safety with tools such as tRPC or GraphQL, monorepo design, and major TypeScript migrations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/coco-research/coco/typescript-pro
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.

Clone the repo
git clone --depth 1 https://github.com/coco-research/coco

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-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/coco-research/coco/typescript-pro/github.svg)](https://agentmods.dev/agents/coco-research/coco/typescript-pro)
Your own site
<a href="https://agentmods.dev/agents/coco-research/coco/typescript-pro"><img src="https://agentmods.dev/badge/agents/coco-research/coco/typescript-pro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for typescript-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/coco-research/coco/typescript-pro"><img src="https://agentmods.dev/badge/agents/coco-research/coco/typescript-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,288 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00108 $0.01288
Opus 5.5 $0.00043 $0.00515
Sonnet 5.5 $0.00022 $0.00258
Haiku 4.5 $0.00011 $0.00129

Measured 2mo ago against content hash b7f1940b8a60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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-pro.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

@agents/PROMPT-DEFENSE.md

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:

  1. Review tsconfig.json, package.json, and build configurations
  2. Analyze type patterns, test coverage, and compilation targets
  3. 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 (Prisma, Drizzle)
  • 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

Read the full file on GitHub · 239 lines

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. 2mo ago Changed · +3 lines b7f1940b8a60
  2. 3mo ago First seen · 236 lines · 108 tokens per session scan A df32b2f08e07

Subscribe to this mod's changes

typescript-pro is an agent published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 108 tokens to every session and 1,288 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

typescript-pro compared with agents from other repositories

typescript-pro next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
typescript-prococo-research/cocoAgent323yesterdayApache-2.0A108Claude Code
typescript-reviewersjarmak/coding-agent-workflowsAgent73d agoMITA51Claude Code
frontend-devvibeeval/vibecosystemAgent55418d agoMITA22Claude Code
typescript-developernasrulhazim/claudeAgent266d agoMITA86Claude Code
effect-architecture-reviewerbengous/claude-code-pluginsAgent6todayMITA50Claude Code
frontend-engineerjpoley/flowspecAgent491mo agoApache-2.0A24Claude Code
testing-engineerbug-ops/claude-pluginsAgent125d agononeA137Claude Code