← 返回 Skills 市场
bytesagain3

Dice

作者 bytesagain3 · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ⚠ suspicious
313
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install dice
功能描述
Roll dice, track scores, and manage game stats for tabletop gaming. Use when rolling dice, tracking scores, ranking players, reviewing history.
使用说明 (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]

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dice
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dice 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
update
v2.0.0
Domain-specific upgrade
v1.0.0
Initial release
元数据
Slug dice
版本 2.0.1
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

Dice 是什么?

Roll dice, track scores, and manage game stats for tabletop gaming. Use when rolling dice, tracking scores, ranking players, reviewing history. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 313 次。

如何安装 Dice?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dice」即可一键安装,无需额外配置。

Dice 是免费的吗?

是的,Dice 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dice 支持哪些平台?

Dice 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dice?

由 bytesagain3(@bytesagain3)开发并维护,当前版本 v2.0.1。

💬 留言讨论