# Send Magic Quill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "magic-quill",
    "name": "Magic Quill",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/wynnsu/magic-quill",
    "canonicalUrl": "https://clawhub.ai/wynnsu/magic-quill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/magic-quill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=magic-quill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/generate-spell-mapping.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "magic-quill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T08:24:03.949Z",
      "expiresAt": "2026-05-09T08:24:03.949Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=magic-quill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=magic-quill",
        "contentDisposition": "attachment; filename=\"magic-quill-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "magic-quill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/magic-quill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/magic-quill",
    "downloadUrl": "https://openagent3.xyz/downloads/magic-quill",
    "agentUrl": "https://openagent3.xyz/skills/magic-quill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/magic-quill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/magic-quill/agent.md"
  }
}
```
## Documentation

### Magic Quill

A magical quill that inscribes themed spell mappings for OpenClaw Spellbook with high coverage for popular skills.

### Inputs

--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)
Optional --theme <name> to override the final theme name (or run heuristic-only mode with just --theme)
Optional --out <path> (alias: --output) (default: spells/<theme-slug>.yaml)
Optional --limit <n> (alias: --top) for top-N coverage (default: 50)
Optional --author <name> (default: @magic-quill)

### What To Do

Gather popular skills from both sources when possible:

skills.sh trending installs
ClawHub downloads API endpoint


Merge and de-duplicate the results into a target set (fill gaps from built-in fallback skills if fetch fails).
Gather spell-list references first (primary spell source):

Build dynamic web search queries from topic/theme (for example <topic> spell list and <topic> spells api)
Parse top search result links (DuckDuckGo HTML results) into candidate reference URLs
Include --url as a high-priority candidate when present
Fetch discovered JSON/HTML references (for example dnd5eapi.co if discovered), extract spell names, and merge/de-duplicate names from successful references


Gather lore/context (secondary style keywords only):

If --url is provided, fetch and extract page text
Else if --topic is provided, try Wikipedia summary API
If fetch fails, use built-in theme lexicon/heuristics


If spell-list references fail or do not produce enough names, generate spell mappings with the built-in heuristic spell-name generator.
Write YAML to the requested output path (usually under spells/), including # spell-list-references: comment links for successful dynamically discovered spell-list sources/endpoints when available.
Validate with npm run validate:spells if the output file is under spells/.

### Commands (Users)

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"

### Commands (Agents)

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

### Install From This Repo (Subpath)

Use a repo subpath source with npx skills add, for example:

npx skills add wynnsu/openclaw-spellbook/magic-quill

### ⚠️ Requires Hook for Use

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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wynnsu
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T08:24:03.949Z
- Expires at: 2026-05-09T08:24:03.949Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/magic-quill)
- [Send to Agent page](https://openagent3.xyz/skills/magic-quill/agent)
- [JSON manifest](https://openagent3.xyz/skills/magic-quill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/magic-quill/agent.md)
- [Download page](https://openagent3.xyz/downloads/magic-quill)