santidev95

mtg-edh-deckbuilder

ナレッジ管理v1.0.3
作者:santidev95更新日 2026-05-11全 4 バージョン · 最新版の公開日 2026-02-05@clawhub_santidev95/mtg-edh-deckbuilder
情報検索

AlphaMoatによると、2026-09時点でmtg-edh-deckbuilderのダウンロード数は2,762、スター数は1で、AIスキル全体5,078件中3,904位、ナレッジ管理では442件中337位です。

インストール数
185
ダウンロード数
2762
スター数
1
総合順位
#3,904
全体の上位 77% · ナレッジ管理の上位 77%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗8525981-
SkillHub ↗18527621—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

資料では条件検索、名前検索、ランダムカード、オートコンプリート、カード項目を扱います。また、レート制限を守るためリクエスト間に待ち時間を設けるよう記載されています。

資料公開日 2026-10-27

できること

  • 名前、色、タイプ、ルールテキストでカードを検索する
  • カード情報、画像、価格、使用可否を取得する

使う場面

  • Magic: The Gathering のカード情報を調べるとき
  • カード属性で絞り込む、または特定のカードを探すとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

Scryfall で Black Lotus という名前のカードを探して
パワー 3 の赤のカードを検索して

月次の推移

ダウンロード数2762
1936238028232026-03 · ダウンロード数 19972026-05 · ダウンロード数 21892026-06 · ダウンロード数 22792026-07 · ダウンロード数 24452026-08 · ダウンロード数 25212026-09 · ダウンロード数 276226-0326-09
スター数1
0122026-03 · スター数 12026-05 · スター数 12026-06 · スター数 12026-07 · スター数 12026-08 · スター数 12026-09 · スター数 126-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092762—1
2026-082521+3.1%1
2026-072445+7.3%1
2026-062279+4.1%1
2026-052189—1
2026-031997—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.9 KB・ClawHub v1.0.3
---
name: scryfall-mtg
description: "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."
---

# Scryfall MTG Card Search

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

## API Overview
すべて表示(全 111 行)

Base URL: `https://api.scryfall.com`

**Required Headers:**
```python
headers = {
    "User-Agent": "OpenClawMTGSkill/1.0",
    "Accept": "application/json"
}
```

**Rate Limiting:** Insert 50-100ms delay between requests (max 10 req/sec).

## Core Endpoints

### 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:

```bash
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.

ナレッジ管理の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。