← Back to Skills Marketplace
bytesagain3

Dice

by bytesagain3 · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ⚠ suspicious
313
Downloads
0
Stars
2
Active Installs
3
Versions
Install in OpenClaw
/install dice
Description
Roll dice, track scores, and manage game stats for tabletop gaming. Use when rolling dice, tracking scores, ranking players, reviewing history.
README (SKILL.md)

Dice

A focused gaming & entertainment tool built for Dice. Log entries, review trends, and export reports — all locally.

Why Dice?

  • Works entirely offline — your data never leaves your machine
  • Simple command-line interface, no GUI needed
  • Export to JSON, CSV, or plain text anytime
  • Automatic history and activity logging

Getting Started

# See what you can do
dice help

# Check current status
dice status

# View your statistics
dice stats

Commands

Command What it does
dice roll Roll
dice score Score
dice rank Rank
dice history History
dice stats Stats
dice challenge Challenge
dice create Create
dice join Join
dice track Track
dice leaderboard Leaderboard
dice reward Reward
dice reset Reset
dice stats Summary statistics
dice export \x3Cfmt> Export (json
dice search \x3Cterm> Search entries
dice recent Recent activity
dice status Health check
dice help Show this help
dice version Show version
dice $name: $c entries
dice Total: $total entries
dice Data size: $(du -sh "$DATA_DIR" 2>/dev/null
dice Version: v2.0.0
dice Data dir: $DATA_DIR
dice Entries: $(cat "$DATA_DIR"/*.log 2>/dev/null
dice Disk: $(du -sh "$DATA_DIR" 2>/dev/null
dice Last: $(tail -1 "$DATA_DIR/history.log" 2>/dev/null
dice Status: OK
dice [Dice] roll: $input
dice Saved. Total roll entries: $total
dice [Dice] score: $input
dice Saved. Total score entries: $total
dice [Dice] rank: $input
dice Saved. Total rank entries: $total
dice [Dice] history: $input
dice Saved. Total history entries: $total
dice [Dice] stats: $input
dice Saved. Total stats entries: $total
dice [Dice] challenge: $input
dice Saved. Total challenge entries: $total
dice [Dice] create: $input
dice Saved. Total create entries: $total
dice [Dice] join: $input
dice Saved. Total join entries: $total
dice [Dice] track: $input
dice Saved. Total track entries: $total
dice [Dice] leaderboard: $input
dice Saved. Total leaderboard entries: $total
dice [Dice] reward: $input
dice Saved. Total reward entries: $total
dice [Dice] reset: $input
dice Saved. Total reset entries: $total

Data Storage

All data is stored locally at ~/.local/share/dice/. Each action is logged with timestamps. Use export to back up your data anytime.

Feedback

Found a bug or have a suggestion? Let us know: https://bytesagain.com/feedback/


Powered by BytesAgain | bytesagain.com | [email protected]

Usage Guidance
This skill appears to be a simple, offline CLI logger for dice and game stats. Before installing, be aware that all entries are stored in ~/.local/share/dice and exports are created in that directory; do not record sensitive secrets (passwords, API keys) in entries because exports/logs are plain text and values are not JSON-escaped. If you want extra assurance, review the included scripts/script.sh yourself or run the skill in a restricted environment (container or dedicated user) before using it with real data.
Capability Analysis
Type: OpenClaw Skill Name: dice Version: 2.0.1 The Dice skill bundle is a local logging utility for gaming statistics, but it contains a shell injection vulnerability in the `_search` function of `scripts/script.sh`, where the `$term` argument is passed unsanitized to `grep`. Furthermore, `SKILL.md` contains embedded shell commands (e.g., `du`, `cat`, `wc`) intended to be executed by the agent to report data size and entry counts. While these actions are consistent with the tool's stated purpose and no evidence of data exfiltration or intentional malice was found, the lack of input validation and the use of executable logic within markdown instructions pose a security risk.
Capability Assessment
Purpose & Capability
Name/description match the included files: the SKILL.md documents a local dice/score tracker and the provided Bash script implements commands to roll, score, rank, log history, export, and show stats. There are no unrelated credentials, binaries, or external services requested.
Instruction Scope
Runtime instructions and the script operate locally and only reference the data directory (~/.local/share/dice) and common shell tools (du, tail, grep, cat). They do not call external endpoints. Note: exports and log lines are written verbatim (no escaping), so if you store sensitive strings in entries those will appear in exports and plain logs; exports may also produce malformed JSON if entries contain quotes/newlines.
Install Mechanism
There is no install spec that downloads or extracts remote code. The skill is instruction-only with a bundled shell script; nothing is pulled from arbitrary URLs during install.
Credentials
No environment variables, credentials, or config paths are required. The script uses HOME to derive a local DATA_DIR, which is appropriate for a local-only tool.
Persistence & Privilege
The skill is not always-enabled and uses only a per-user data directory (~/.local/share/dice). It does not modify other skills or system-wide agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dice
  3. After installation, invoke the skill by name or use /dice
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.1
update
v2.0.0
Domain-specific upgrade
v1.0.0
Initial release
Metadata
Slug dice
Version 2.0.1
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 3
Frequently Asked Questions

What is Dice?

Roll dice, track scores, and manage game stats for tabletop gaming. Use when rolling dice, tracking scores, ranking players, reviewing history. It is an AI Agent Skill for Claude Code / OpenClaw, with 313 downloads so far.

How do I install Dice?

Run "/install dice" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dice free?

Yes, Dice is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dice support?

Dice is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dice?

It is built and maintained by bytesagain3 (@bytesagain3); the current version is v2.0.1.

💬 Comments