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,588 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,588 This file is loaded in full into every session.
When invoked 3,588 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.03588 $0.03588
Opus 5.5 $0.01435 $0.01435
Sonnet 5.5 $0.00718 $0.00718
Haiku 4.5 $0.00359 $0.00359

Measured 1mo ago against content hash 8da858a77101, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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 · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 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 registry から取得(packages/mcp-server の dependencies に exact pin)
  • 入力検証: 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 対応)
└── 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 · 236 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. 1mo ago Changed · -4 lines · -115 tokens per session 8da858a77101
  2. 2mo 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 (22 stars, last pushed 3d ago), licensed MIT. It adds 3,588 tokens to every session, about $0.0144 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

ai-rotom CLAUDE.md compared with instructions from other repositories

ai-rotom CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-rotom CLAUDE.mdnonz250/ai-rotomInstructions file223d agoMITA3,588Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot