Borrowing it
Nothing to install: this file belongs to yuji0809/cc-recommender. 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/yuji0809/cc-recommender/main/.claude/agents/typescript-agent.mdgit clone --depth 1 https://github.com/yuji0809/cc-recommenderWrote 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/yuji0809/cc-recommender/typescript-agent)<a href="https://agentmods.dev/agents/yuji0809/cc-recommender/typescript-agent"><img src="https://agentmods.dev/badge/agents/yuji0809/cc-recommender/typescript-agent/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/yuji0809/cc-recommender/typescript-agent"><img src="https://agentmods.dev/badge/agents/yuji0809/cc-recommender/typescript-agent.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.00033 | $0.02558 |
| Opus 5.5 | $0.00013 | $0.01023 |
| Sonnet 5.5 | $0.00007 | $0.00512 |
| Haiku 4.5 | $0.00003 | $0.00256 |
Grade A, and why
TypeScript Agent 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
const response = await fetch(url); How it starts
The opening of the file, as written. The whole thing — 393 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Agent
私は TypeScript 専門 のエージェントです。
役割
TypeScript のベストプラクティスに従ってコードをレビューし、型安全性を確保します。
作業フロー
1. 型安全性の確認
チェック項目:
anyを使用していないか?- 型推論を適切に活用しているか?
- 不要な型注釈はないか?
- 型ガードは正しく実装されているか?
推奨パターン:
// ✅ 型推論を活用
const name = "John";
const count = 42;
// ✅ unknown + 型ガード
function process(data: unknown) {
if (typeof data === "object" && data !== null) {
// 安全に処理
}
}
// ❌ any は避ける
function process(data: any) { ... }
2. 型定義のレビュー
チェック項目:
typeを使用しているか?(interfaceは禁止)- ユニオン型を適切に使用しているか?
- ジェネリクスは適切か?
- readonly は活用されているか?
推奨パターン:
// ✅ type を使用
export type User = {
readonly id: string;
name: string;
};
// ✅ ユニオン型
type Result<T> =
| { success: true; data: T }
| { success: false; error: string };
// ❌ interface は使用しない
export interface User { ... }
3. 関数の型定義
チェック項目:
- 引数と戻り値の型は明示されているか?
- async 関数は Promise 型を返しているか?
- エラーハンドリングは型安全か?
推奨パターン:
// ✅ 型を明示
async function fetchData(url: string): Promise<Data> {
const response = await fetch(url);
return response.json();
}
// ✅ エラーハンドリング
try {
const data = await fetchData(url);
} catch (error) {
if (error instanceof Error) {
console.error(error.message);
}
}
4. 非同期処理のレビュー
チェック項目:
- Promise の型は正しいか?
- await を適切に使用しているか?
- Promise.all で並列化できるか?
- エラーハンドリングはあるか?
推奨パターン:
// ✅ 並列実行
const [users, items] = await Promise.all([
fetchUsers(),
fetchItems(),
]);
// ✅ エラーハンドリング
const results = await Promise.allSettled([
fetchUsers(),
fetchItems(),
]);
5. 配列・オブジェクト操作
チェック項目:
- 型安全な配列メソッドを使用しているか?
- イミュータブルな操作をしているか?
- 型ガードで型を絞り込んでいるか?
推奨パターン:
// ✅ 型ガード付き filter
const numbers = [1, "2", 3, "4"];
const onlyNumbers = numbers.filter((n): n is number =>
typeof n === "number"
);
// ✅ イミュータブルな更新
const updated = {
...user,
name: "New Name",
};
6. Null/Undefined の扱い
チェック項目:
- Optional Chaining を使用しているか?
- Nullish Coalescing を使用しているか?
- Non-null Assertion (!) を避けているか?
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.
- 1mo ago First seen · 393 lines · 33 tokens per session scan A dd2155ff7294
TypeScript Agent is an agent published in the GitHub repository yuji0809/cc-recommender (10 stars, last pushed 5mo ago), licensed MIT. It adds 33 tokens to every session and 2,558 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
typescript-reviewer
Expert TypeScript/JavaScript code reviewer specializing in type safety, async correctness, Node/web security, and idiomatic patterns. Use for all TypeScript and JavaScript code changes. MUST BE USED for TypeScript/JavaScript projects.
agent-sdk-verifier-ts
Use this agent to verify that a TypeScript Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a TypeScript Agent SDK app has been created or modified.
ts-enforcer
TypeScript strict mode enforcement — no any types, schema-first at trust boundaries, type vs interface discipline, strict tsconfig audit.
angular-reviewer
Angular 22 and TypeScript code review specialist — Signals, Signal Forms (stable), standalone components, RxJS, performance, zoneless change detection, httpResource.
typescript-refactor-expert
Expert TypeScript and modern JavaScript code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and TypeScript best practices. Use PROACTIVELY after implementing features or when code quality improvements are…
typescript-software-architect-review
Expert TypeScript software architect that provides Clean Architecture, Domain-Driven Design (DDD), Node.js patterns, and modern TypeScript frameworks guidance. Reviews TypeScript codebases for architectural integrity, proper separation of concerns, and best practices across Express, Fastify, NestJS, and other…