Install
openclaw skills install magic-quillGenerate YAML spell mapping files for OpenClaw Spellbook themed by a topic or URL, using dynamic spell-list discovery and heuristic fallback.
openclaw skills install magic-quillA magical quill that inscribes themed spell mappings for OpenClaw Spellbook with high coverage for popular skills.
--topic <name> or --url <https://...> (primary inputs; spell-list lookup searches by topic/theme first, and --url is treated as a high-priority reference candidate when provided)--theme <name> to override the final theme name (or run heuristic-only mode with just --theme)--out <path> (alias: --output) (default: spells/<theme-slug>.yaml)--limit <n> (alias: --top) for top-N coverage (default: 50)--author <name> (default: @magic-quill)skills.sh trending installs<topic> spell list and <topic> spells api)--url as a high-priority candidate when presentdnd5eapi.co if discovered), extract spell names, and merge/de-duplicate names from successful references--url is provided, fetch and extract page text--topic is provided, try Wikipedia summary APIspells/), including # spell-list-references: comment links for successful dynamically discovered spell-list sources/endpoints when available.npm run validate:spells if the output file is under spells/.npm run generate:spellbook-theme -- --theme "Studio Ghibli" --limit 50 --author "@you"
npm run generate:spellbook-theme -- --topic "Cyberpunk 2077" --limit 75 --out spells/cyberpunk-2077.yaml --author "@you"
npm run generate:spellbook-theme -- --url "https://en.wikipedia.org/wiki/The_Lord_of_the_Rings" --limit 50 --author "@you"
npm run generate:spellbook-theme -- --topic "DnD 5e" --limit 20 --author "@you"
node magic-quill/scripts/generate-spell-mapping.mjs --theme "The Legend of Zelda" --topic "The Legend of Zelda" --limit 50 --out spells/zelda.yaml --author "@example"
node scripts/validate-spells.mjs
Use a repo subpath source with npx skills add, for example:
npx skills add wynnsu/openclaw-spellbook/magic-quill
This skill generates spell YAML mapping files — to actually use the themed spells in agent sessions, you need the openclaw-spellbook hook installed. Install the full spellbook package:
# Install the spellbook hook (includes magic-quill skill)
npx skills add wynnsu/openclaw-spellbook
Or install just the hook directly from the repo:
npx skills add wynnsu/openclaw-spellbook/hooks/spellbook
The hook handles the translation between magical spell names and actual skill IDs at runtime.
Usage after install (example prompt):
Use magic-quill to create a Star Wars spell mapping with top 50 coverage and write it to spells/star-wars.yaml.