用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aiskillstore/marketplace --skill enact-dice-roll-rust命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Maintain a portable task-state ledger for long, multi-step work. Use when a task spans many files, produces large logs, needs a reliable handoff, or requires traceable evidence without repeatedly loading full outputs. Creates concise state records and private evidence references with explicit limits, redaction checks, and retention guidance.
【收纳储物必看】装修前不会规划收纳,入住半年家变仓库?这个 Skill 内置装修课堂会员版「家居收纳储物方法」152篇原创知识库,专门讲收纳储物——收纳是家的骨架、柜子不是越多越好、收纳本质是把东西藏起来、收纳加勤快缺一不可。问玄关鞋柜怎么装、问厨房9个收纳位置、问衣柜衣帽间怎么做、问小户型怎么榨干每1平米、问收纳避坑和鸡肋神器,全部覆盖。适合正在装修、准备收纳规划、家里东西多总是乱、想做满墙柜/通顶柜/800库的业主。
【儿童房装修必看】家里有小孩、正准备要孩子、或想给儿童房做环保安全装修?这个 Skill 内置装修课堂知识库,专门讲"适童化"——儿童是最易受甲醛伤害的人群,儿童房必须实木/ENF/控总量。问儿童房怎么装环保、问儿童房墙面地面用什么、问儿童家具选实木还是人造板、问孩子学习/游戏专区怎么规划、问有娃家庭怎么防磕碰防污染,全部覆盖。适合家里有娃、备孕婚房、想装出健康儿童房的业主。
基于 SOC 职业分类
正在显示 SKILL.md
| name | enact-dice-roll-rust |
| version | 1.0.0 |
| description | Roll dice with configurable sides and count - a simple Rust example tool |
| enact | 2.0 |
| from | rust:1.75-slim |
| build | ["rustc -o /workspace/dice /workspace/dice.rs"] |
| command | /workspace/dice ${sides} ${count} |
| timeout | 60s |
| license | MIT |
| tags | ["dice","random","rust","example","games"] |
| inputSchema | {"type":"object","properties":{"sides":{"type":"integer","description":"Number of sides on each die (e.g., 6 for a standard die, 20 for a d20)","default":6,"minimum":2,"maximum":100},"count":{"type":"integer","description":"Number of dice to roll","default":1,"minimum":1,"maximum":100}}} |
| outputSchema | {"type":"object","properties":{"rolls":{"type":"array","items":{"type":"integer"},"description":"Array of individual roll results"},"total":{"type":"integer","description":"Sum of all dice rolls"},"sides":{"type":"integer","description":"Number of sides on each die"},"count":{"type":"integer","description":"Number of dice rolled"}}} |
| examples | [{"input":{"sides":6,"count":2},"description":"Roll two standard 6-sided dice"},{"input":{"sides":20,"count":1},"description":"Roll a single d20 (classic tabletop gaming)"},{"input":{"sides":6,"count":4},"description":"Roll 4d6 (common for D&D character stats)"}] |
A simple dice rolling tool written in Rust. Demonstrates how to create an Enact tool with Rust.
enact run enact/dice-roll-rust
enact run enact/dice-roll-rust -a '{"sides": 6, "count": 2}'
enact run enact/dice-roll-rust -a '{"sides": 20}'
enact run enact/dice-roll-rust -a '{"sides": 6, "count": 4}'
When using via MCP, call enact__dice-roll-rust with:
sides: Number of sides per die (default: 6)count: Number of dice to roll (default: 1)Returns JSON with:
rolls: Array of individual die resultstotal: Sum of all rollssides: The die type usedcount: Number of dice rolled