sharing-a-spell

sharing-a-spell is a skill for Claude Code, Codex from redhuntlabs/wizard. It costs 34 tokens per session (948 once invoked), scanned A, original, MIT.

A file-export workflow for packaging a spell, meaning a reusable agent instruction, so another person can use it.

In plain words
What is it for?
Use it to export a spell as a Markdown file or bundle it with examples and references in a ZIP file, with optional removal of Wizard-specific fields.
Why use it?
It makes the spell portable and offers a strict format when compatibility with the upstream Obra-style format is needed.

Skill for Claude CodeCodex

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/sharing-a-spell
Any agent
npx skills add redhuntlabs/wizard --skill sharing-a-spell
Clone the repo
git clone --depth 1 https://github.com/redhuntlabs/wizard

Made for: Claude Code, Codex.

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 sharing-a-spell

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhuntlabs/wizard/sharing-a-spell.svg)](https://agentmods.dev/skills/redhuntlabs/wizard/sharing-a-spell)
Your own site
<a href="https://agentmods.dev/skills/redhuntlabs/wizard/sharing-a-spell"><img src="https://agentmods.dev/badge/skills/redhuntlabs/wizard/sharing-a-spell.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 948 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 $0.00034 $0.00948
Opus 5 $0.00017 $0.00474
Sonnet 5 $0.00007 $0.00190
Haiku 4.5 $0.00003 $0.00095

Measured 4d ago against content hash 2a8544bb57b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sharing-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.

skills/sharing-a-spell/SKILL.md · 127 lines

How it starts

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

Sharing a Spell

What this does

Exports one of your spells as a portable markdown file (or zip with examples) that others can drop into their own library.

Two modes:

  • default: keeps full Wizard frontmatter
  • strict: strips Wizard-specific fields for compatibility with the upstream Obra-style format

Nothing is sent over the network. Sharing means producing a file; you decide how to deliver it.

When to use

  • User invoked /share-spell <name>
  • User wants to publish to the community repo
  • User wants to send a colleague their workflow

What you bring (Inputs)

  • The name of the spell to share
  • (Optional) Mode: default, --strict, or --bundle

What you get (Output)

  • default mode: a single <name>.md file with full frontmatter
  • strict mode: a single <name>.md file with only name + description frontmatter
  • bundle mode: a <name>.zip containing the SKILL.md and any examples/ and references/ folders

How it works (Steps)

This is a workflow.

Stages

Stage 1: Locate the spell

Find it in $WIZARD_HOME or bundled spells/. Reject if not found; offer name suggestions.

Stage 2: Choose mode

If the user didn't specify, ask:

  • "Default" — for someone using Wizard
  • "Strict" — for someone using the upstream Obra-style format (see CHANGELOG for the upstream repo URL)
  • "Bundle" — include examples/ and references/ as a zip

Stage 3: Generate the export

Default mode: copy the SKILL.md verbatim (frontmatter and body).

Strict mode: re-emit frontmatter with only name and description. Strip body sections that don't exist in the upstream format if any. Add a footer comment: <!-- Originally exported from Wizard. -->

Bundle mode: zip the SKILL.md plus any peer folders. Strict-mode flag still applies to the SKILL.md inside the zip.

Stage 4: Write the export

Default location: ~/Desktop/<name>.md (or .zip). Allow user to override with --out <path>.

Read the full file on GitHub · 127 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. 4d ago First seen · 127 lines · 34 tokens per session scan A 2a8544bb57b8

Subscribe to this mod's changes

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