Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/redhuntlabs/wizard/refining-a-spellnpx skills add redhuntlabs/wizard --skill refining-a-spellgit clone --depth 1 https://github.com/redhuntlabs/wizardWrote 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.
[](https://agentmods.dev/skills/redhuntlabs/wizard/refining-a-spell)<a href="https://agentmods.dev/skills/redhuntlabs/wizard/refining-a-spell"><img src="https://agentmods.dev/badge/skills/redhuntlabs/wizard/refining-a-spell.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00037 | $0.01301 |
| Opus 5 | $0.00018 | $0.00651 |
| Sonnet 5 | $0.00007 | $0.00260 |
| Haiku 4.5 | $0.00004 | $0.00130 |
Grade A, and why
refining-a-spell 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refining a Spell
What this does
Updates an existing spell in the user's library. Walks through the diff, re-runs the tester (this is non-skippable), bumps the version field, and saves.
When to use
- User invoked
/refine-spell <name> - User says "this skill needs to also handle X"
- A spell's tester verdict changes (e.g., a new edge case found in production use)
What you bring (Inputs)
- The name of the spell to refine
- What needs to change (and ideally why — what failed in real use)
What you get (Output)
The updated SKILL.md, validated, re-tested, and saved with bumped version.
How it works (Steps)
This is a workflow.
Stages
Stage 1: Load the current version
Find the spell in $WIZARD_HOME (preferred) or bundled spells/. If it's bundled and not yet overridden, copy it to $WIZARD_HOME/personal/<name>/ first — never modify the bundled file.
Stage 2: Capture the diff
Ask: "What needs to change?" and "What real situation showed you this was needed?"
The "what real situation" question is required. A refinement without a real-world trigger is speculative — push back: "Want to wait until you hit a real case?"
Stage 3: Apply the change
Edit the SKILL.md. Common changes:
- New step → add to
How it works (Steps)and toQuality bar - New variation → add to
Variations - Better example → swap the Example block
- New rationalization (discipline) → add to
Excuses and counters - New input → update
What you bring (Inputs)and add a step to capture it
Stage 4: Re-run the tester (NON-SKIPPABLE)
Any change requires re-test. The kind of test depends on the kind:
| Kind | Test |
|---|---|
content, workflow, subagent |
Standard mode tester on 2-3 scenarios |
discipline |
pressure-testing-a-spell with at least one scenario that exercises the change |
Forbidden excuses (re-test is non-skippable)
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.
- 4d ago First seen · 140 lines · 37 tokens per session scan A 4ffec01fae02
refining-a-spell is a skill published in the GitHub repository redhuntlabs/wizard (9 stars, last pushed 4mo ago), licensed MIT. It adds 37 tokens to every session and 1,301 once invoked, about $0.0002 per session on Opus 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-31.
Other skills, from other repositories
fastapi
FastAPI - 高性能 Python Web API 框架.
glances
Skill "glances" from CN-big-cabbage/github-skill-distiller, covering glances 跨平台系统监控工具, 技能概述, 使用流程, 关键章节导航 and ai 助手能力.
lazydocker
本技能帮助用户通过 lazydocker 的终端 UI 界面管理 Docker 容器、镜像、卷和网络,支持以下场景:.
fzf
Skill "fzf" from CN-big-cabbage/github-skill-distiller, covering fzf 通用命令行模糊查找器, 技能概述, 使用流程, 关键章节导航 and ai 助手能力.
paper-checking
论文查重系统 - 一亿字次级论文库秒级查重,支持纵向查重和横向查重.
you-get
网页媒体下载助手 - 从YouTube、Bilibili等网站下载视频、音频、图片.