captmarbles

D&D 5e Toolkit

生活服務v1.0.0
作者:captmarbles更新於 2026-05-11dnd@clawhub_capt-marbles/dnd
娛樂推薦

據 AlphaMoat 統計,截至 2026-09,D&D 5e Toolkit 累計下載 3,311 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 3,415 位,在「生活服務」分類(246 個)中排名第 168 位。

累計安裝
103
累計下載
3311
星標
3
全站排名
#3,415
全站前 68% · 「生活服務」前 69%
平台累計安裝累計下載星標評論
ClawHub ↗10332543-
SkillHub ↗10133113—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

它描述擲骰、查詢 SRD 法術與怪物資料、生成角色和遭遇,以及建立 NPC 等功能,並透過官方 SRD API 獲取相關內容。生成結果適合作為遊戲準備素材;實際規則和可用內容應以活動採用的版本、主持人決定及相應授權為準。

資料釋出於 2026-10-29

可以用來做什麼

  • 擲帶有修正值的骰子並檢視結果。
  • 查詢 SRD 中的法術或怪物資訊。
  • 生成角色、遭遇或 NPC 的初稿。

什麼時候用

  • 需要為 D&D 5e 遊戲準備隨機內容或查詢 SRD 資料時。
  • 需要快速整理遭遇或角色創意時。
  • 將生成內容用於具體戰役前,需要由主持人核對規則、平衡性和許可範圍時。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

為一場冒險生成 NPC 創意,並將輸出視為待主持人稽核的草稿。
根據 SRD 查詢這個法術的資料,並指出仍需按戰役規則確認的部分。

月度資料趨勢

累計下載3311
1945267934122026-03 · 累計下載 20462026-05 · 累計下載 25262026-06 · 累計下載 26852026-07 · 累計下載 29602026-08 · 累計下載 31082026-09 · 累計下載 331126-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093311—3
2026-083108+5.0%3
2026-072960+10.2%3
2026-062685+6.3%3
2026-052526—3
2026-032046—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.0 KB · ClawHub v1.0.0
---
name: dnd
description: D&D 5e toolkit for players and DMs. Roll dice, look up spells and monsters, generate characters, create encounters, and spawn NPCs. Uses the official D&D 5e SRD API.
version: 1.0.0
author: captmarbles
---

# D&D 5e Toolkit

Your complete Dungeons & Dragons 5th Edition assistant! Look up spells, monsters, roll dice, generate characters, encounters, and NPCs.
展開全部(共 204 行)

## 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

```bash
# 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

```bash
# 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

```bash
# 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

```bash
# 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

```bash
# 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

```bash
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:

```bash
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](https://www.dnd5eapi.co/) 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! 🐉⚔️✨

「生活服務」分類下的熱門技能

captmarbles 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。