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?
- It wraps a model or computes something, and is called with arguments? A tool. Perception models, planners, geometry, and yes/no judgments (
tools/predicates) all qualify. Model-backed tools run in their own environment (gap.serving.protocol: stdio-msgpack), so their dependencies never touch anyone else's. - It is a step of a task, with outcomes a graph branches on? A skill. Its
exit_conditionsare its contract: name observable end states (grasped,not_found), not internal errors. - It is a trained network that closes the loop itself? A policy. The weights go to the Hugging Face Hub (
roboskillhub weights push), and the bundle pins them. It names the robot it was trained on and declaresio: action space and rate, state, cameras. A checkpoint runs only on the layout it learned, soembodiments: [any]is never honest for one. - It is an order of skills that solves a kind of task? A recipe.
- It is a method from a paper that a bundle implements? A paper card, listing the bundles under
derived.
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.
- 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.
- Exits are observable. Each exit names a state someone watching could check, so a checkpoint can verify it.
- 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. - No simulator ground truth unless necessary. Anything calling
sim.*is tierfulland is never offered for a real robot. If a camera-only version is possible, write that one. - **Embodiment through
describe_*.** Read the gripper, arm and workspace through the connector'srobot.describe_*tools rather than hard-coding one robot; thenembodiments: [any]is honest. - 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.