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 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/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.
<a href="https://agentmods.dev/skills/redhuntlabs/wizard/chaining-spells"><img src="https://agentmods.dev/badge/skills/redhuntlabs/wizard/chaining-spells.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00030 | $0.01097 |
| Opus 5.5 | $0.00012 | $0.00439 |
| Sonnet 5.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 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.
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.
- 1mo ago First seen · 138 lines · 30 tokens per session scan A d0eff7eabb53
chaining-spells is a skill published in the GitHub repository redhuntlabs/wizard (11 stars, last pushed 6mo ago), licensed MIT. It adds 30 tokens to every session and 1,097 once invoked, about $0.0001 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-31.
Other skills, from other repositories
fastapi
A Python framework for building web APIs, which are interfaces that let programs communicate over HTTP. It supports request validation, automatic API documentation, asynchronous code, reusable dependencies, and common authentication methods.
lazydocker
A keyboard-driven terminal interface for managing Docker, a system for running applications in isolated containers.
fzf
A command-line tool for finding items by typing partial text, with results updating as you type. It can search files, shell command history, processes, directories, Git branches, commits, and other text output.
glances
A guide for using Glances, a cross-platform system-monitoring tool that displays computer resource and process information in a terminal, browser, or API.
paper-checking
A Windows application for finding copied text in documents. It compares files with a reference collection or compares documents in the same batch with one another.
you-get
A command-line tool for downloading videos, audio, and images from websites such as YouTube and Bilibili.