RoboSkillHub

Contributing to RoboSkillHub

Five things can be contributed: a tool (a model or algorithm skills call), a skill (any reusable node of a policy: a perception step, an action, or a condition such as "did the grasp hold?", with exits a policy branches on), a policy (a trained checkpoint), a recipe (a task-level template), and a paper card. Each starts from a template:

uv sync --extra gap
# Graph-as-Policy's validator, so `roboskillhub check` runs it too:
uv pip install --no-deps "graph-as-policy @ git+https://github.com/graph-robots/graph-as-policy@09e45f8de27bc1a29629382ed7c2b9b4b384b3d6"
uv run --no-sync roboskillhub new skill grasping-by-the-rim     # or tool, policy, recipe, paper
# edit skills/grasping-by-the-rim/
uv run --no-sync roboskillhub check                             # 0 errors before you open the PR
uv run --no-sync roboskillhub catalog                           # CATALOG.md picks up the change
uv run --no-sync pytest -q

Which kind is it?

What review looks for

Review starts from the bundle's section in CATALOG.md: its description, inputs and outputs, what each exit means and what it calls, on one screen, and in the PR's diff of that page.

  1. The description routes. The coordinator chooses from descriptions alone. Say what the bundle does, then "Use when ..." with the situation and what must already be in hand.
  2. Exits are observable. Each exit names a state someone watching could check, so a checkpoint can verify it.
  3. Constants carry their measurement. A number in a script says what it was measured on (tuned_on) and how. Undocumented magic numbers are the main reason a skill fails on a second robot.
  4. No simulator ground truth unless necessary. Anything calling sim.* is tier full and is never offered for a real robot. If a camera-only version is possible, write that one.
  5. **Embodiment through describe_*.** Read the gripper, arm and workspace through the connector's robot.describe_* tools rather than hard-coding one robot; then embodiments: [any] is honest.
  6. Tests for anything pure. Geometry, predicates and planners' pure parts get unit tests.

Versions and compatibility

Bump metadata.hub.version with every change: MAJOR when an input, output or exit changes (graphs that use it may break), MINOR for new optional inputs or behaviour, PATCH for fixes. Graphs pin the content, not the version, so an old graph keeps running the exact bundle it was locked with.

Eval records and maturity

Maturity (community, sim-verified, real-verified) is set by records in evals/. Only maintainers merge them; CODEOWNERS enforces it. To get a bundle verified, open an issue with the suite, the robot, and the evidence (a trace or video). See evals/README.md.

Bundles that came from open-robot-skills

They are ordinary bundles of this repository: change them here, under the same review, and bump metadata.hub.version. Keep metadata.hub.provenance.code, which links the upstream directory a bundle came from, so a change can always be compared with where it started.

Federated sources

A registry can also be federated instead of copied: pinned by commit in sources.yaml, cloned by roboskillhub sync, with the hub metadata for its bundles in overlays/<source>.yaml (SPEC.md). To add or bump one, change its pin, run roboskillhub sync, update its overlay until roboskillhub check is clean, and open the PR with the upstream changelog. A pin bump is its own PR.

Commit messages

A lowercase area: prefix and one declarative sentence: skills: grasping-by-the-rim, for bowls and cups too wide to pinch.