twohg-guide
Skill28 starsChanged 2 months ago0BSDView on GitHub
Build a Two-Headed Giant (2HG) sealed prerelease cheat sheet for a new MTG set — what's winning (Arena Sealed and Early Access draft stats + paper prerelease reports), team pairings, every card that doubles against two opponents, partner-hitting gotchas, rules that change in 2HG, bombs, removal, and a build-hour checklist — published as a private artifact page with card-image hovers.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cube-wizardSkill
- deck-forgeSkill
- deck-stratSkill
- deck-wizardSkill
- lgs-searchSkill
- proxy-printerSkill
- rules-lawyerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
No card text from memory: Every card name, cost, and ability on the sheet comes from twohg-scan / scryfall-lookup / the local MTGJSON data.
- Very specific: line 22
No CR number from memory: Run download-rules --output-dir <scratch> fresh every time and pass that file to every lookup: rules-lookup …
- Distinctive: line 53
Ask which the store uses; it changes deck-building advice.
- Very specific: line 97
Run it once with <EVENT> = SEALED and once with PREMIER_DRAFT.
- Very specific: line 99
Run limited-stats --set <CODE> --premium-sealed premium-sealed.json --premium-draft premium-draft.json --json (either one alone falls back …
- Very specific: line 115
When the saved threads land, run thread-extract ~/Downloads/<thread>.html.
- Distinctive: line 116
Read the deck photos: decklists are usually images, not text.
- Distinctive: line 123
1v1 numbers only rank: Every win rate (Arena Sealed, Arena draft, paper) is from 1v1 games.
- Distinctive: line 133
Early Access: Before release all Arena data is Early Access (content creators and invited players): one footnote line, no adjustment.
- Very specific: line 137
Start from the template: twohg-template <scratch>/<code>-2hg.html.
- Very specific: line 139
Use .card for card names, .cost for {1}{B} costs, .x2 for doubled numbers, .cr for rule numbers and .pip for color pips.
- Very specific: line 156
Every CR number must come from rules-lookup against the fresh CR.
- Distinctive: line 157
Check every card claim against its text: conditional abilities ("whenever you don't cast…"), one-shot vs repeatable loyalty abilities, …
- Distinctive: line 160
every "bomb" is in Bombs;
- Distinctive: line 162
no section frames removal or bombs as one-sided.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
2HG Guide
Dan and his partner play Two-Headed Giant sealed prereleases. Before each one this skill
produces a 2HG Cheat Sheet: a short, two-column page they read on the way to the store
and at the build table. The Hobbit (Aug 2026) and Reality Fracture (Sept 2026) sheets are
the style model: Artifact action=list shows them; read one before drafting.
Vocabulary (head, ×2 card, partner hit, step trigger, bomb, pile) is in CONTEXT.md.
Iron Rules
- No card text from memory. Every card name, cost, and ability on the sheet comes from
twohg-scan/scryfall-lookup/ the local MTGJSON data. Check each claim you write about a card against its text. - No CR number from memory. Run
download-rules --output-dir <scratch>fresh every time and pass that file to every lookup:rules-lookup --rule <n> --rules-file <scratch>/comprehensive-rules-<date>.txt. Without--rules-fileit reads the newest copy in the current directory, which can be an old one checked into the repo. Cite only what it returns, and check your description against the rule text: CR 810.9 covers damage and life only, while "each opponent means both heads" is CR 102.3. For card-specific questions use/rules-lawyer. - Every recommendation must agree with every other one. The team pairings, the build checklist, the bombs list, and the "what's winning" section are checked against each other in Phase 3. If the checklist says "blue in one deck, black in the other", every pairing follows it.
- Two-sided sections. Bombs and Removal are the pile you pull and the threats and answers the other team has. Never frame them as only one side.
- Say "bomb" only if the Bombs section names it.
- Quote evidence exactly. One player's deck is not a team's; "3-0 (6-0)" means three matches and six games without a loss, not a 6-0 match record; a comment about one store is one store. Label small samples.
Workflow
Phase 0 intake ─► Phase 1 gather (parallel) ─► Phase 2 draft on the spine ─► Phase 3 audits ─► Phase 4 publishPhase 0 — Intake (ask once, early)
Settle these with the user in one AskUserQuestion round (skip anything already known):
- Set code and name, event date and start time (drives how much paper data exists).
- Store product: WPN's 2HG product from Reality Fracture on is 1 Prerelease Pack + 2 Play Boosters (8 boosters, one kit) per team; some stores still run two kits (12 boosters). Ask which the store uses; it changes deck-building advice.
- Match structure (usually best-of-one).
Then, immediately (Reddit is blocked for every tool: WebFetch, WebSearch, and the Chrome extension all refuse it):
Ask the user to open r/magicTCG's "Prerelease Megathread" and the r/lrcast / r/mtglimited result posts from the prerelease weekend, and save each with Cmd+S into
~/Downloads. The_files/folder each save creates holds the deck photos.
Phase 1 — Gather (run in parallel)
Work in the session scratchpad. Launch these together:
- Card scan:
twohg-scan --set <CODE> --json > scan.json twohg-scan --set <CODE> # readable version- The scan sorts cards into five buckets:
doubles: the ×2 cards.hits_partner: symmetric effects and wipes that also land on your teammate.target_player: effects you can aim at your partner.step_triggers: CR 805.4d,per_headvsonce.removal_reach: whether each removal spell can hit a planeswalker, and itsmv_floor. MV-gated removal can't hit Jace or other mana-value-0 tokens.
- Each card is tagged
[ir](phase's parse) or[text](an oracle-text fallback, used for sets phase hasn't parsed yet). Read[text]rows more skeptically, and check them against the card text.
- The scan sorts cards into five buckets:
- Fresh rules:
download-rules --output-dir <scratch>; every laterrules-lookuppasses--rules-filepointing at it (Iron Rule 2). - Arena stats, pooled:
limited-stats --set <CODE> --reviews --json > stats.json. With no--eventit reads Arena Sealed and Premier Draft and puts the pooled view first (pooledin the JSON): pair tiers, standouts, underperformers, data bombs, the leaning cards, thin rares, color depth at common, and the cards where the formats disagree, each measured against its own format's average and pooled by games. Every card carries aplus_minus(its 90% range;--confidencesets the level). 2HG is sealed, but Sealed alone is too thin to rank most pairs or cards, so draft joins it as evidence (see Reading the evidence below). If one format has no data yet, the pooled view says so and uses the other.- The free tier works over plain HTTP. It omits the diamond and mythic ranks; for TRK it gave Sealed as one all-ranks bucket.
--event SEALED(orPREMIER_DRAFT) prints one format alone, the old report.- Premium, via Chrome, when the user has Untapped Premium:
- Load the Chrome tools in one ToolSearch.
- Open
https://mtga.untapped.gg/limited/draft/<set-slug>/set-guidein a new tab. It can take ~30 s to load, and readschrome://newtabuntil it does, so don't retry-loop. get_page_textfor the page summary: match count, the "Early Access" note, color tiers with 6+ win rates, top commons, signpost uncommons.- In the tab, run:
Run it once withconst r = await fetch('https://api.mtga.untapped.gg/api/v1/analytics/query/card_stats_limited_by_set_v2/premium?CardSetFilter=<CODE>&LimitedEventTypeFilter=<EVENT>&LimitedEventTimeIntervalFilter=LATEST_EVENT', {credentials: 'include'}); const t = await r.text(); document.getElementById('__out')?.remove(); const pre = Object.assign(document.createElement('pre'), {id: '__out', textContent: t}); document.querySelector('main').prepend(pre); t.length<EVENT>=SEALEDand once withPREMIER_DRAFT. get_page_texthands back the JSON. Anything over about 50K characters is saved to a tool-results file; join the pieces intopremium-sealed.json/premium-draft.json.- Run
limited-stats --set <CODE> --premium-sealed premium-sealed.json --premium-draft premium-draft.json --json(either one alone falls back to the free tier for the other).
- Payload shape (the same for free and Premium, so
limited-statsreads either):datais keyed by Arena titleId, not grpid. Names come from mtgajsonloc_en.json, and rarity and colors fromcards.json.- Inside each card, the keys are archetypes, then rank buckets (
b/s/g/p/d/m). An archetype key is a color bitmask (W1 U2 B4 R8 G16, so3= WU and24= RG), orALL. - Each rank holds three arrays: games/wins in deck, drawn-or-in-hand ("GIH"), and opening hand.
- The free tier truncates these arrays and omits diamond/mythic.
metadata.fieldsnames the positions.
- The query is
card_stats_limited_by_set_v2(the v1 path answers 204 for every set since 2026-11). Iflimited-statsreports an empty answer while the set-guide page shows stats, Untapped has moved it again: read the page's network calls (read_network_requests, filtercard_stats) for the new path, then updateAPI_URLinlimited_stats.py. - Reviewer consensus (
--reviews; it names the bombs the data is too thin for) is chunk.science's aggregate, fetched and cached 24 hours: each thin rare carriesreview_mean(0–100; A− = 90, B+ = 85, B = 80) andreview_sources, andpooled.reviewer_bombslists the rares and mythics under 60 drawn that reviewers average 90 or better, the ones nobody has drawn included. If the fetch fails (the site changed, or has no page for the set yet), save the page'sdata/<code>.<hash>.jsscript by hand and pass it with--reviews-json.
Web research subagent (general-purpose, background). It gathers:
- the WPN prerelease page (the 2HG product);
- the official release notes and mechanics article;
- Early Access write-ups (Substack, MTG Rocks);
- set reviews: Draftsim sealed, best commons and archetypes; Card Game Base; MTGAZone.
Tell it that Reddit is unreachable, and to mark each claim reported (played events) or predicted (reviews), and each played event sealed or draft.
- Paper reports:
- When the saved threads land, run
thread-extract ~/Downloads/<thread>.html. It prints the post, the top-level comments, and the saved image paths, largest first. - Read the deck photos: decklists are usually images, not text.
- Collapsed replies aren't in a saved page. If a key reply is missing, ask the user to expand it and save again.
- When the saved threads land, run
Reading the evidence
Settled with Dan (2026-11-08) after the TRK sheet; every section below follows it.
- 1v1 numbers only rank. Every win rate (Arena Sealed, Arena draft, paper) is from 1v1 games. The 2HG effects (×2 cards, partner hits, 30 shared life, combined blocks) come from rules reasoning in their own sections and never get a number.
- Pairs: pooled tiers. Each format's pair rate is taken against that format's average pair, then pooled by games. A pair is ahead or behind only at 5+ points from average (
--tier-gap) even at the cautious end of its ± (tier:top/bottom); the rest are tied, and the sheet doesn't order them. A pair whose number clears the gap but whose cautious end doesn't is leaning (lean:top/bottom, settled with Dan 2026-11-26): say "the data leans that way" at most, never "ahead" or "behind". The pair's ± is rough (the free data has no wins per archetype), so read it as a floor on the doubt. Show the per-format numbers only where they clash by 10+ points. - Cards: pooled IWD. "Improvement when drawn" (win rate drawn minus not drawn), pooled by games drawn. A card stands out when its lift is 10+ points over the average card even at the low end of its ± range, or underperforms when it is 10+ under even at the high end (
--margin), with 60+ games drawn across the formats (--pool-min-games). Write it as "wins N points more often when drawn" and give the average card's figure once. A line ending "! sideboard-only share of not-drawn games: PREMIER_DRAFT 28%" is a free-tier card for which that share of its not-drawn games in that format were games it sat in the sideboard: treat its lift there as rougher than its ± says, and prefer a Premium payload for it. - The ± on a card (settled with Dan 2026-11-25) is the range its lift could plausibly sit in from the games alone, a two-sided 90% range (
--confidence):+12.5 ±1.7means somewhere between +10.8 and +14.2. A card is a standout, underperformer or data bomb only when the cautious end still clears the margin (the low end for a standout, the high end for an underperformer). A label tests that one end only, so it is a one-sided 95% call: about one card in twenty whose true lift sits right at the margin still gets a label. A large sample makes the range narrow (TRK's top mythics: ±1.6 to ±1.7 over 4,000+ games); 60 to 150 games leave it wide (FRA: ±10 to ±17). Quote a lift with its ± only where the range matters to the claim; never quote a ± as if it were a second win rate. - Leaning (
pooled.leaning,lean:standout/underperformer) is a card whose estimate clears the margin but whose range reaches back inside it. Never call one a standout, a bomb or a trap on the data. It may still be one: say "the data leans that way" if it matters, and let reviewers and paper reports decide. A card can lean because it is thin (FRA's Ferocity of the Hunt, +19.3 ±13.7 over 66 games) or because it sits right on the line with a lot of games (TRK's U.S.S. Discovery, +10.3 ±1.1 over 9,343): the second is a real, good card that is simply not 10 points better. - Bombs. By data: a rare or mythic among the standouts (its cautious end clears the margin). A rare or mythic leaning standout (marked
*in the leaning list) is not a data bomb: with--reviewsit carriesreview_mean/review_sources, and it is a bomb only when the reviewers grade it one (A− or better, chunk.science 90+), labelled as theirs, with its lift and ± (TRK: Sheoldred, the Apocalypse at 98.6 and U.S.S. Discovery, at Black Alert at 93.1). Otherwise it is a good rare, not a bomb. Under 60 games drawn, reviewers decide: a bomb only at an A− or better average (chunk.science 90+), labelled as theirs, with its thin data in [brackets]. A bracketed rate never makes or unmakes a bomb. - Paper reports are proof that a shape can win, never a rate: list them under "Paper decks" with their decklists, and never let them move a tier. Paper prereleases are sealed, so they outrank draft write-ups when describing how sealed plays.
- Pool size. A 2HG team opens twice the boosters of an Arena Sealed player, so colors follow the piles (removal → bombs → ×2 → fixing); color depth at common is a tiebreaker only.
- Removal first is a paper / reviewer / pool-size lesson, not a win-rate one (common removal tends to rate as an average card): say so, and print no win rates beside removal.
- Draft-inflated cards. A card whose value grows with copies or a drafted package (TRK: Andromedan Automatons) gets a one-line flag and no draft-based verdict. The
disagreementslist is where to look; deciding why is your job. - Early Access. Before release all Arena data is Early Access (content creators and invited players): one footnote line, no adjustment.
Phase 2 — Draft on the spine
- Start from the template:
twohg-template <scratch>/<code>-2hg.html. - Fill every section, keeping the Hobbit/FRA length: a cheat sheet, not an essay. Write in plain English (the reader is a player, not the repo).
- Use
.cardfor card names,.costfor{1}{B}costs,.x2for doubled numbers,.crfor rule numbers and.pipfor color pips.
| Section | What goes in it | Source |
| What's winning | One merged section, never separate Arena and paper blocks. Open with how to read the numbers (one line) and the lessons. Then the pooled pair tiers (ahead / tied / behind), the paper decks as "what can win" with their lists, color depth at common (one line), the standout commons and uncommons, the underperformers, any draft-inflated card, format speed, and the only 2HG-specific reports, quoted exactly. Close with a footnote saying which numbers come from where, plus the Early Access caveat. | stats.json pooled, paper reports, research |
| Team pairing | Store product and pool size first. Then an anchor only where the pooled tiers give one (TRK: red in one deck, since every red pair leads), and otherwise "the piles pick the colors". No ranked shapes among tied pairs. Say which colors hold the most ×2 cards and removal. Cover "both decks must work alone" and the fixing available. | scan, stats |
| The ×2 cards | A table (rarity · card · cost · the 2HG math) built from doubles. Add a "bigger here" line for triggers that fire off opponents, and a not doubled line from step_triggers rows where fires: once (CR 805.4d). | scan |
| Downgrades & gotchas | From hits_partner and target_player: wipes that hit your partner (still good, just time them together); "each player" effects; "target opponent" doesn't double; "target player" can be your partner; set-specific traps. | scan |
| Rules that win games | 102.3 + 810.9, 805.4d, 805.10d (a combined block; menace needs 2 blockers from your team), 805.10b, 810.8a (one decked head loses for both), 810.6 (whoever plays first skips both first draws, so usually draw first), 810.5, 805.8. Cite from rules-lookup output only. | rules-lookup |
| Bombs | Your pile and their threats, by color and gold pair. Each entry says whether the data or the reviewers name it (see Reading the evidence), with its pooled IWD (bracketed when thin), paper evidence where there is some, and a play-around note for the big ones. Mark ones that are also ×2. Include the set's special guests (cards from other sets on a bonus sheet): they're in paper prerelease packs too, and thin_rares lists them. Add a line of the standout uncommons to fear. End with "not bombs despite the hype": reviewer A− rares with 60+ games that are neither a data bomb nor a leaning standout (no estimate 10+ over average at all, or leaning the other way); a leaning standout the reviewers grade A− is their bomb, above. Then the rares below average. | pooled data_bombs / leaning / thin_rares (with review_mean) / reviewer_bombs / underperformers + paper |
| Removal | Your pile and their answers, by color, with costs and speed. Say which spells can and can't hit a planeswalker (removal_reach) and the MV-floor note, plus which toughness dodges what. | scan + card text |
| Build hour checklist | Confirm the product, pull piles (removal → bombs → ×2 → fixing; colors follow the piles), the anchor color if there is one, splashes and ~17 lands, 2HG grade adjustments, draw first, play fast if rounds go to time, and in-game coordination. | everything above |
| Sources (footer) | Every source used, with links, dates and sample sizes. Credit card images to Scryfall and © Wizards. | — |
Phase 3 — Audits (both required)
- Rules audit. Invoke
/rules-lawyerover the whole sheet.- Every CR number must come from
rules-lookupagainst the fresh CR. - Check every card claim against its text: conditional abilities ("whenever you don't cast…"), one-shot vs repeatable loyalty abilities, "nonland", "creature or legendary spell".
- A tempting inference with no official ruling yet (the set's rulings usually aren't published until release) is labeled as a reading of the rules, citing the rule it rests on.
- Every CR number must come from
Consistency audit. Re-read the sheet top to bottom and check:
- every "bomb" is in Bombs;
- the pairings follow the default split, and the checklist says the same;
- no section frames removal or bombs as one-sided;
- single reports aren't generalized, and records are exact;
- the ×2 table, gotchas and step-trigger lines agree with
scan.json; - nothing claims the CR is silent on something it covers.
Fix everything before publishing.
Phase 4 — Publish
guide-card-hovers <scratch>/<code>-2hg.html --set <CODE> --out <scratch>/publish \
[--alias "Prepare Spell=Card Name" ...] [--card "Guest Card Name" ...]- The command:
- finds every card name in the page, including prepare-spell and face names;
- downloads each card's Scryfall image (cached), fills the page's hover map;
- writes
<scratch>/publish/files.json.
- Publish with the Artifact tool:
file_path:<scratch>/publish/<code>-2hg.htmlroot:<scratch>/publishfiles: the contents offiles.jsonicon: "cards"- a one-sentence
description
- Republish revisions to the same path so the URL stays put. A revision from a later
session (the store, the next day) must pass the artifact's
url: find it withArtifact action=list, read it first, then publish withurl. Publishing withouturlfrom a new session creates a second page. - Tell the user the page is private until they share it from its Share menu, and give them the link.
- A face name shared by several cards (e.g. a prepare spell on three cards) is skipped with a warning. Pass
--aliasfor the one the sheet means. - A bonus sheet's guests (cards in the set's boosters that other sets print) hover too: the command adds every card the set's cached
limited-statsdata lists, so run it after Phase 2's stats on the same machine. Pass--card "Name"for one the stats don't list yet.
Revisions
Dan usually iterates while he's at the store:
- He adds threads: run
thread-extractagain and fold the results into What's winning. - He corrects the product: update Team pairing and the checklist.
- He spots inconsistencies: fix them, then re-run the Phase 3 consistency audit, since a fix in one section often contradicts another.
Republish after each round and summarize what changed in plain English.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

