cyberneticlibrary

Generate random integers

random-numberskillsetup L11,423
rivet-dev/sandbox-agent
What it does

Generate a random integer within a specified range

Best for

Quick random sampling in simple workflows when no statistical properties or reproducibility are needed.

Inputs
  • · min (integer)
  • · max (integer)
Outputs
  • · Random integer between min and max (inclusive)
Requires
  • · Bash/CLI
  • · Runtime (Python/Node)
Preconditions
  • · Node.js runtime available
  • · Script at /opt/skills/random-number/random-number.cjs
Failure modes
  • · Script path varies by installation
  • · No seeding control (non-reproducible)
Trust signals
  • · Direct invocation via Bash
  • · Minimal dependencies