S
smithy-org/bishop-and-barrister
Bishop & Barrister: a Claude skill for Magic: The Gathering rules, answered from the Comprehensive Rules and…
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
pip install pypdf
解析自我们于 2026-10-27 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 0 ★ · smithy-org/bishop-and-barrister · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-10-27 · 最近见到 2026-11-14 · 共见到 20 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 1 个来源 · repo
- 安装
pip install pypdf
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
pip install pypdf。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
smithy-org/bishop-and-barrister;我们收录于 2026-10-27;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# Bishop & Barrister
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Claude skill that answers Magic: The Gathering rules questions from the official Comprehensive Rules and
current Oracle card text instead of from memory, and cites the rules it relies on.
## Install
Clone it into your Claude Code skills folder:
bash
git clone https://github.com/smithy-org/bishop-and-barrister ~/.claude/skills/bishop-and-barrister
Then fetch the rules documents once: the Comprehensive Rules, the Magic Tournament Rules, the Infraction
Procedure Guide and Judging at Regular REL. They are not bundled, because they belong to Wizards of the Coast
and change several times a year. The three tournament documents are PDFs, read with pypdf:
bash
pip install pypdf
python ~/.claude/skills/bishop-and-barrister/scripts/sources.py update
Optionally, build the rulings record now; otherwise the skill does it the first time it needs it. This downloads
Scryfall's official rulings (about 5 MB) into ~/.claude/bishop-and-barrister/, a git repository that keeps
every ruling the judge makes, with its history:
bash
python ~/.claude/skills/bishop-and-barrister/scripts/judge.py build
Needs Python 3.10 or later, git, and pypdf for the tournament documents.
### Challenges (optional)
Everyday answering needs nothing more. To let a user challenge a ruling or argue for a new rule, the skill uses a
small program, bab-challenge, built for Linux, macOS and Windows. The first time a challenge runs, the skill
downloads the one for your machine from this repository's latest release and refuses it unless its SHA-256
matches the one recorded in challenge/binaries.json. If there is none for your machine, or no network,
challenges say so and everything else keeps working. A challenge uses a few million tokens at most, so the skill
tells you the cost and asks first. See CHALLENGE.md.
### On claude.ai
Zip this repository and add it as a custom skill in claude.ai's skills settings. This has not been tested
there yet. The skill fetches card data from scryfall.com and the rules documents from media.wizards.com, and a
challenge downloads its program from GitHub; if the sandbox blocks any of them, the script that needed it
reports the failure and the rest still works. Without independent subagents, claude.ai can open and refute a
challenge as a single-agent panel but cannot introduce a rule.
### Optional: sync across your devices
By default everything stays on your machine. To share your rulings between devices, point the skill at a
RustFS you control, on your own network or a remote server (1.0.4 or later; any S3-compatible store should
work). The bucket must be private. Put the keys in the environment, never in a file the skill writes:
bash
export BISHOPANDBARRISTERS3ACCESSKEY=... # or a profile in ~/.aws/credentials (--profile)
export BISHOPANDBARRISTERS3SECRETKEY=...
python ~/.claude/skills/bishop-and-barrister/scripts/judge.py sync --setup --endpoint https://rustfs.example.net --bucket bishop-and-barrister --create
python ~/.claude/skills/bishop-and-barrister/scripts/judge.py sync
After setup it syncs by itself: searches pull other devices' rulings in (at most every 10 minutes) and every
current Oracle card text instead of from memory, and cites the rules it relies on.
## Install
Clone it into your Claude Code skills folder:
bash
git clone https://github.com/smithy-org/bishop-and-barrister ~/.claude/skills/bishop-and-barrister
Then fetch the rules documents once: the Comprehensive Rules, the Magic Tournament Rules, the Infraction
Procedure Guide and Judging at Regular REL. They are not bundled, because they belong to Wizards of the Coast
and change several times a year. The three tournament documents are PDFs, read with pypdf:
bash
pip install pypdf
python ~/.claude/skills/bishop-and-barrister/scripts/sources.py update
Optionally, build the rulings record now; otherwise the skill does it the first time it needs it. This downloads
Scryfall's official rulings (about 5 MB) into ~/.claude/bishop-and-barrister/, a git repository that keeps
every ruling the judge makes, with its history:
bash
python ~/.claude/skills/bishop-and-barrister/scripts/judge.py build
Needs Python 3.10 or later, git, and pypdf for the tournament documents.
### Challenges (optional)
Everyday answering needs nothing more. To let a user challenge a ruling or argue for a new rule, the skill uses a
small program, bab-challenge, built for Linux, macOS and Windows. The first time a challenge runs, the skill
downloads the one for your machine from this repository's latest release and refuses it unless its SHA-256
matches the one recorded in challenge/binaries.json. If there is none for your machine, or no network,
challenges say so and everything else keeps working. A challenge uses a few million tokens at most, so the skill
tells you the cost and asks first. See CHALLENGE.md.
### On claude.ai
Zip this repository and add it as a custom skill in claude.ai's skills settings. This has not been tested
there yet. The skill fetches card data from scryfall.com and the rules documents from media.wizards.com, and a
challenge downloads its program from GitHub; if the sandbox blocks any of them, the script that needed it
reports the failure and the rest still works. Without independent subagents, claude.ai can open and refute a
challenge as a single-agent panel but cannot introduce a rule.
### Optional: sync across your devices
By default everything stays on your machine. To share your rulings between devices, point the skill at a
RustFS you control, on your own network or a remote server (1.0.4 or later; any S3-compatible store should
work). The bucket must be private. Put the keys in the environment, never in a file the skill writes:
bash
export BISHOPANDBARRISTERS3ACCESSKEY=... # or a profile in ~/.aws/credentials (--profile)
export BISHOPANDBARRISTERS3SECRETKEY=...
python ~/.claude/skills/bishop-and-barrister/scripts/judge.py sync --setup --endpoint https://rustfs.example.net --bucket bishop-and-barrister --create
python ~/.claude/skills/bishop-and-barrister/scripts/judge.py sync
After setup it syncs by itself: searches pull other devices' rulings in (at most every 10 minutes) and every
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/smithy-org-bishop-and-barrister/)
- 来源
- github · https://github.com/smithy-org/bishop-and-barrister
- 按领域浏览
- 开源项目
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。