ai-rotom: Instructions file for Claude Code

CLAUDE.md

ai-rotom CLAUDE.md is an instructions file for Claude Code from nonz250/ai-rotom. It costs 3,703 tokens per session, scanned A, original, MIT.

Repository instructions for ai-rotom, a server that helps an AI advise on Pokémon Champions battles using game data and calculations.

In plain words
What is it for?
Use them when modifying damage calculations, team-building analysis, battle advice, tests, or the TypeScript MCP server.
Why use it?
They give coding agents the project’s rules, structure, tools, and development commands so changes fit the existing codebase.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is nonz250/ai-rotom's own configuration. It tells Claude Code how to work on ai-rotom itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-rotom configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nonz250/ai-rotom. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nonz250/ai-rotom/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/nonz250/ai-rotom

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 ai-rotom CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nonz250/ai-rotom/claude-md/github.svg)](https://agentmods.dev/instructions/nonz250/ai-rotom/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nonz250/ai-rotom/claude-md"><img src="https://agentmods.dev/badge/instructions/nonz250/ai-rotom/claude-md/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 ai-rotom CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nonz250/ai-rotom/claude-md"><img src="https://agentmods.dev/badge/instructions/nonz250/ai-rotom/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,703 This file is loaded in full into every session.
When invoked 3,703 The same file — it is already loaded in full.
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.03703 $0.03703
Opus 5 $0.01852 $0.01852
Sonnet 5 $0.00741 $0.00741
Haiku 4.5 $0.00370 $0.00370

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

Security

Grade A, and why

ai-rotom CLAUDE.md 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 8d 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.md · 240 lines

How it starts

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

ai-rotom

ポケモンチャンピオンズの対戦アドバイザー MCP サーバー。

基本思想

「プログラムは正確なデータを出す。AI はデータを元に考える。」

機能 プログラム(ツール)の責務 AI の責務
ダメージ計算 正確な数値計算(1 対 1 / 全技 / 6v6 の 3 粒度) 結果の解釈・説明
選出アドバイス タイプ相性・ダメ計・素早さ等のデータ提供 データを総合して選出を判断・提案
パーティ構築 パーティの弱点・攻撃範囲分析 構築案の提案
対策案 対策候補の提示(find_counters 勝ち筋の説明

技術スタック

  • 言語: TypeScript 6(strict)
  • ダメージ計算エンジン: @smogon/calc の Gen 0 (Champions)
    • npm 未 publish のため、vendor/ 配下の tarball からインストール
  • 入力検証: Zod
  • パッケージ管理: npm workspaces(workspace は packages/mcp-server のみ)
  • ビルド: tsdown(ESM bundle、JSON インライン化)
  • テスト: Vitest
  • Node.js: >= 24

開発コマンド

npm install          # 依存関係インストール
npm run build        # ビルド
npm test             # テスト実行
npm run test:watch   # テスト監視モード

リポジトリ構成

ai-rotom/
├── tsconfig.base.json           # 共通 TypeScript 設定 (paths alias)
├── data/champions/              # マスターデータ (8 ファイル JSON)
│   ├── pokemon.json             # ポケモン (種族値・タイプ・特性等)
│   ├── abilities.json           # 特性
│   ├── items.json               # 持ち物
│   ├── moves.json               # 技
│   ├── learnsets.json           # 習得技
│   ├── natures.json             # 性格
│   ├── types.json               # タイプ (日英マッピング)
│   └── conditions.json          # 天候/フィールド/状態異常/壁
├── shared/                      # 単純ソースディレクトリ (package.json なし)
│   └── src/
│       ├── index.ts
│       ├── constants/           # DEFAULT_LEVEL, MAX_IV, 性格補正倍率 等
│       ├── utils/               # NameResolver
│       ├── schemas/             # Zod 入力スキーマ
│       ├── types/               # PokemonEntry, PokemonEntryProvider 等
│       ├── analysis/            # タイプ相性・実数値・素早さ比較
│       └── calc/                # ダメージ計算エンジン (DI 対応)
├── vendor/                      # npm 未 publish のサードパーティ tarball
└── packages/
    └── mcp-server/              # 唯一の workspace パッケージ
        └── src/
            ├── index.ts         # エントリ (#!/usr/bin/env node)
            ├── server.ts        # MCP サーバー + ツール登録
            ├── instructions.ts  # MCP instructions テキスト
            ├── data-store.ts    # JSON → Map + PokemonEntryProvider 実装
            ├── name-resolvers.ts
            ├── party-store.ts   # ~/.ai-rotom/parties.json の読み書き (atomic)
            └── tools/
                ├── info/        # 情報取得系
                ├── search/      # 逆引き検索系
                ├── calc/        # 計算系
                ├── analysis/    # 分析系
                └── party/       # パーティ永続化 (save/load/list/delete)

Read the full file on GitHub · 240 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. 8d ago First seen · 240 lines · 3,703 tokens per session scan A be9d82918360

Subscribe to this mod's changes

ai-rotom CLAUDE.md is an instructions file published in the GitHub repository nonz250/ai-rotom (18 stars, last pushed 4d ago), licensed MIT. It adds 3,703 tokens to every session, about $0.0185 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-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens