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/ryan-scheinberg/harness/role-rootnpx skills add ryan-scheinberg/harness --skill role-rootgit clone --depth 1 https://github.com/ryan-scheinberg/harnessWrote 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/ryan-scheinberg/harness/role-root)<a href="https://agentmods.dev/skills/ryan-scheinberg/harness/role-root"><img src="https://agentmods.dev/badge/skills/ryan-scheinberg/harness/role-root.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00014 | $0.00990 |
| Opus 5 | $0.00007 | $0.00495 |
| Sonnet 5 | $0.00003 | $0.00198 |
| Haiku 4.5 | $0.00001 | $0.00099 |
Grade A, and why
role-root 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the root session. When the user runs bare codex, you appear
Handle whatever lands here. Default to doing the work directly, with the help of $role-verify and subagents. When a task outgrows one context, orchestrate it — you stay the only point of contact and drive it to shipped, no one pinging back
Orchestrating
Spawn with agent_type: "luna_builder" per implementation unit, its prompt opening $role-build plus the context it needs. When the spawn schema exposes fork_turns, pass fork_turns: "none" so the custom role/model override applies. After assembling the batch, record the exact pre-batch commit as base and run Fable directly in the foreground:
env -u ANTHROPIC_API_KEY -u ANTHROPIC_AUTH_TOKEN -u ANTHROPIC_BASE_URL \
-u CLAUDE_CODE_USE_BEDROCK -u CLAUDE_CODE_USE_VERTEX -u CLAUDE_CODE_USE_FOUNDRY \
claude -p --model fable --effort medium --dangerously-skip-permissions --no-session-persistence \
"/role-qa ... exact <base>..HEAD range ... info about what to qa + approvals / what it's allowed to do to qa such as full playwright."
Use the shell tool's full-access mode for this call: Claude's subscription credential lives in the macOS Keychain, which the default Codex workspace sandbox cannot read. This is one blocking call, not a Codex courier or tracked plugin job. Keep it blocked until Claude exits (poll a yielded shell session); treat a nonzero exit or authentication message as BLOCKED. Fable must return PASS, FAIL, or BLOCKED and must not edit or fix code
$role-buildviaagent_type: "luna_builder"— one unit of work: architected, built, self-proven, committed, returned. One agent per independent unit; they run in parallel- Fable QA — the foreground
claude -p --model fablecall above, with the assembled-batch prompt beginning/role-qa $role-deploy— ships the verified batch through the project's deploy skill$role-harness-engineer— evolve the harness itself (skills,AGENTS.md, hooks) when real work exposes a gap. Outside the product loop
The loop: cut the work into units → a luna_builder agent per unit, each prompt beginning $role-build → merge the finished units to main yourself → run the foreground Fable QA call on the assembled <base>..HEAD range → spawn luna_builder to fix what Fable finds, QA evidence in the prompt → rerun Fable → $role-deploy. You read each return and decide the next move; nothing reaches back into a running subagent
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 · 57 lines · 14 tokens per session scan A 3673df459db6
role-root is a skill published in the GitHub repository ryan-scheinberg/harness (2 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 990 once invoked, about $0.0001 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-31.
Other skills, from other repositories
fablize
A harness that makes Opus (or any Claude model) behave like Fable — it enforces seeing a task through to the end, with evidence and verification, as procedure. Use when starting a multi-step task (2+ sequential stories), long autonomous work, debugging or root-cause investigation, building render/executable artifacts…
api-gateway
Call third-party APIs through the Maton gateway, which injects the credential for an app the user has already connected. Use this skill when the user names a connected app and a concrete action in it - read a mailbox, query a CRM, file an issue, update a spreadsheet, run a query through a connected search or scraping…
owner-facing-reporting
Use for every progress update, status report, problem explanation, ETA, review, acceptance, or completion report to the operator/owner, especially when they ask “到哪了”, “什么问题”, “做了什么”, “结果呢”, “还要多久”, or “说人话”. Translate technical evidence into visible or operational outcomes before details.
human-intent-audit
Enforce traceability from natural-language intent to machine predicates, final observables, evidence, and owner-readable acceptance. Use when conducting any audit, review, QA pass, parity or compliance check, security assessment, code or architecture review, visual or behavioral comparison, data validation, system…
visual-deck-studio
视觉演示工坊——用HTML做高保真原型、幻灯片、动画、可视化与专家评审,需求模糊时给设计方向。触发词:做原型、PPT、幻灯片、动画、设计风格、评审、做个HTML页面、UI mockup、导出MP4/GIF、做个好看的。生产级Web App/需后端的系统不适用。.
conducting-scientific-research
Conduct rigorous, reproducible multi-step scientific work with literature, databases, local files, Python, R, shell, artifacts, reviewers, and approved compute. Use for evidence synthesis, data or statistical analysis, machine learning, simulation, study design, scientific figures or manuscripts, reproduction audits…