# Send D&D 5e Toolkit 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": "dnd",
    "name": "D&D 5e Toolkit",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/capt-marbles/dnd",
    "canonicalUrl": "https://clawhub.ai/capt-marbles/dnd",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/dnd",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dnd",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "dnd.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "dnd",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T07:00:37.508Z",
      "expiresAt": "2026-05-09T07:00:37.508Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dnd",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dnd",
        "contentDisposition": "attachment; filename=\"dnd-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "dnd"
      },
      "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/dnd"
    },
    "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/dnd",
    "downloadUrl": "https://openagent3.xyz/downloads/dnd",
    "agentUrl": "https://openagent3.xyz/skills/dnd/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dnd/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dnd/agent.md"
  }
}
```
## Documentation

### D&D 5e Toolkit

Your complete Dungeons & Dragons 5th Edition assistant! Look up spells, monsters, roll dice, generate characters, encounters, and NPCs.

### Features

🎲 Dice Roller - Roll any dice with modifiers
✨ Spell Lookup - Search the entire SRD spell list
👹 Monster Stats - Get full stat blocks for any creature
⚔️ Character Generator - Random characters with stats
🗡️ Encounter Builder - Generate balanced encounters by CR
👤 NPC Generator - Create random NPCs with personality

### Usage

All commands use the dnd.py script.

### Roll Dice

# Roll 2d6 with +3 modifier
python3 dnd.py roll 2d6+3

# Roll d20
python3 dnd.py roll 1d20

# Roll with negative modifier
python3 dnd.py roll 1d20-2

# Roll multiple dice
python3 dnd.py roll 8d6

Output:

🎲 Rolling 2d6+3
   Rolls: [4 + 5] +3
   Total: 12

### Look Up Spells

# Search for a spell
python3 dnd.py spell --search fireball

# Direct lookup
python3 dnd.py spell fire-bolt

# List all spells
python3 dnd.py spell --list

Output:

✨ Fireball
   Level: 3 Evocation
   Casting Time: 1 action
   Range: 150 feet
   Components: V, S, M
   Duration: Instantaneous
   
   A bright streak flashes from your pointing finger to a point 
   you choose within range and then blossoms with a low roar into 
   an explosion of flame...

### Look Up Monsters

# Search for a monster
python3 dnd.py monster --search dragon

# Direct lookup
python3 dnd.py monster ancient-red-dragon

# List all monsters
python3 dnd.py monster --list

Output:

👹 Adult Red Dragon
   Huge Dragon, chaotic evil
   CR 17 (18,000 XP)
   
   AC: 19
   HP: 256 (19d12+133)
   Speed: walk 40 ft., climb 40 ft., fly 80 ft.
   
   STR 27 | DEX 10 | CON 25
   INT 16 | WIS 13 | CHA 21
   
   Special Abilities:
   • Legendary Resistance (3/Day): If the dragon fails a saving throw...
   
   Actions:
   • Multiattack: The dragon can use its Frightful Presence...

### Generate Random Character

# Generate character with rolled stats
python3 dnd.py character

Output:

⚔️  Elara
   Race: Elf
   Class: Wizard
   
   Stats:
   STR: 10 (+0)
   DEX: 15 (+2)
   CON: 12 (+1)
   INT: 16 (+3)
   WIS: 13 (+1)
   CHA: 8 (-1)

### Generate Random Encounter

# Generate encounter with challenge rating
python3 dnd.py encounter --cr 5

# Random CR
python3 dnd.py encounter

Output:

🎲 Random Encounter (CR ~5)

   2x Troll (CR 5)
      AC 15, HP 84
   1x Ogre (CR 2)
      AC 11, HP 59

### Generate Random NPC

python3 dnd.py npc

Output:

👤 Finn Shadowend
   Race: Halfling
   Occupation: Merchant
   Trait: Curious

### Example Prompts for Clawdbot

"Roll 2d20 with advantage" (I'll roll twice!)
"Look up the Fireball spell"
"Show me stats for a Beholder"
"Generate a random character"
"Create an encounter for level 5 party"
"Give me an NPC for my tavern scene"

### JSON Output

Add --json to any command for structured output:

python3 dnd.py roll 2d6 --json
python3 dnd.py spell --search fireball --json
python3 dnd.py character --json

### API Source

Uses the official D&D 5e API which includes all System Reference Document (SRD) content.

### Tips

Spell names use lowercase with hyphens: fireball, magic-missile, cure-wounds
Monster names same format: ancient-red-dragon, goblin, beholder
Search if unsure of exact name: --search dragon will show all dragons
Dice format is flexible: 1d20, 2d6+5, 3d8-2, 100d100

### Future Ideas

Initiative tracker
Treasure generator
Quest/plot hook generator
Random dungeon generator
Party manager
Campaign notes

Enjoy your adventure! 🐉⚔️✨
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: capt-marbles
- 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-02T07:00:37.508Z
- Expires at: 2026-05-09T07:00:37.508Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/dnd)
- [Send to Agent page](https://openagent3.xyz/skills/dnd/agent)
- [JSON manifest](https://openagent3.xyz/skills/dnd/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/dnd/agent.md)
- [Download page](https://openagent3.xyz/downloads/dnd)