discovering-spells

discovering-spells is a skill for Claude Code from redhuntlabs/wizard. It costs 33 tokens per session (986 once invoked), scanned A, original, MIT.

A discovery tool that lists the spells available in the current session, including bundled spells and personal ones.

In plain words
What is it for?
Use it to browse, filter, and compare spells by type, intended user, ownership, or available updates.
Why use it?
It helps you find relevant reusable task instructions without remembering their names or where they are stored.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wizard plugin — 37 skills, 6 commands, 1 agent, 1 hook shipped together

Install

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.

agentmods
npx agentmods add skills/redhuntlabs/wizard/discovering-spells
Any agent
npx skills add redhuntlabs/wizard --skill discovering-spells
Clone the repo
git clone --depth 1 https://github.com/redhuntlabs/wizard

Made for: Claude Code.

Or install wizard, the plugin that ships this one along with the rest of its 37 skills, 6 commands, 1 agent, 1 hook.

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 discovering-spells

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhuntlabs/wizard/discovering-spells.svg)](https://agentmods.dev/skills/redhuntlabs/wizard/discovering-spells)
Your own site
<a href="https://agentmods.dev/skills/redhuntlabs/wizard/discovering-spells"><img src="https://agentmods.dev/badge/skills/redhuntlabs/wizard/discovering-spells.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00033 $0.00986
Opus 5 $0.00016 $0.00493
Sonnet 5 $0.00007 $0.00197
Haiku 4.5 $0.00003 $0.00099

Measured 6d ago against content hash c8c1cf66f515, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

discovering-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 6d 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.

skills/discovering-spells/SKILL.md · 134 lines

How it starts

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

Discovering Spells

What this does

Lists spells available in the current session: bundled seeds, the user's personal library, and (optionally) updates available for overrides.

Output is grouped, scannable, and ranked by relevance to the user's recent context.

When to use

  • User invoked /list-spells
  • User asks "what skills do I have?" or "what spells exist?"
  • User wants to see updates to their overrides

What you bring (Inputs)

  • (Optional) Filter flags: --kind, --audience, --mine, --bundled, --updates
  • (Optional) Recent context (used for ranking; auto-extracted)

What you get (Output)

A grouped list of matching spells, each shown as: name — description (kind / audience / version).

How it works (Steps)

This is a workflow.

Stages

Stage 1: Resolve sources

Default sources: bundled spells/ + $WIZARD_HOME. If --mine, only personal. If --bundled, only bundled.

Stage 2: Apply filters

Apply each flag in turn. Filter by kind, audience, etc. as the user specified.

Stage 3: Detect overrides and updates

For each personal spell, check if a bundled spell with the same name exists.

If yes and the bundled version is newer than the personal version, mark the entry with (update available: bundled vX.Y.Z).

If --updates flag is set, only show entries where an update is available.

Stage 4: Rank by relevance

Rank by:

  1. Update available (top, if --updates)
  2. Recently invoked
  3. Trigger keyword overlap with recent user messages
  4. Alphabetical within group

Stage 5: Group and print

Group by kind, then by audience. Print:

Discipline (3)
  - verifying-before-citing — Use when about to state a factual claim... (researcher / 1.0.0)
  - decisions-need-an-alternative — Use when making a choice... (anyone / 1.0.0) [update available: 1.1.0]
  ...

Workflow (5)
  ...

Show counts in headers. If a group is empty, omit it.

Read the full file on GitHub · 134 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. 6d ago First seen · 134 lines · 33 tokens per session scan A c8c1cf66f515

Subscribe to this mod's changes

discovering-spells is a skill published in the GitHub repository redhuntlabs/wizard (9 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 986 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.