Skip to content
Skillv1.0.0

random-number

Generate a random integer between min and max (inclusive). Use when the user asks for a random number.

by rivet-dev(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from rivet-dev/sandbox-agent (examples/skills-custom-tool/SKILL.md). Install upstream with npx skills add rivet-dev/sandbox-agent --skill skills-custom-tool. Copyright stays with the author.

To generate a random number, run:

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

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/rivet-dev-sandbox-agent-skills-custom-tool/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

rivet-dev-sandbox-agent-skills-custom-tool.ocm.jsonjson
{
  "ocm": "1",
  "id": "rivet-dev-sandbox-agent-skills-custom-tool",
  "kind": "skill",
  "name": "random-number",
  "description": "Generate a random integer between min and max (inclusive). Use when the user asks for a random number.",
  "publisher": "rivet-dev",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Generate a random integer between min and max (inclusive). Use when the user asks for a random number."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/rivet-dev/sandbox-agent",
      "path": "examples/skills-custom-tool/SKILL.md",
      "ref": "bbc195cc3fb5a1dd9cb05d8437442768c511e17e",
      "url": "https://github.com/rivet-dev/sandbox-agent/blob/bbc195cc3fb5a1dd9cb05d8437442768c511e17e/examples/skills-custom-tool/SKILL.md",
      "key": "rivet-dev/sandbox-agent/examples/skills-custom-tool/SKILL.md"
    }
  },
  "instructions": "To generate a random number, run:\n\n```bash\nnode /opt/skills/random-number/random-number.cjs <min> <max>\n```\n\nThis prints a single random integer between min and max (inclusive).",
  "cost": {
    "context_tokens": 44
  }
}

Fetch it by URL: GET /api/v1/registry/rivet-dev-sandbox-agent-skills-custom-tool/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.