Skip to main content
Give a coding agent the Compute Agent Skill so it installs the CLI, dry-runs a real example, and only then submits a GPU job.

Raw skill (for agents)

Agents should fetch this file: https://compute.cx/SKILL.md
GPU runs spend prepaid credit. --yes skips the interactive price confirmation and still bills. --dry-run prints the upload plan and creates no machine.

What to tell the agent

That is enough for Cursor, Claude Code, Codex, and similar tools that can fetch a URL.

What the skill does

  1. Installs with curl -fsSL https://compute.cx/install.sh | sh and compute setup.
  2. Writes the tested simple_mlp.py example from First run.
  3. Runs compute run simple_mlp.py::train --gpu H100-SXM --dry-run (no machine).
  4. On your confirmation, submits with --wait --yes and checks teardown via compute machines.
Do not paste API keys, config.toml, or Checkout session ids into the agent chat.

Next

First run is the same example, written for a human. Run is the flag reference.