ClaudeCodeMod

All shelves / Mods / Play

randsum

By RANDSUM

randsum is a Claude Code play mod by RANDSUM.

Rolls /roll dice with a real engine, prints the result, pins the last roll in the status line, and tells Claude the number to use.

Draws

Install

The marketplace name is randsum.

In Claude Code
/plugin marketplace add RANDSUM/randsum
/plugin install randsum@randsum
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.5
License
MIT
Repo stars
13
Last change
2026-11-05

What it can reach

  • Draws in the session
  • Reaches the network or an outside service

The plugin connects the hosted RANDSUM MCP server at https://api.randsum.dev/mcp, which needs no account or key, and falls back to the HTTP API at https://api.randsum.dev/v1 if it is not connected. /roll is Claude Code only and rolls on your machine with the bundled engine, with no network call. Try /roll 4d6L or /roll 1d20+5.

The marketplace, randsum, holds only this plugin. Rolling real dice for tabletop games is why this page files it under play. cc-arcade draws nine games and a pet above the prompt. snake draws Snake in a pane while Claude works. This one draws nothing while Claude works: /roll prints the dice and sets the status line to Last roll, with a hidden note so Claude reacts to your number instead of rolling for you. The skills roll any RANDSUM dice notation with a real engine instead of making numbers up, interpret rolls for Blades in the Dark, D&D 5e, Daggerheart, Fate, Powered by the Apocalypse, Root, and Salvage Union, work out the odds of a roll, and write game specs. The only data that leaves your machine is the dice notation and game parameters sent to api.randsum.dev.

Demo

The /roll bullet of the RANDSUM plugin README's What it runs and connects to section: /roll is a mod whose one hooks module registers the /roll command at session start and, on /roll, rolls the notation with the bundled @randsum/roller engine, prints the result, sets the plugin's status line to the last roll, and adds one note to Claude's context; the hook makes no network call and reads or writes no files.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/roll

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /rollRoll dice yourself with RANDSUM, e.g. /roll 4d6L or /roll 1d20+5

Files

The author's README and source, 5 files. They load when you open them.

Facts

Author
RANDSUM
Category
Play
Marketplace
randsum
Repo
RANDSUM/randsum
Folder
plugins/randsum
Version
1.0.5
License
MIT
Repo stars
13
Last change
2026-11-05
Language
TypeScript
Files
18

Other mods in Play

while-you-waitnouraraar91Draws a zikr above the prompt while Claude works, in Arabic with its English meaning, a new one every 10 seconds, and hides it when Claude finishes.pixel-buddySimakovIgorDraws a pixel pet in the footer that eats what your work drops, levels up, earns trophies, and reacts to failed commands, green tests, and subagents.cc-arcadesezaakgunDraws nine games and a pet above the prompt. The open game pauses when the turn finishes.reelshamzaferPlays YouTube Shorts in a terminal pane while Claude works, and pauses when the turn finishes.snakehamzaferDraws Snake in a pane while Claude works, and pauses when the turn finishes. Nothing opens until you run /snake.now-playinghamzaferDraws the Spotify track above the prompt: title, progress, the lyric being sung, and previous, pause, and next.buddySingh-APDraws a small ASCII pet above the prompt. It reacts while Claude works and levels up.spinner-packsSingh-APReplaces the spinner word with one of ten themed packs. The line that closes the turn uses the same word in the past tense.intermissionjarrodwattsOpens a Doom deathmatch in a pane while Claude works, on a shared server with everyone else waiting on Claude, and hands you back when it is done.pokemondgokcinDraws a pixel Pokémon in the band above the prompt that acts out Claude's tools, sends out a ball for each subagent, and shows a red ! when Claude needs you.mindful-claudehallutonDraws a guided breathing exercise above the prompt while Claude works, with the spinner counting the breath, and clears it when Claude answers.wrappedSingh-APOpens a Wrapped-style card of your Claude Code use: stats, streaks, a coding persona, and a share card one key away.
All 96 in Play