← 返回 Skills 市场
90
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install randomization-gen
功能描述
Generate block randomization lists for RCTs
安全使用建议
This skill appears to do what it claims (generate block and stratified randomization lists) and does not request secrets or network access. Before installing or running it, consider: 1) Run it in a sandbox or restricted workspace — the script writes whichever filename you pass and does not validate paths, so it could overwrite files outside the intended directory if given a path like ../../something. 2) Validate user-supplied output paths yourself (or modify the script) to prevent directory traversal and to ensure you have permission to write. 3) Edge-case behavior: stratified_randomization uses integer division (n_subjects // len(strata)) and will drop any remainder subjects (they won't be allocated); consider whether this is acceptable or modify the logic to distribute remainders. 4) The exporter will fail if the schedule is empty (schedule[0].keys() will raise), so add checks for empty schedules if needed. 5) If you plan to run this on sensitive systems, confirm the runtime environment and filesystem permissions. These issues look like sloppy/omitted validation rather than intentional misdirection, but you should review or patch the code before using it in a production or high-stakes clinical environment.
功能分析
Type: OpenClaw Skill
Name: randomization-gen
Version: 1.0.0
The skill bundle is a legitimate tool for generating clinical trial randomization lists. The Python script (scripts/main.py) implements standard block and stratified randomization logic using built-in libraries (random, csv, argparse) and contains no hidden network calls, file exfiltration, or malicious execution patterns. The documentation (SKILL.md) accurately reflects the code's functionality and does not contain any prompt-injection attempts.
能力评估
Purpose & Capability
Name, description, SKILL.md, and the included Python script all match: they generate block and stratified randomization schedules and export CSVs. The requested resources (none) are proportional to the declared functionality.
Instruction Scope
SKILL.md stays on-topic and does not instruct network calls or access to unrelated credentials. However, the implementation does not validate output file paths (no prevention of directory traversal or checks against writing outside the workspace) and will open whatever filename is provided. SKILL.md's security checklist claims path validation but the code does not implement it.
Install Mechanism
No install spec; the skill is instruction-only with an included script. No external downloads or package installs are requested, minimizing install risk.
Credentials
The skill requests no environment variables or credentials. It only performs local file writes/reads via standard Python I/O, which is proportionate to generating and exporting schedules.
Persistence & Privilege
The skill is not always-enabled and does not request elevated privileges or modify other skills. It does write files in the working directory (as expected) but does not claim persistent system presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install randomization-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/randomization-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of randomization-gen: generate block randomization lists for RCTs.
- Supports generation of randomization tables for clinical trials and animal studies
- Allows configuration of total subjects, number of groups, and block size
- Outputs ready-to-use randomization lists with block assignments and allocation concealment
- Security and risk assessments documented
- No additional Python packages required
元数据
常见问题
Randomization Gen 是什么?
Generate block randomization lists for RCTs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。
如何安装 Randomization Gen?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install randomization-gen」即可一键安装,无需额外配置。
Randomization Gen 是免费的吗?
是的,Randomization Gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Randomization Gen 支持哪些平台?
Randomization Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Randomization Gen?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。
推荐 Skills