jgouviergmail/lia-assistant/dice-roller
Claude Code and agent skill by jgouviergmail/lia-assistant
- community
Checking that the SKILL.md file is still in the repository.
Rolls one or several dice with an animated 3D-like visual and a full breakdown of the result. Supports standard RPG notation (d4, d6, d8, d10, d12, d20, d100) and multiple dice (e.g. "2d6+3", "4d6kh3" for D&D stat rolls). Use when the user asks to roll dice, pick a random number, or decide something at random.
Install
npx vskill@latest install jgouviergmail/lia-assistant/dice-rollerSKILL.md
Dice Roller
Instructions
This skill produces an interactive dice roller embedded in the chat. Once rendered, the user can press "Re-roll" inside the frame to get new values without sending another message.
When the user asks to roll dice:
- Extract the dice notation from the user's query in the standard
`NdS[+/-M][khK|klK]` shorthand:
- `
"1d6"` — one six-sided die (default if only "roll a die") - `
"2d6"` — two six-sided dice - `
"3d20"` — three twenty-sided dice - `
"1d100"` — percentile - `
"2d6+3"` — two d6 plus a flat modifier - `
"2d20kh1"` — advantage (two d20, keep highest) - `
"4d6kh3"` — D&D stat roll (four d6, drop lowest)
- Call `
run_skill_script` with:
- `
skill_name:dice-roller` - `
script:render_dice.py` - `
parameters:{"notation": "<extracted notation>"}`
- Present the returned frame with a concise one-sentence caption.
Supported die sizes: 4, 6, 8, 10, 12, 20, 100.
Fallback parsing
If the notation you pass contains extra words (for example the full user sentence "lance 2d6 pour moi"), the script is tolerant and extracts the first valid dice notation it finds in the string — but for best results always pass the clean notation alone.
Output Contract
Returns `text + frame.html`:
- `
text`: one-line caption with the total result of the initial roll. - `
frame.html`: the animated dice frame with a Re-roll button —
subsequent re-rolls are handled client-side (no backend round-trip).
Ressources disponibles
- scripts/render_dice.py — Parses the notation, seeds the initial roll
and emits the interactive frame (crypto.getRandomValues for re-rolls).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/skills/system/dice-roller/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 10
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jgouviergmail/lia-assistant/dice-roller)