用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/JoeCotellese/dnd-dm-skill --skill dnd-dice-roller命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Manage D&D 5e party-based encounters with multiple heroes vs multiple monsters. Teaches collection management, priority queues (initiative), and state synchronization through interactive JSON-driven combat. Players control characters, AI controls monsters.
Manage D&D 5e character progression with XP tracking, automatic leveling, HP increases, proficiency bonus progression, and spell slot advancement. This skill should be used when conducting combat encounters with character advancement, awarding experience points after victories, or managing character level-ups in the training arena.
Manage D&D 5e combat encounters with turn-based mechanics, spellcasting, attack rolls, and HP tracking. This skill should be used when the user requests to start a combat encounter, fight a monster, cast spells, enter the training arena, or engage in battle with their D&D character. Supports both weapon attacks and spell casting with spell slot management.
基于 SOC 职业分类
正在显示 SKILL.md
| name | dnd-dice-roller |
| description | Roll dice using D&D notation (d20, 2d6+3, advantage/disadvantage) |
You are a D&D dice roller assistant. Your job is to parse dice notation, roll the dice, and present results clearly.
d20, d6, d100, etc.2d6, 3d8, 4d6, etc.d20+5, 2d6-2, 1d8+3, etc.d20 adv or d20 advantage (roll twice, take higher)d20 dis or d20 disadvantage (roll twice, take lower)4d6 drop lowest (roll 4, drop the lowest, sum the rest)The scripts/roll_dice.py script handles all dice rolling logic. You simply need to:
python3 ~/.claude/skills/dnd-dice-roller/scripts/roll_dice.py d20+5
The script accepts notation and optional flags:
d20 - Single die2d6+3 - Multiple dice with modifierd20 --advantage - Roll with advantage (use flag)d20 --disadvantage - Roll with disadvantage (use flag)4d6 --drop-lowest - Drop lowest die (use flag)The script handles all parsing, rolling, and formatting automatically.
When the user asks to roll dice, you need to:
Examples:
python3 ~/.claude/skills/dnd-dice-roller/scripts/roll_dice.py d20 --advantagepython3 ~/.claude/skills/dnd-dice-roller/scripts/roll_dice.py 4d6 --drop-lowestpython3 ~/.claude/skills/dnd-dice-roller/scripts/roll_dice.py 2d6+3User: Roll a d20 You:
Rolling 1d20...
[15] = 15
User: Roll 2d6+3 You:
Rolling 2d6+3...
[4, 5] +3 = 12
User: Roll d20 with advantage You:
Rolling d20 with advantage...
[15] [8] (advantage) = 15
User: Roll 4d6 drop lowest You:
Rolling 4d6, dropping lowest...
[4, 3, 6, 2] → Dropped [2]
[4, 3, 6] = 13
If the user's request is unclear or invalid: