# Send scryfall-card to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "scryfall-card",
    "name": "scryfall-card",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/santidev95/scryfall-card",
    "canonicalUrl": "https://clawhub.ai/santidev95/scryfall-card",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/scryfall-card",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scryfall-card",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/scryfall_search.py",
      "references/search_syntax.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "scryfall-card",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T15:35:08.358Z",
      "expiresAt": "2026-05-19T15:35:08.358Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scryfall-card",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scryfall-card",
        "contentDisposition": "attachment; filename=\"scryfall-card-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "scryfall-card"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/scryfall-card"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/scryfall-card",
    "downloadUrl": "https://openagent3.xyz/downloads/scryfall-card",
    "agentUrl": "https://openagent3.xyz/skills/scryfall-card/agent",
    "manifestUrl": "https://openagent3.xyz/skills/scryfall-card/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/scryfall-card/agent.md"
  }
}
```
## Documentation

### 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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: santidev95
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-12T15:35:08.358Z
- Expires at: 2026-05-19T15:35:08.358Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/scryfall-card)
- [Send to Agent page](https://openagent3.xyz/skills/scryfall-card/agent)
- [JSON manifest](https://openagent3.xyz/skills/scryfall-card/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/scryfall-card/agent.md)
- [Download page](https://openagent3.xyz/downloads/scryfall-card)