Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

mtg-wiki-enmtg 维基 en

Agent Skill

mtg-wiki-en 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

745

周安装

32

GitHub Stars

公开资料未说明

下载量

261
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mtg-wiki-en(mtg 维基 en)
来源仓库:https://github.com/raymondeeeemmmm/mtg-wiki-en
安装命令:
openclaw skills install mtg-wiki-en
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mtg-wiki-en

简介

万智牌全知识库助手。用于回答万智牌规则问题、查询中英文牌张、分析牌张互动、解释赛制与策略、讲述背景故事。当用户询问万智牌相关内容(牌名、规则概念、赛制、策略、背景设定)或调用 /mtg-wiki 时触发。

SKILL.md

name
mtg-wiki
description
MTG (Magic: The Gathering) comprehensive knowledge base assistant. Answers rules questions, queries cards in Chinese/English, analyzes card interactions, explains formats and strategies, and tells lore. Triggers when users ask about MTG-related topics (card names, rules, formats, strategies, lore) or invoke /mtg-wiki.
metadata
openclaw
requires
bins
["python3"]
env
[]
os
["darwin", "linux"]

MTG Wiki — Magic: The Gathering Knowledge Base Assistant

Overview

Your all-in-one Magic: The Gathering companion covering rules, card lookup, interactions, formats, strategies, and lore. Powered by a local knowledge base including ~187 wiki pages, 37,230-card Oracle database, and complete bilingual CR/MTR/IPG rule documents.

Knowledge Base Structure

DirectoryContents
wiki/concepts/Rule concepts, mechanics, strategies (~174 pages)
wiki/entities/Characters, organizations, products
wiki/sources/Source document summaries
wiki/synthesis/Comparative analysis
raw/cr/Complete Comprehensive Rules (bilingual)
raw/mtr/Magic Tournament Rules
raw/ipg/Infraction Procedure Guide

Core Capabilities

1. Rules Lookup (CR/MTR/IPG)

Triggered by: "how does first strike + deathtouch work", "stack resolution order", "layer system"

Workflow:

  1. Read relevant concept pages in wiki/concepts/
  2. For precise rules text, use rule_search.py to search the local rules index
  3. Cite exact rule numbers (e.g., CR 510.4, CR 613.6)

Key rules quick reference:

  • Layer system: CR 613 (copy → control → text → type → color → abilities → P/T)
  • APNAP: CR 101.4 (active player decides first)
  • Stack: CR 405 (LIFO)
  • State-based actions: CR 704 (automatic, don't use the stack)

2. Card Lookup (Chinese & English Fuzzy Search)

Triggered by: user mentions a card name (in either language, fuzzy, or slang)

Workflow:

  1. Call card_search.py for unified search
  2. Return bilingual card info (name, mana cost, type, rules text, format legality)

Card name format:

  • First mention: Chinese Name (English Name)
  • Subsequent mentions: Chinese Name

3. Card Interaction Analysis

Triggered by: user describes a multi-card scenario ("what happens if...")

Analysis framework:

  • Layer determination: identify which layer each effect belongs to → check for cross-layer (613.6) or dependency (613.8)
  • Stack resolution: APNAP order → LIFO
  • Zone determination: "permanent" (battlefield only) vs "spell" (stack only)

4. Strategy & Format Analysis

Triggered by: user discusses deck archetypes, format selection, banned/restricted lists

Format pages: standard.md / pioneer.md / modern.md / legacy.md / vintage.md Commander: commander.md / cedh.md

5. Article Translation

When translating MTG deck guides or strategy articles:

  1. Extract card names, use name_translator.py for official Chinese translations
  2. Standardize terminology
  3. Output Markdown with card name reference table and terminology glossary

Tools

# Card lookup (supports Chinese/English fuzzy search)
python3 ./raw/tools/mtg_wiki/card_search.py "Lightning Bolt"
python3 ./raw/tools/mtg_wiki/card_search.py "闪电击"

# Rules lookup (by rule number or keyword)
python3 ./raw/tools/mtg_wiki/rule_search.py "101.4"
python3 ./raw/tools/mtg_wiki/rule_search.py "stack"

# Name translation (EN↔CN)
python3 ./raw/tools/mtg_wiki/name_translator.py "Lightning Bolt"

API priority:

  1. mtgch API (https://mtgch.com/api/v1/) — Chinese first, bilingual
  2. Scryfall API (https://api.scryfall.com/) — English primary
  3. Local 37k Oracle DB — offline exact match

Layer System Quick Reference (CR 613)

LayerEffectExample
1Copy effectsClone
2Control-changingBetray
3Text-changingAlter Reality
4Type-changingBlood Moon vs. Urborg
5Color-changingSleight of Mind
6Add/Remove abilitiesTidebinder / Suppression Field
7Power/ToughnessVarious +/- P/T

Key distinctions:

  • Cross-layer effects (613.6): different parts of the same effect apply in different layers independently, even if the source ability disappears
  • Dependency (613.8): only exists when effects are in the same layer

Turn Structure

Untap → Upkeep → Draw → Precombat Main → Combat → Postcombat Main → End

APNAP (CR 101.4):

  • Active player decides first, non-active player decides later
  • Multiple triggered abilities go on stack simultaneously via APNAP
  • Result: non-active player's triggers resolve last (LIFO within APNAP)

Answering Standards

  1. Prefer wiki citations: check wiki/concepts/ first for relevant pages
  2. Precise rule citations: cite CR/MTR rule numbers, don't answer from memory
  3. Bilingual card names: use Chinese (English) format
  4. Cross-links: include [[slug|display]] references

Complete Rule Files

FileContents
raw/cr/1.mdGame concepts, priority, costs
raw/cr/6.mdSpells, abilities, layer system (613)
raw/cr/7.mdKeyword abilities (702), keyword actions (701)
raw/cr/glossarycn.mdChinese terminology glossary

For Judges

Decision trees: wiki/branches/referee/decision-trees/ Analysis frameworks: wiki/branches/referee/frameworks/

Judge rules questions must:

  1. Decompose by timeline and mechanics
  2. Force deep search of keyword actions (check CR 702)
  3. Four-step rule text reading: copy fully → circle qualifiers → verify each word → reverse-validate
  4. Output compliance report

Full Knowledge Base

This published skill contains only the core code. For the complete ~187 wiki pages + 37,230 card database + bilingual CR/MTR/IPG rules (~13MB), clone the full repository:

git clone https://github.com/RaymondYHH/mtg-skill.git
cd mtg-skill/magic-skill

Full repository contents:

  • wiki/ — 187 pages of local knowledge (concepts, entities, sources, synthesis)
  • raw/cr/ — Complete Comprehensive Rules (bilingual)
  • raw/mtr/ — Magic Tournament Rules (bilingual)
  • raw/ipg/ — Infraction Procedure Guide (bilingual)
  • raw/data/ — 37,230-card Oracle database + analysis scripts

After installing, run python3 raw/tools/mtg_wiki/build_indices.py to build local indices.

Notes

  • Always verify specific cards — use card_search.py or API, never from memory
  • Confirm Chinese card names via mtgch — user input may contain errors or slang
  • Watch for layer系统和时间印记 — identify the layer first for complex interactions
  • Commander rules in CR 903 — extra deck limits, color identity, command tax

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

80.66%
按下载量换算211

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills