← Back to Skills Marketplace
aipoch-ai

Randomization Gen

by AIpoch · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
90
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install randomization-gen
Description
Generate block randomization lists for RCTs
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install randomization-gen
  3. After installation, invoke the skill by name or use /randomization-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug randomization-gen
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Randomization Gen?

Generate block randomization lists for RCTs. It is an AI Agent Skill for Claude Code / OpenClaw, with 90 downloads so far.

How do I install Randomization Gen?

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

Is Randomization Gen free?

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

Which platforms does Randomization Gen support?

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

Who created Randomization Gen?

It is built and maintained by AIpoch (@aipoch-ai); the current version is v1.0.0.

💬 Comments