AugmentClaude
Apache-2.0EngineeringPM

Onyx Research Var-Op

Orchestrate distributed research runs by planning hypotheses, managing worker tasks, and reviewing results.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/onyx-research-varop-onyx-robotics/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.

    What this command does
    1. Makes a new, empty temporary folder.
    2. Downloads the skill's folder, skills/onyx-research-varop, from github.com/onyx-robotics/onyx-agent (branch main), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep.
    3. Copies that folder to ~/.claude/skills/onyx-research-varop-onyx-robotics/.
    4. Deletes the temporary folder.

    Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.

    How we check skills, and what we don't · Report this skill

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

How to work as the variational operator (var-op) of an Onyx research run (onyx research) - plan the run as tracks and hypotheses, keep the worker slots busy, read workers' results and insights and rework the board, and keep a journal. Use when you are a run's var-op, or are asked how a run's var-op should work.

What this skill does

Working as the var-op of an Onyx research run

You decide what is tried next. You never write code or run anything; workers do. You can read the code, and your only command is onyx research: anything else is refused, and a command with anything else in it (a variable assignment, another program) is refused whole. A refused command is refused on its own: onyx research commands still work. Each worker takes one hypothesis, implements it on a commit you name, and runs experiments until it has a proper insight, recording insights in the knowledge graph as it learns them.

Your wakes

You're woken: first, to plan the run; then when a worker finishes or stops, when workers have said something at the end of a turn, when the queue runs short, when the user steers (onyx research steer), and on a 10-minute tick. When you've updated the board, end your turn.

Each wake is a fresh copy of the base agent: you know the codebase and the run's brief, and the wake's message shows you the rest: the minutes of proposing left, the board, each worker that finished or stopped (and why), what each running worker said at the end of its latest turn, the user's messages, and your journal (its latest 40 lines). Nothing else carries over from earlier wakes, so write in your journal what your next wake needs.

When a worker's end-of-turn message reports a finding mid-hypothesis, act on it (a hypothesis that builds on it, a priority changed, one withdrawn) rather than waiting for the worker to finish.

Commands

onyx research board                                 # tracks, hypotheses and their state, results, best commits, idle slots
onyx research track open "<name>" --why "<rationale>" [--weight 1]
onyx research track set <track> [--weight <w>] [--status exploring|exploiting|paused|closed]
onyx research propose --track <track> --title "<hypothesis>" --why "<rationale>" \
  [--base <commit>] [--informed-by <insight,...>] [--reworks <hypothesis>] \
  [--about "<aspect>,..."] [--priority <n>] [--measurement]
onyx research withdraw <hypothesis>                 # drop one that's still queued
onyx research related "<text>"                      # insights and work related to a text, any run
onyx research related --item <id>                   # related to an item (a hypothesis: its insights)
onyx research ask <insight or agent> "<question>"   # ask the worker that wrote it
onyx research journal "<note>"                      # your notes, shown at every wake

Tracks and hypotheses can be named by the end of their id, as the board shows them; insights by their full id. A higher --priority goes first; among equal priorities, the oldest.

Each endpoint has a time limit per experiment, a hard cutoff the user sets for the run: the board shows it, and you're told when it changes.

How to work

  • Think in tracks: lines of inquiry. Start with 2 to 4 that differ in kind, not just in degree. Weight them by promise; open new ones when results suggest a direction nobody's on; pause or close ones that stopped paying.
  • Keep every slot busy: at least as many hypotheses queued or with a worker's turn running as there are slots, plus a few spare. A worker waiting on its experiments gives up its slot and doesn't count, and workers spend most of their time waiting, so expect to keep many more hypotheses open than there are slots. The board says how many slots would sit idle. Cheap endpoints with spare capacity are the place for more; don't flood an endpoint that runs one experiment at a time. (While the run's experiments in flight number at least twice the endpoints' total capacity, slots take no turns at all. If a wake queues nothing, a short queue alone doesn't wake you again.)
  • Be creative. Mix reworks of what's working (a variation, a combination of two results) with bold departures. A hypothesis is a claim that can be wrong, specific enough to implement in one sitting.
  • Use the feedback: read results and insights before proposing (related reaches what earlier runs learned too); cite the insights a hypothesis builds on (--informed-by), and build on the best commit of a track (--base) unless you mean to start over.
  • Negative results count: a refuted hypothesis tells you where not to look.
  • Ask when unsure: onyx research ask <insight> "<question>" asks the worker that wrote it.

Measurement hypotheses

propose --measurement proposes a change to how results are measured (the measurement paths in the brief). Only its worker may change the measurement. Each experiment records which measurement it ran with, and the board never compares results measured differently: other hypotheses use a new measurement by building on its commit (--base).

The end of the run

You propose until the run's minutes are up. Then the hypotheses still queued are cancelled, and workers under way are let finish.

Related skills