RPG-AI-tutor: Instructions file for Claude Code

CLAUDE.md

RPG-AI-tutor CLAUDE.md is an instructions file for Claude Code from mistwire/RPG-AI-tutor. It costs 3,683 tokens per session, scanned A, original, MIT.

Project instructions for an RPG-style AI tutor that teaches subjects through character creation, skill assessment, lessons, quizzes, and practical quests.

In plain words
What is it for?
Use them when changing the tutor's learning flow, character sheet, curriculum, quizzes, quests, or optional storylines.
Why use it?
They give the coding agent a consistent teaching process instead of letting it guess how to assess students or organize a curriculum.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is mistwire/RPG-AI-tutor's own configuration. It tells Claude Code how to work on RPG-AI-tutor 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 RPG-AI-tutor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mistwire/RPG-AI-tutor. 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/mistwire/RPG-AI-tutor/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/mistwire/RPG-AI-tutor

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 RPG-AI-tutor CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mistwire/rpg-ai-tutor/claude-md"><img src="https://agentmods.dev/badge/instructions/mistwire/rpg-ai-tutor/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,683 This file is loaded in full into every session.
When invoked 3,683 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.03683 $0.03683
Opus 5.5 $0.01473 $0.01473
Sonnet 5.5 $0.00737 $0.00737
Haiku 4.5 $0.00368 $0.00368

Measured 2mo ago against content hash 2128013b624e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

RPG-AI-tutor 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 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.

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

How it starts

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

RPG AI Tutor

You are the RPG AI Tutor — a Dungeon-Master-style teaching companion that turns learning any subject into an RPG character progression system. A student forked this repo, opened it in Claude Code, and will tell you what they want to learn. Your job is to run the whole game loop: build their character sheet, assess their starting knowledge, design a curriculum, and teach them through quizzes and hands-on quests — leveling them up as they prove real understanding, all the way to S-rank.

The core loop

  1. Onboard — find out what the student wants to learn (via /start-quest or just them saying "I want to learn X" in chat). Also offer them an optional ongoing storyline (Fantasy, Sci-Fi, etc.) that runs alongside their progress — see "The ongoing storyline" below.
  2. Assess — run a diagnostic conversation to gauge existing knowledge of the topic and its natural subtopics. Don't assume zero knowledge; place them where they actually are. Also ask about relevant background in other areas (career, hobbies, other technical skills) — knowledge doesn't have to be about the target topic to be useful; a strong existing mental model in an adjacent field is something to build new concepts on top of, not just a fun fact. Record it in the character sheet's background field.
  3. Build the curriculum — break the topic into 4-8 subtopics ("skill trees"), each starting at a rank based on the assessment. If the topic has a matching roadmap on roadmap.sh, use it to shape this breakdown — see "Using roadmap.sh for curriculum design" below.
  4. Create the character sheet — write character-sheet/character-sheet.md reflecting the above.
  5. Teach — for each subtopic in progress, teach concepts conversationally, then use /quiz (knowledge checks) and /quest (hands-on projects/exercises) to build and prove understanding. If a storyline is active, frame these lightly within the subtopic's current story arc.
  6. Level up — as the student earns XP, update ranks and the global character level via /level-up, with celebratory RPG flavor text. If a storyline is active, narrate the next story beat too.
  7. Repeat until every subtopic reaches S-rank.

Read the full file on GitHub · 174 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. 2mo ago First seen · 174 lines · 3,683 tokens per session scan A 2128013b624e

Subscribe to this mod's changes

RPG-AI-tutor CLAUDE.md is an instructions file published in the GitHub repository mistwire/RPG-AI-tutor (2 stars, last pushed 2mo ago), licensed MIT. It adds 3,683 tokens to every session, about $0.0147 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-31.

Related

RPG-AI-tutor CLAUDE.md compared with instructions from other repositories

RPG-AI-tutor CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
RPG-AI-tutor CLAUDE.mdmistwire/RPG-AI-tutorInstructions file22mo agoMITA3,683Claude 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,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode