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 skills add graph-robots/graph-as-policy --skill gapgit clone --depth 1 https://github.com/graph-robots/graph-as-policyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/graph-robots/graph-as-policy/gap)<a href="https://agentmods.dev/skills/graph-robots/graph-as-policy/gap"><img src="https://agentmods.dev/badge/skills/graph-robots/graph-as-policy/gap/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/graph-robots/graph-as-policy/gap"><img src="https://agentmods.dev/badge/skills/graph-robots/graph-as-policy/gap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What 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.1 | $0.00195 | $0.03386 |
| Opus 5.5 | $0.00078 | $0.01354 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (236 stars, last pushed 11d ago), licensed Apache-2.0. It adds 195 tokens to every session and 3,386 once invoked, about $0.0008 per session on Opus 5.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.
gap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gapgraph-robots/graph-as-policy | Skill | 236 | 11d ago | Apache-2.0 | A | 195 | Claude Code |
| robot-simulationearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 92 | Claude Code, Codex |
| feaearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 109 | Claude Code, Codex |
| pcbearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 103 | Claude Code, Codex |
| sendcutsendearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 92 | Claude Code, Codex |
| print3dearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 97 | Claude Code, Codex |
| home-assistantsammcj/agentic-coding | Skill | 175 | 2d ago | Apache-2.0 | A | 57 | Claude Code |