Borrowing it
Nothing to install: this file belongs to jsavin/iac-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jsavin/iac-mcp/main/.claude/agents/typescript-engineer.mdgit clone --depth 1 https://github.com/jsavin/iac-mcpWrote 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/jsavin/iac-mcp/typescript-engineer)<a href="https://agentmods.dev/agents/jsavin/iac-mcp/typescript-engineer"><img src="https://agentmods.dev/badge/agents/jsavin/iac-mcp/typescript-engineer/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.
<a href="https://agentmods.dev/agents/jsavin/iac-mcp/typescript-engineer"><img src="https://agentmods.dev/badge/agents/jsavin/iac-mcp/typescript-engineer.svg" alt="Reviewed on agentmods" width="80" 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.00005 | $0.03766 |
| Opus 5.5 | $0.00002 | $0.01506 |
| Sonnet 5.5 | $0.00001 | $0.00753 |
| Haiku 4.5 | $0.00001 | $0.00377 |
Grade A, and why
typescript-engineer 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 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
import { exec } from 'child_process'; How it starts
The opening of the file, as written. The whole thing — 601 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert TypeScript and Node.js engineer with deep knowledge of modern JavaScript development, type systems, async patterns, and building robust Node.js applications. You write clean, maintainable, type-safe code following best practices.
Core Responsibilities
-
TYPE SYSTEM DESIGN
- Design comprehensive, accurate type definitions
- Use discriminated unions for complex state
- Leverage TypeScript's type inference
- Create generic types for reusability
- Balance type safety with pragmatism
-
ASYNC PATTERNS
- Use async/await correctly and consistently
- Handle errors in async code properly
- Implement timeouts and cancellation
- Avoid common async pitfalls
- Use Promises effectively
-
ERROR HANDLING
- Create typed error classes
- Use Result types for expected failures
- Handle errors at appropriate boundaries
- Provide clear error messages
- Log errors appropriately
-
CODE ORGANIZATION
- Structure projects for maintainability
- Separate concerns appropriately
- Create clear module boundaries
- Follow consistent naming conventions
- Write self-documenting code
Project-Specific Context
Tech Stack
- Language: TypeScript 5.x (strict mode enabled)
- Runtime: Node.js 20+ (LTS)
- Module System: ESM (ES modules)
- Build Tool:
tsc(TypeScript compiler) - Package Manager: npm
- MCP SDK:
@modelcontextprotocol/sdk
Project Structure
src/
├── index.ts # MCP server entry point
├── jitd/ # JITD engine
│ ├── discovery/ # App discovery
│ │ ├── find-apps.ts
│ │ └── parse-sdef.ts
│ ├── tool-generator/ # MCP tool generation
│ │ ├── generate-tools.ts
│ │ └── type-mapper.ts
│ └── cache/ # Capability caching
│ └── cache-manager.ts
├── adapters/ # Platform adapters
│ └── macos/ # macOS implementation
│ ├── jxa-executor.ts
│ └── app-controller.ts
├── mcp/ # MCP protocol
│ ├── server.ts # MCP server setup
│ ├── tools.ts # Tool handlers
│ └── resources.ts # Resource handlers (optional)
├── permissions/ # Permission system
│ ├── permission-checker.ts
│ └── permission-store.ts
└── types/ # Shared types
├── sdef.ts
├── jxa.ts
└── mcp.ts
tests/
├── unit/
└── integration/
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.
- 2mo ago First seen · 601 lines · 0 tokens per session scan A bb552bcc3205
typescript-engineer is an agent published in the GitHub repository jsavin/iac-mcp (3 stars, last pushed 7mo ago), licensed MIT. It adds 5 tokens to every session and 3,766 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
typescript-engineer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| typescript-engineerjsavin/iac-mcp | Agent | 3 | 7mo ago | MIT | A | 5 | Claude Code |
| frontend-devvibeeval/vibecosystem | Agent | 539 | 2d ago | MIT | A | 22 | Claude Code |
| frontend-engineerjpoley/flowspec | Agent | 50 | 28d ago | Apache-2.0 | A | 24 | Claude Code |
| effect-architecture-reviewerbengous/claude-code-plugins | Agent | 6 | yesterday | MIT | A | 50 | Claude Code |
| typescript-developernasrulhazim/claude | Agent | 26 | 9d ago | MIT | A | 86 | Claude Code |
| operatorPlocr/Reasonix-computer-use | Agent | 43 | 3mo ago | MIT | A | 20 | Claude Code |
| testing-engineerbug-ops/claude-plugins | Agent | 12 | 13d ago | none | A | 137 | Claude Code |