roll-dice

star 4

Roll dice using a random number generator. Use when asked to roll a die (d6, d20, etc.), roll dice, or generate a random dice roll.

NHagar By NHagar schedule Updated 5/12/2026

name: roll-dice description: Roll dice using a random number generator. Use when asked to roll a die (d6, d20, etc.), roll dice, or generate a random dice roll.

To roll a die, use the following command that generates a random number from 1 to the given number of sides:

echo $((RANDOM % <sides> + 1))
Get-Random -Minimum 1 -Maximum (<sides> + 1)

Replace <sides> with the number of sides on the die (e.g., 6 for a standard die, 20 for a d20).

Install via CLI
npx skills add https://github.com/NHagar/hacks-hackers-agent-skills --skill roll-dice
Repository Details
star Stars 4
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator