Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/graph-robots/graph-as-policy/gapnpx skills add graph-robots/graph-as-policy --skill gapgit clone --depth 1 https://github.com/graph-robots/graph-as-policyWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00195 | $0.03386 |
| Opus 5 | $0.00097 | $0.01693 |
| Sonnet 5 | $0.00039 | $0.00677 |
| Haiku 4.5 | $0.00019 | $0.00339 |
Grade A, and why
gap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
graph-as-policy — GaP
GaP compiles robot tasks into typed, verified skill graphs and executes them. The policy is the graph: nodes call tools (perception models, planners, robot motions) or run skill scripts; postcondition checkpoints verify progress against the simulator state. Two kinds of repos exist:
- the engine (
graph-as-policy, imports asgap) — CLI, runtime, builder, codegen, connectors (LIBERO sim / real Franka & UR); - skill registries — directories of bundles (
skills/<name>/SKILL.mdstrategies,tools/<name>/SKILL.mdmodel-backed tools). open-robot-skills is the canonical public registry, normally cloned side-by-side with the engine and auto-discovered. Any number of registries layer by precedence.
Ground truth: gap <command> --help is authoritative;
references/cli.md here is a generated snapshot. When working inside a
checkout, prefer its docs/ (design.md, runtime.md, skills.md, safety.md)
over the digests in this skill.
SAFETY — standing rules
- NEVER run
gap run --real ...orgap.connector.real(...)unless the human has explicitly confirmed that specific run in this conversation. Real-robot work requires a human with the E-stop in hand anddocs/safety.mdread. Do not weaken this gate, ever. - Sim-first, always: validate (
gap run <graph> --validate-only), then sim (--sim), and only then discuss real hardware. - Use
--checkpoints raiseon anything real;warn(the default) in sim. - Never claim a task succeeded without evidence: checkpoint pass in the
trace,
sim.check_success, orgap benchmark --gate. - Never commit API keys or tokens; set them as env vars.
0. Bootstrap / install check
Always start by finding out what exists and what can run:
uv run gap check # inside a checkout (or just `gap check` if on PATH)
gap check --format json # machine-readable; parse this when deciding
If the CLI is missing, set up from scratch (Linux; GPU needed for sim):
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 287 lines · 195 tokens per session scan A e3b8c1a321f1
gap is a skill published in the GitHub repository graph-robots/graph-as-policy (124 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 195 tokens to every session and 3,386 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
bambu-labs
Dry-run, upload, and cautiously initiate local Bambu Lab print jobs from validated plain .gcode, using Bambu LAN FTPS/MQTT handoffs.
sdf
SDFormat/SDF model and world authoring, validation, and simulator handoff. Use for .sdf files, SDFormat XML, models, worlds, links, joints, poses, frames, inertials, visual/collision geometry, mesh URIs, sensors, lights, physics, plugins, includes, Gazebo, static SDF review, or simulator-specific metadata. Do not use…
srdf
MoveIt2 SRDF authoring, validation, and planning-semantics workflow. Use when creating, editing, inspecting, or validating .srdf files, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-paired planning semantics, or SRDF handoff for live review. Use the URDF…
gcode
Generate, inspect, dry-run, and statically validate plain FDM .gcode from 3D mesh files by orchestrating real slicer CLIs. Use when Codex needs to slice .stl, .obj, unsliced .3mf, .ply, .glb, or .gltf into printer-profiled G-code, discover local slicer backends, inspect whether a mesh is slice-ready, or validate…
step-parts
Find, evaluate, and download common purchasable CAD parts from step.parts, including named off-the-shelf actuators, servos, motors, electronics boards, connectors, screws, bolts, nuts, washers, bearings, standoffs, and other catalog components. Use when Codex needs to search the hosted step.parts catalog before…
urdf
URDF robot description authoring and validation. Use when creating, editing, inspecting, validating, or debugging .urdf files, robot links, joints, limits, inertials, visual/collision geometry, mesh references, frame conventions, or robot-description artifacts. Use the SRDF skill for MoveIt2 semantic groups and…