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 agents/graph-robots/graph-as-policy/claude-codegit 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.00000 | $0.02302 |
| Opus 5 | $0.00000 | $0.01151 |
| Sonnet 5 | $0.00000 | $0.00460 |
| Haiku 4.5 | $0.00000 | $0.00230 |
Grade A, and why
claude-code 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 yesterday.
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 — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use with Claude Code and AI Agents
GaP is built to be driven by coding agents, not just humans. The engine repo ships an agent skill — a plain-markdown playbook (agent/skills/gap/SKILL.md) plus five reference deep-dives — that teaches an agent to search skill registries, check capabilities, run graphs in sim, generate and hand-author graphs, create unit-tested skill bundles, and debug traces, with real-robot runs hard-gated on explicit human confirmation. For Claude Code it is packaged as a plugin; for every other agent it is a directory of markdown you symlink or paste.
:::{note}
Requirements: the claude CLI (Claude Code) for the plugin route, and a
working GaP install (Installation) so the
commands the agent runs actually succeed. No GPU or API key is needed to
install the skill itself.
:::
Install the Claude Code plugin
The engine repo hosts a plugin marketplace named gap
(.claude-plugin/marketplace.json):
claude plugin marketplace add graph-robots/graph-as-policy
claude plugin install gap@gap # the engine skill
claude plugin install open-robot-skills@gap # optional: robot bundle contracts
Verify in a fresh session: ask "What robot skills are available?" — the gap
skill should be listed — or invoke it directly with /gap:gap.
claude plugin list shows what is installed.
Why Claude Code only needs the engine skill
The optional open-robot-skills@gap plugin surfaces the registry's bundle
contracts (each bundle's SKILL.md) as Claude Code skills. You rarely need it,
because robot bundles are not consumed by Claude Code — they are consumed by
GaP's internal codegen agent as files on disk. When you ask the agent to
generate a graph, it runs gap generate, and GaP's own LLM pipeline reads the
active registries from the filesystem (Registries).
For discovery, the engine skill already teaches gap skills list and
gap tools show, which report the same contracts with live schemas. Install
the bundle plugin only if you want bundle contracts readable in Claude Code's
own context without shelling out.
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.
- yesterday First seen · 191 lines · 0 tokens per session scan A df08548939a0
claude-code is an agent published in the GitHub repository graph-robots/graph-as-policy (124 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,302 tokens. 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 agents, from other repositories
docs-reviewer
Reviews documentation PRs for Composio, an SDK that connects AI agents to external tools and APIs.
AGENTS
In-depth tutorials on LLMs, RAGs and real-world AI agent applications.
review-skill
Load the versioned machine guidance that teaches coding agents Hunk's live review protocol.
test-doc
Use this agent when the user needs markdown files created in the test-files/ directory. This includes generating test data files, sample documentation, mock content, or any markdown-formatted files for testing purposes.\n\nExamples:\n\n \nContext: User needs sample markdown files for testing a documentation…
node-injection
Hermes CLI 会自动读取本仓库的 CLAUDE.md 文件,包含以下规则:.
retrieval-and-contribution
Agent "retrieval-and-contribution" from Ikalus1988/MisakaNet, covering 检索与贡献指南, 遇到问题时的检索顺序, 步骤详解, lessons 和 reference 的区别 and 贡献新知识.