tft-oracle CLAUDE.md

tft-oracle CLAUDE.md is an instructions file for Claude Code from gregario/tft-oracle. It costs 355 tokens per session, scanned A, original, MIT.

Project instructions for tft-oracle, a tool that provides Teamfight Tactics game data such as champions, traits, items, and augments. It uses CommunityDragon, a public source of game data, and caches the data locally.

In plain words
What is it for?
Use it when modifying the TypeScript MCP server, its data pipeline, tools, tests, or build and start commands. It covers the current game set and does not require a Riot API key.
Why use it?
It gives the coding agent the project's architecture, data-source rules, testing commands, and required Riot Games attribution before changes are made.

Instructions file for Claude Code

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

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.

agentmods
npx agentmods add instructions/gregario/tft-oracle/claude-md
Clone the repo
git clone --depth 1 https://github.com/gregario/tft-oracle

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 tft-oracle CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gregario/tft-oracle/claude-md.svg)](https://agentmods.dev/instructions/gregario/tft-oracle/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/gregario/tft-oracle/claude-md"><img src="https://agentmods.dev/badge/instructions/gregario/tft-oracle/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 355 This file is loaded in full into every session.
When invoked 355 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00355 $0.00355
Opus 5 $0.00178 $0.00178
Sonnet 5 $0.00071 $0.00071
Haiku 4.5 $0.00036 $0.00036

Measured 5d ago against content hash 3451077bbd29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

tft-oracle 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 5d 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 · 34 lines

What it actually says

tft-oracle — Teamfight Tactics MCP Server

Reference oracle for TFT game data. Provides accurate champion, trait, item, and augment data to LLMs using CommunityDragon as the data source.

Stack

  • TypeScript, MCP SDK, better-sqlite3, Zod
  • Read stacks/mcp/ and stacks/mcp/tool_design.md before modifying tools

Architecture

  • src/data/ — Data pipeline (fetch, parse, ingest, schema)
  • src/tools/ — MCP tool implementations
  • src/server.ts — Main entry point
  • tests/ — Vitest tests

Data Source

CommunityDragon: raw.communitydragon.org/latest/cdragon/tft/en_us.json

  • Auto-fetched on first run, cached at ~/.tft-oracle/
  • Static data only — no Riot API key required
  • Current set only (highest numbered set in the JSON)

Operates under Riot Games' Legal Jibber Jabber policy. All tool outputs and README must include:

  • "tft-oracle isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties."
  • CommunityDragon attribution

Commands

  • npm test — run tests
  • npm run build — compile TypeScript
  • npm start — start server

MCP Server Notes

  • package.json must have "engines": {"node": ">=18"} and "type": "module".
  • Glama deploy: Auto-detect is broken. NEVER trust Glama defaults. See stacks/mcp/publishing.md.
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. 5d ago First seen · 34 lines · 355 tokens per session scan A 3451077bbd29

Subscribe to this mod's changes

tft-oracle CLAUDE.md is an instructions file published in the GitHub repository gregario/tft-oracle (1 stars, last pushed 4mo ago), licensed MIT. It adds 355 tokens to every session, about $0.0018 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-31.

Related

Other instructions, from other repositories

claudemon CLAUDE.md

Instructions for zamarrowski/claudemon, covering ai agent guidelines, project shape, general guidelines, general rules and guards & defensive code.

zamarrowski/claudemon · 7,681 tokens

unity-code-style-guide AGENTS.md

Instructions for krogh-jacobsen/unity-code-style-guide, covering agents.md — unity 6 c, project setup — edit this block, never do these — they corrupt the project, deprecated in unity 6 and if you read nothing else.

krogh-jacobsen/unity-code-style-guide · 4,528 tokens

nes-php-glfw copilot-instructions.md

Instructions for oliverearl/nes-php-glfw, covering github copilot development guidelines for nes emulator, agent document source of truth, project overview, code style & standards and documentation.

oliverearl/nes-php-glfw · 2,719 tokens

game-and-watch-retro-go-sd CLAUDE.md

Claude Code instructions for sylverb/game-and-watch-retro-go-sd, covering claude.md, what this project is, build / flash workflow, architecture and three storage tiers, one elf.

sylverb/game-and-watch-retro-go-sd · 2,946 tokens

base-building-trap-defense-design-agent-skill CLAUDE.md

Instructions for dungnotnull/base-building-trap-defense-design-agent-skill, covering claude.md — skill 250: base-building-trap-defense-design, skill identity, problem this skill solves, harness flow summary and sub-skills.

dungnotnull/base-building-trap-defense-design-agent-skill · 1,910 tokens

trident-mcp AGENTS.md

Instructions for mordor-forge/trident-mcp, covering agents.md, what this is, build and test, single-file verification and e2e tests.

mordor-forge/trident-mcp · 1,465 tokens