---
name: Random Number
slug: random-number
category: Automation
description: Random Number generates a random integer between specified minimum and maximum values (inclusive). Use it when the user asks for a random number.
github: "https://github.com/rivet-dev/sandbox-agent/tree/main/examples/skills-custom-tool"
language: TypeScript
stars: 1539
forks: 121
install: "npx degit https://github.com/rivet-dev/sandbox-agent/tree/main/examples/skills-custom-tool ~/.claude/skills/skills-custom-tool"
installs_to: ~/.claude/skills/skills-custom-tool
source_path: examples/skills-custom-tool/SKILL.md
collection_size: 3
category_size: 1523
collection_url: "https://dirskills.com/collections/rivet-dev/sandbox-agent"
added: 2026-08-19T07:26:33.858Z
last_synced: 2026-08-19T07:26:33.858Z
canonical_url: "https://dirskills.com/skills/random-number"
---

# Random Number

Random Number generates a random integer between specified minimum and maximum values (inclusive). Use it when the user asks for a random number.

**Install:**

```bash
npx degit https://github.com/rivet-dev/sandbox-agent/tree/main/examples/skills-custom-tool ~/.claude/skills/skills-custom-tool
```

## README

To generate a random number, run:

```bash
node /opt/skills/random-number/random-number.cjs <min> <max>
```

This prints a single random integer between min and max (inclusive).
