Agent skill
card-finder
Find Magic cards for compact golden-test scenarios using existing repo goldens, curated references, and Scryfall search recipes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/card-finder
SKILL.md
Card Finder
Use this when the task is "find the right Magic cards for a test" rather than "write the golden itself."
Read only what you need:
references/golden-test-cards.mdfor repo-proven cards and query patterns
Workflow
-
Start with the curated reference. It is intentionally biased toward reusable, general-purpose test cards, not every niche card that happens to appear in a current golden.
-
If the mechanic is not covered there, run the helper script:
bashuv run python scripts/find_test_cards.py --list-recipes uv run python scripts/find_test_cards.py --recipe zero-mana-body uv run python scripts/find_test_cards.py --recipe trigger-prompt --filter 't:white' uv run python scripts/find_test_cards.py --query 'game:paper unique:cards function:clone is:spell mv<=4 order:cmc direction:asc' -
Bias toward cards that reduce turns, prompts, and unrelated board text: fast mana, zero-mana bodies, single-card setup, and deterministic triggers.
-
When giving recommendations, return a short list with "why this is useful in a golden" and "what noise it adds." Use existing repo goldens as evidence for what works, but do not turn the curated list into an index of one-off scenario cards.
Query Patterns
- Start most searches with
game:paper unique:cardsso results match paper XMage coverage and collapse duplicate printings. - Use
order:cmc direction:ascwhen you want the cheapest setup pieces first. - Use
function:tags for broad roles such asfunction:clone,function:removal, orfunction:counterspell. - Use
o:for Oracle text fragments,fo:when reminder text matters, ando:/.../regex when you care about text shape such aso:/^When/. - Use
is:flags for UI-heavy cards:is:mdfc,is:split,is:transform. - Use
!"Exact Name"when you already suspect a card and want all printings or details for that exact card.
If the user is also writing a golden, hand off to golden-test after the card
selection is narrowed down.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?