mtg-learn

mtg-learn is a skill for Claude Code, Codex from KaelSensei/MagicAIBuilder. It costs 197 tokens per session (1,103 once invoked), scanned B, original, MIT.

A learning guide for Magic: The Gathering, a card game where players cast spells and reduce an opponent's life to zero. It explains the game's basics and the Commander format for players who are new to them.

In plain words
What is it for?
Use it to explain turns, resources, card types, interactions, game rules, or Commander play.
Why use it?
It makes a rules-heavy game easier to learn by introducing concepts in a gradual order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to explain turns, resources, card types, interactions, game rules, or Commander play.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kaelsensei/magicaibuilder/mtg-learn
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.

Any agent
npx skills add KaelSensei/MagicAIBuilder --skill mtg-learn
Clone the repo
git clone --depth 1 https://github.com/KaelSensei/MagicAIBuilder

Made for: Claude Code, Codex.

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 mtg-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/kaelsensei/magicaibuilder/mtg-learn/github.svg)](https://agentmods.dev/skills/kaelsensei/magicaibuilder/mtg-learn)
Your own site
<a href="https://agentmods.dev/skills/kaelsensei/magicaibuilder/mtg-learn"><img src="https://agentmods.dev/badge/skills/kaelsensei/magicaibuilder/mtg-learn/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 mtg-learn

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaelsensei/magicaibuilder/mtg-learn"><img src="https://agentmods.dev/badge/skills/kaelsensei/magicaibuilder/mtg-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00197 $0.01103
Opus 5 $0.00098 $0.00551
Sonnet 5 $0.00039 $0.00221
Haiku 4.5 $0.00020 $0.00110

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

Security

Grade B, and why

mtg-learn scanned grade B 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 9d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- **If the learner asks a specific question:** Answer it directly, then provide just enough context to make it stick. Don't lecture.
.agents/skills/mtg-learn/SKILL.md · 60 lines

How it starts

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

Magic: The Gathering Learning Guide

You are a patient, knowledgeable Magic teacher. Your job is to make Magic's complexity approachable without dumbing it down. Magic is a deep game, and players deserve real understanding, not oversimplification.

This skill has two layers. Read the appropriate reference file based on where the learner is:

  • Beginner (never played or barely played): Read references/fundamentals.md
  • Transitioning to Commander/EDH: Read references/commander-guide.md
  • Both (full onboarding): Read both, start with fundamentals

Teaching Philosophy

Magic has 30+ years of rules and thousands of keywords. The temptation is to front-load all of it. Don't. Teach in this order:

  1. The goal (reduce opponent to 0 life)
  2. The resources (lands make mana, mana casts spells)
  3. The rhythm (turn structure, when you can act)
  4. The card types (creatures fight, instants surprise, sorceries do big things)
  5. The interactions (the stack, responses, removal)
  6. The depth (keywords, triggered abilities, layers, edge cases)

Each concept builds on the previous one. Never explain the stack before someone understands phases. Never explain layers before someone gets the stack.

How to Adapt

  • If the learner asks a specific question: Answer it directly, then provide just enough context to make it stick. Don't lecture.
  • If the learner says "teach me Magic": Follow the progression above, use concrete card examples, and pause for questions.
  • If the learner knows basics but not Commander: Jump to references/commander-guide.md and focus on what's different from 1v1 60-card.
  • If the learner pastes a card and asks "how does this work": Explain the card's mechanics in context, reference the relevant rules, and give a gameplay example.

Card Examples

Always use real cards as examples. Abstract explanations ("a creature with flying can only be blocked by other creatures with flying") are fine, but become memorable when paired with a specific card:

Read the full file on GitHub · 60 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 60 lines · 197 tokens per session scan B 646ae4b2dca0

Subscribe to this mod's changes

mtg-learn is a skill published in the GitHub repository KaelSensei/MagicAIBuilder (2 stars, last pushed yesterday), licensed MIT. It adds 197 tokens to every session and 1,103 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

organization-best-practices

Configure multi-tenant organizations, manage members and invitations, define custom roles and permissions, set up teams, and implement RBAC using Better Auth's organization plugin. Use when users need org setup, team management, member roles, access control, or the Better Auth organization plugin.

krivoox/agent-stack-template · 61 tokens

changelog-automation

Automate changelog generation from commits, PRs, and releases following Keep a Changelog format. Use when setting up release workflows, generating release notes, or standardizing commit conventions.

krivoox/agent-stack-template · 42 tokens

react-hook-form

React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, and the v7.55+ subscribe() API. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions…

krivoox/agent-stack-template · 85 tokens

vibe-spec

Spec-driven development workflow plus a production-tested full-stack reference (Next.js 16, Prisma, PostgreSQL, Auth.js/OTP, RBAC, dbt, Zod, Vitest, shadcn/ui, S3, Web Push, GitHub Actions, Vercel). Use when planning a web app spec, choosing stack tools for a feature, breaking work into phases, or implementing a phase…

Connorrmcd6/vibe-spec · 109 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…

krivoox/agent-stack-template · 94 tokens

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…

krivoox/agent-stack-template · 67 tokens