convez.ai
SkillUtilidadesAvançado
dan-blanchard

MTG Skills

dan-blanchard/mtg-skills

Assistentes especializados para deck-building, cube design e pesquisa de cartas MTG

Ver no GitHub
InicialPluginScore · de 0 a 100

Suite de skills para Claude Code voltada a Magic: The Gathering, incluindo assistentes para construção/afinação de decks (Commander, Standard, Modern, etc.), cubes de draft, busca de cartas em lojas locais e online, consultas de regras com citações das Comprehensive Rules, geração de guias estratégicos e impressão de proxies em PDF.

Instalação

$npx convez-ai dan-blanchard/mtg-skills

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
26
Forks
4
Acompanhando
0
Saúde
42%
Último commit
há 2 dias
Versão
—
Issues abertas
3
Contribuidores
2

Casos de uso

  • Construir e afinar decks Commander/EDH com análise de mana e combo detection
  • Montar e balancear cubes de draft com simulação de packs
  • Pesquisar e alocar cartas em lojas locais e online minimizando custo total
  • Resolver dúvidas de regras citando Comprehensive Rules e rulings de Scryfall
  • Gerar guias estratégicos e imprimir proxies em PDF

Veredito

Projeto robusto e bem documentado para o nicho MTG, com lógica complexa (two-phase workflows, multi-agent debates, layer resolution) e integração com APIs reais (Scryfall, TCGPlayer). Excelente para players sérios que buscam otimização técnica em deckbuilding.

README

A tradução para o português deste README ainda está na fila.

MTG Skills

Claude Code skills for Magic: The Gathering.

Installation

npx skills add dan-blanchard/mtg-skills

Available Skills

deck-wizard

Build MTG decks from scratch or tune existing ones across all formats — Commander/EDH, Brawl, Historic Brawl, Standard, Alchemy, Historic, Pioneer, Timeless, Modern, PreModern, Legacy, and Vintage. Two-phase workflow: Phase 1 acquires a deck (parse an existing list or build from scratch via interview + research + skeleton generation), Phase 2 runs a 12-step tuning pipeline with mana auditing, combo detection, archetype coherence analysis, a two-agent debate, and impact verification.

cube-wizard

Build and tune MTG cubes — curated card pools designed for drafting. Supports Vintage, Unpowered, Legacy, Modern, Pauper, Peasant, Set, Commander, and PDH cubes. Two-phase workflow: Phase 1 acquires a cube (parse an existing CubeCobra cube or clone a well-known reference cube), Phase 2 runs a 9-step tuning pipeline covering designer intent, balance dashboards, archetype signal density, power-level review, a two-agent self-grill, cube-diff impact verification, pack simulation, and CubeCobra CSV export.

lgs-search

Search The Gathering Place + Atomic Empire (LGS) and TCGPlayer + Mana Pool (online) for an MTG card list, allocate to minimize total cost, and hand off pre-loaded headed browser windows for checkout. Targets at most three carts: TGP, AE, and one of TCGPlayer or Mana Pool.

rules-lawyer

Answer MTG rules questions by citing the actual Comprehensive Rules and Scryfall per-card rulings — the project's legal database (CR = statute, Scryfall rulings = case law). Resolves keyword interactions, trigger timing, replacement-effect layer issues, and stack-order questions with authoritative citations. Usable standalone or invoked by deck-wizard / cube-wizard / deck-strat via the Skill tool. Iron Rule: every answer cites at least one specific CR rule number from CLI output, never paraphrased from training data.

deck-strat

Generate a Strategy Guide for a finished Commander, Brawl, or Historic Brawl deck — a markdown document that explains how to pilot the deck, organized into a fixed core spine plus archetype-conditional sections (politics, voltron, combo execution, aristocrats, token doubling). Every rules-adjacent claim is verified against the Comprehensive Rules via a parallel Rules Audit pass. Read-only on the deck (no cuts/adds); for tuning, run /deck-wizard first, then /deck-strat on the finished list.

proxy-printer

Render printable PDF proxies from a parsed deck JSON. proxy-print --kind cards emits one proxy per copy of every card in the deck; proxy-print --kind tokens emits one proxy per distinct token kind those cards produce (deduped by Scryfall oracle_id). Both modes share one render template — name banner / ASCII art / type banner / oracle text / P/T — with art keyed by card subtype from a hand-curated local catalog plus an optional attributed catalog populated by fetch-art (mines asciiart.eu + asciiart.website). Callable standalone or at the end of a deck-wizard / cube-wizard build session.

Tooling

Both skills share CLI scripts via the mtg_utils package (mtg-utils/).

Deck tooling

  • parse-deck — Multi-format deck list parser with sideboard support
  • scryfall-lookup — Card lookup against local Scryfall bulk data with API fallback
  • card-search — Search bulk data with filters: format legality, oracle text, type, CMC, price
  • combo-search / combo-discover — Commander Spellbook API for combo detection and discovery
  • legality-audit — Format legality, copy limits (singleton or 4-of), sideboard size, Vintage restricted
  • mana-audit — Land count formulas (Burgess for commander, constructed formula for 60-card) and color balance
  • build-deck — Apply mainboard and sideboard cuts/adds
  • price-check — USD pricing or Arena wildcard budgeting
  • deck-stats — Deck statistics with sideboard reporting
  • deck-diff — Compare deck versions including sideboards
  • export-deck — Moxfield/Arena import format with sideboard section
  • card-summary — Compact card table with sideboard display
  • edhrec-lookup — EDHREC JSON endpoint client (commander skills only)
  • cut-check — Mechanical pre-grill for commander trigger/synergy analysis
  • mark-owned — Collection intersection with Arena name aliasing
  • mtga-import — Extract Arena collection and wildcard counts

Cube tooling

  • cubecobra-fetch — Pull a cube from CubeCobra (cubeJSON → cubelist → CSV fallback, with curl fallback for 403s)
  • parse-cube — Parse CubeCobra JSON / CubeCobra CSV / plain text / deck JSON into canonical cube JSON
  • cube-stats — Informational metrics: size, per-color distribution, curve, types, rarity, commander pool by color identity
  • cube-balance — Informational checks (not pass/fail) for color balance, curve, removal density, fixing density, and commander-pool composition
  • cube-legality-audit — Hard-constraint validation: rarity filters (Pauper, Peasant, PDH), format legality, ban list, commander-pool rarity
  • archetype-audit — Cross-reference user-supplied theme regexes against color pairs; surface bridge cards and orphan signals
  • cube-diff — Compare two cube revisions with optional balance-metric deltas
  • pack-simulate — Seeded pack generation (sizes 9/11/15) with configurable slot templates; optional dedicated commander packs
  • export-cube — Export canonical cube JSON to CubeCobra-compatible CSV (for the "Replace with CSV Import" round-trip) or plain text

Supported Deck Formats

FormatDeck SizeCopy LimitSideboardPlatform
Commander/EDH100SingletonNoPaper
Brawl (Standard Brawl on Arena)60SingletonNoArena + Paper
Historic Brawl (Brawl on Arena)60 or 100SingletonNoArena + Paper
Standard604-of15Arena + Paper
Alchemy604-of15Arena
Historic604-of15Arena
Timeless604-of15Arena
Pioneer604-of15Paper + Arena
Modern604-of15Paper
PreModern604-of15Paper + MTGO
Legacy604-of15Paper
Vintage604-of (restricted=1)15Paper

Supported Cube Formats

FormatDefault SizeCard PoolRarity FilterCommander Pool
vintage540Full eternal—No
unpowered540Full eternal (Power 9 banned)—No
legacy540Legacy-legal—No
modern540Modern-legal—No
pauper540Full eternalCommons onlyNo
peasant540Full eternalCommons + uncommonsNo
set360Single set—No
commander540Commander-legal—Yes
pdh540Full eternalCommons (main)Yes (uncommons)

Prerequisites

  • Python 3.12+
  • uv

On first use, the skill runs uv sync to install Python dependencies and downloads Scryfall bulk data (~500MB).

License

0BSD

Ver o original no GitHub

Bom para

Relacionados