据 AlphaMoat 统计,截至 2026-09,D&D 5e Toolkit 累计下载 3,311 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 3,415 位,在「生活服务」分类(246 个)中排名第 168 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 103 | 3,254 | 3 | - |
| SkillHub ↗ | 101 | 3,311 | 3 | — |
各平台的计数口径不同,统计时间不一致。
它描述掷骰、查询 SRD 法术与怪物资料、生成角色和遭遇,以及创建 NPC 等功能,并通过官方 SRD API 获取相关内容。生成结果适合作为游戏准备素材;实际规则和可用内容应以活动采用的版本、主持人决定及相应授权为准。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,311 | — | 3 |
| 2026-08 | 3,108 | +5.0% | 3 |
| 2026-07 | 2,960 | +10.2% | 3 |
| 2026-06 | 2,685 | +6.3% | 3 |
| 2026-05 | 2,526 | — | 3 |
| 2026-03 | 2,046 | — | 3 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- 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.
## 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! 🐉⚔️✨
用 curl 直接向公共天气服务取当前天气与预报的技能。
在局域网里发现并控制 Sonos 音箱的命令行工具。
以六爻占卜方式作答的技能。
用本地 JSON 记录饮水量与睡眠的技能。
在本地同步并查询 CalDAV 日历的命令行技能。
在 macOS 上通过 remindctl 管理提醒事项的技能。
travel-cn 聚合去哪儿/携程/飞猪等中国旅行平台的数据查询,覆盖机票、酒店、火车票、景点门票与行程规划。
在终端里搜索与控制 Spotify 播放的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。