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/chaining-spellsnpx skills add redhuntlabs/wizard --skill chaining-spellsgit 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/chaining-spells)<a href="https://agentmods.dev/skills/redhuntlabs/wizard/chaining-spells"><img src="https://agentmods.dev/badge/skills/redhuntlabs/wizard/chaining-spells.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.00030 | $0.01097 |
| Opus 5 | $0.00015 | $0.00549 |
| Sonnet 5 | $0.00006 | $0.00219 |
| Haiku 4.5 | $0.00003 | $0.00110 |
Grade A, and why
chaining-spells 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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chaining Spells
What this does
Builds and runs a chain — a workflow spell whose stages each invoke another existing spell. The chain handles handoffs, loop-backs, and stop-on-failure.
When to use
- User says "do X then Y then Z" where each is a known spell
- User wants to formalize a multi-spell workflow they keep doing manually
- Loading a default chain (e.g.
general-research-loop)
What you bring (Inputs)
- The names of the spells to chain (in order)
- The handoff artifact between each pair
What you get (Output)
A new chain spell (kind: workflow, complexity: chained) saved to $WIZARD_HOME, plus a runnable execution path.
How it works (Steps)
This is a workflow — and the resulting chain is also a workflow. Don't confuse the two.
Stages
Stage 1: Identify constituents
List the spells in the order they'll run. Verify each exists (in $WIZARD_HOME or bundled). Reject the chain if any are missing — offer to build them first.
Stage 2: Define handoffs
For each adjacent pair (A → B):
- What does A produce?
- What does B require as input?
- Do they match, or does a translation step exist?
If they don't match, the chain isn't yet runnable. Either:
- Edit B's
What you bring (Inputs)to accept A's output, OR - Insert a translator spell between them, OR
- Reject the chain and tell the user
Stage 3: Define stage gates
For each transition, name what must be true to pass to the next stage. Default: "the constituent spell's Quality bar was met."
Stage 4: Define loop-back conditions
When does the chain return to an earlier stage?
Default: "if any stage's Quality bar is not met after the constituent finishes, return to that stage and re-run."
Document any custom loop-backs.
Stage 5: Build the chain SKILL.md
Use templates/spell-template-chained.md. Set composes: to the list of constituent names.
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 · 138 lines · 30 tokens per session scan A d0eff7eabb53
chaining-spells is a skill published in the GitHub repository redhuntlabs/wizard (9 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 1,097 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 框架.
fzf
Skill "fzf" from CN-big-cabbage/github-skill-distiller, covering fzf 通用命令行模糊查找器, 技能概述, 使用流程, 关键章节导航 and ai 助手能力.
glances
Skill "glances" from CN-big-cabbage/github-skill-distiller, covering glances 跨平台系统监控工具, 技能概述, 使用流程, 关键章节导航 and ai 助手能力.
lazydocker
本技能帮助用户通过 lazydocker 的终端 UI 界面管理 Docker 容器、镜像、卷和网络,支持以下场景:.
paper-checking
论文查重系统 - 一亿字次级论文库秒级查重,支持纵向查重和横向查重.
you-get
网页媒体下载助手 - 从YouTube、Bilibili等网站下载视频、音频、图片.