phase: Skill for Claude Code

.claude/skills/unlock-set/SKILL.md

unlock-set is a skill for Claude Code from phase-rs/phase. It costs 103 tokens per session (6,318 once invoked), scanned A, original, Apache-2.0.

A workflow for making more cards from a Magic: The Gathering set work in the game engine. It groups unsupported cards by the shared parser or engine feature they need, then handles those groups in order.

In plain words
What is it for?
Use it when improving support for a set, especially when several cards need the same parser, rules, combat, stack, or other engine change.
Why use it?
It focuses development on one missing capability that can support many cards, while avoiding partial changes that could make the engine less reliable.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; $skill-name invocation.

This is phase-rs/phase's own configuration. It tells Claude Code how to work on phase itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything phase configures →

Reuse

Borrowing it

Nothing to install: this file belongs to phase-rs/phase. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/phase-rs/phase/main/.claude/skills/unlock-set/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/phase-rs/phase

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unlock-set

README.md
[![agentmods](https://agentmods.dev/badge/skills/phase-rs/phase/unlock-set/github.svg)](https://agentmods.dev/skills/phase-rs/phase/unlock-set)
Your own site
<a href="https://agentmods.dev/skills/phase-rs/phase/unlock-set"><img src="https://agentmods.dev/badge/skills/phase-rs/phase/unlock-set/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unlock-set

Your own site · 80×15
<a href="https://agentmods.dev/skills/phase-rs/phase/unlock-set"><img src="https://agentmods.dev/badge/skills/phase-rs/phase/unlock-set.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.06318
Opus 5.5 $0.00041 $0.02527
Sonnet 5.5 $0.00021 $0.01264
Haiku 4.5 $0.00010 $0.00632

Measured 1mo ago against content hash 3608864fe83e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unlock-set scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/unlock-set/SKILL.md · 440 lines

How it starts

The opening of the file, as written. The whole thing — 440 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Unlock Set Cards — Tier-Based Coverage Pass

Derive a set's unsupported card list, cluster by shared missing primitive (not by card), rank clusters by unlock-count × engineering cost, then run each cluster through $engine-implementer sequentially. Commit between clusters. Defer anything that would ship a partial runtime worse than Unimplemented.

When to use this skill vs. parser-velocity

This skill runs the heavy loop: cluster→plan→implement→review per cluster, full gate between clusters, CR annotations, typed primitive work. Right when the work is cluster-level infrastructure (new typed enum variants, new runtime mechanics, new combat/stack/resolver behavior, anything needing CR validation).

Use the companion parser-velocity skill instead when:

  • The target cards are "almost supported" — parser recognizes most of the text but misses one variation.
  • The fix per card is "add a tag() arm to an existing alt()" with no runtime work.
  • You want to iterate across the parser:* categories of cargo parser-gaps — gaps with a typed parser verdict, which are the parser-only work.
  • You want to defer the full gate (fmt / clippy / test-all / coverage / semantic-audit) to session end instead of paying it per cluster.

parser-velocity batches edits per compile cycle and avoids the $engine-implementer plan/review overhead — use it for quick wins, then return here for the cluster-level work that remains.

Prereqs. Run from the repo root. The $engine-implementer skill must be available. cargo, jq, ./scripts/gen-card-data.sh, and docs/MagicCompRules.txt must be present (run ./scripts/fetch-comp-rules.sh if missing).


Phase 0 — Resolve the Set

If the user named a set, resolve it to a set code. Otherwise, pick the highest-ROI recent set using the triage rubric below.

# By name (fuzzy):
jq -r 'to_entries[] | select(.value.name | test("<user phrase>"; "i")) | "\(.key)\t\(.value.name)\t\(.value.baseSetSize // 0)\t\(.value.type // "")" ' client/public/set-list.json

Read the full file on GitHub · 440 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 3608864fe83e
  2. 2mo ago First seen · 440 lines · 103 tokens per session scan A 88a33ad9157d

Subscribe to this mod's changes

unlock-set is a skill published in the GitHub repository phase-rs/phase (312 stars, last pushed today), licensed Apache-2.0. It adds 103 tokens to every session and 6,318 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

testing-rules

Testing standards — frameworks, the testable-logic trigger, golden/snapshot rules, mocking rules, and the test-author → testing-reviewer pipeline. Load for /add-tests and any change that touches testable logic.

saeedkolivand/ai-job-hunter-app · 48 tokens

author-contract

Shared write-side contract every domain AUTHOR imports — smallest-diff implementation, ground-first, validation gates, tests-are-blocking, and never-approve-your-own-work. The write-side mirror of token-efficiency. Load at the start of any implementation task.

saeedkolivand/ai-job-hunter-app · 55 tokens

coding-standards

General repo rules enforced by ESLint/TypeScript/CI — PRs-only, never bypass lint, import ordering, type imports, path privacy, commit format. Load for any code change.

saeedkolivand/ai-job-hunter-app · 44 tokens

anarlog

Query Anarlog meetings, notes, summaries, transcripts, participants, action items, and recurring history, or import a local recording. Use when a user asks about their Anarlog meeting data or needs meeting context for another task.

fastrepl/anarlog · 50 tokens

graphify-windows

Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPHREPORT.md.

saeedkolivand/ai-job-hunter-app · 75 tokens

lessons

How to propose and query distilled lessons (the experiential memory). Only project-steward persists; every other agent proposes/queries. Use when you discover a durable lesson or need prior experience for the current task.

saeedkolivand/ai-job-hunter-app · 45 tokens