โ† All skills
Tencent SkillHub ยท Developer Tools

scryfall-card

Search and retrieve Magic: The Gathering card data using the Scryfall API. Use this skill when the user asks about MTG cards, wants to search for cards by name, type, color, mana cost, oracle text, set, or any other card attribute. Also use for getting card images, prices, rulings, legality information, or random cards. Triggers include mentions of MTG, Magic, Magic: The Gathering, card names, deck building questions, or requests for card information.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Search and retrieve Magic: The Gathering card data using the Scryfall API. Use this skill when the user asks about MTG cards, wants to search for cards by name, type, color, mana cost, oracle text, set, or any other card attribute. Also use for getting card images, prices, rulings, legality information, or random cards. Triggers include mentions of MTG, Magic, Magic: The Gathering, card names, deck building questions, or requests for card information.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/scryfall_search.py, references/search_syntax.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 11 sections Open source page

Scryfall MTG Card Search

Search for Magic: The Gathering cards using the Scryfall API.

API Overview

Base URL: https://api.scryfall.com Required Headers: headers = { "User-Agent": "OpenClawMTGSkill/1.0", "Accept": "application/json" } Rate Limiting: Insert 50-100ms delay between requests (max 10 req/sec).

Search Cards

GET /cards/search?q={query} Parameters: q (required): Fulltext search query unique: cards|art|prints (default: cards) order: name|set|released|rarity|color|usd|tix|eur|cmc|power|toughness|edhrec|penny|artist|review dir: auto|asc|desc page: Page number for pagination

Named Card Lookup

GET /cards/named?exact={name} GET /cards/named?fuzzy={name} Use fuzzy for partial matches (e.g., "jac bele" โ†’ "Jace Beleren"). Add &set={code} to limit to specific set.

Random Card

GET /cards/random GET /cards/random?q={query}

Card by ID

GET /cards/{id} GET /cards/{set_code}/{collector_number}

Autocomplete

GET /cards/autocomplete?q={partial_name} Returns up to 20 card name suggestions.

Search Syntax Reference

See references/search_syntax.md for the complete search syntax guide. Quick examples: c:red pow=3 - Red cards with power 3 t:merfolk t:legend - Legendary merfolk o:"draw a card" - Cards with "draw a card" in text cmc=3 r:rare - 3-mana rares e:dom - Cards from Dominaria f:standard - Standard legal cards usd<1 - Cards under $1

Implementation

Use the provided script for common operations: python3 scripts/scryfall_search.py search "lightning bolt" python3 scripts/scryfall_search.py named --exact "Black Lotus" python3 scripts/scryfall_search.py random python3 scripts/scryfall_search.py random --query "t:dragon" Or make direct API calls with proper headers and rate limiting.

Card Object Key Fields

When displaying card info, prioritize these fields: name, mana_cost, type_line oracle_text, power, toughness image_uris.normal (for card image) prices.usd, prices.usd_foil legalities (format legality) set_name, rarity For double-faced cards, check card_faces array.

Error Handling

404: Card not found 422: Invalid search query 429: Rate limited (wait and retry) Always validate responses have object field; if object: "error", check details for message.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts
  • SKILL.md Primary doc
  • references/search_syntax.md Docs
  • scripts/scryfall_search.py Scripts