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 runxhq/runx --skill loop-orchestrationgit clone --depth 1 https://github.com/runxhq/runxWrote 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/runxhq/runx/loop-orchestration)<a href="https://agentmods.dev/skills/runxhq/runx/loop-orchestration"><img src="https://agentmods.dev/badge/skills/runxhq/runx/loop-orchestration/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/runxhq/runx/loop-orchestration"><img src="https://agentmods.dev/badge/skills/runxhq/runx/loop-orchestration.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.00032 | $0.00681 |
| Opus 5.5 | $0.00013 | $0.00272 |
| Sonnet 5.5 | $0.00006 | $0.00136 |
| Haiku 4.5 | $0.00003 | $0.00068 |
Grade A, and why
loop-orchestration 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 5d 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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loop Orchestration
This example shows the runx pattern for long-running agent work:
- An outer loop host decides whether work should continue.
- Each iteration submits one normal governed runx run.
- Each turn seals a receipt before the loop can advance.
- The next turn consumes only explicit inputs, projection state, and receipt summaries.
Nothing in this example adds a loop engine to runx-core. The loop host is just
an application script. In production it could be a hosted service, Temporal
workflow, LangGraph app, n8n workflow, or another orchestrator.
Run It
sh examples/loop-orchestration/run.sh
The script runs three demonstrations:
- success: two governed turns complete a tiny build-review loop;
- refusal: a requested tool is outside the loop policy, so the loop stops before another turn is submitted;
- context gate: an agent turn pauses with digest-bound skill context
and explicit
allowed_tools, showing what a host or managed provider would receive without requiring a model key.
The output prints each run id, receipt id, decision, and next-turn reason.
Check The Harness
For the repeatable inline harness, use a fresh receipt store, so its receipts are not mixed with earlier runs'.
tmpdir="$(mktemp -d)"
"${RUNX_BIN:-crates/target/debug/runx}" harness examples/loop-orchestration \
--receipt-dir "$tmpdir" \
--json
What This Proves
The important boundary is not the Node script. It is the contract:
- A loop owns scheduling, durable loop state, projection, and stop policy.
- A turn is one runx skill/graph run with explicit authority and one sealed receipt.
- A handoff is an artifact/result the loop host can inspect; it is not hidden prompt continuation.
- A projection is derived from receipts and admitted signals, not from ambient memory.
Security Rules
- The loop has a max-turn budget.
- The turn runner receives only declared inputs.
- Tool choices are checked against loop policy before another turn is allowed.
- Context skills are advisory, digest-bound, and untrusted.
- A pause or refusal is a healthy result; the loop does not keep prompting until it gets the answer it wants.
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.
- 5d ago Changed · -4 lines f485d84cf4d9
- 7d ago Changed cff6bc522848
- 1mo ago First seen · 94 lines · 32 tokens per session scan A 12e858b1a9b1
loop-orchestration is a skill published in the GitHub repository runxhq/runx (103 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 681 once invoked, about $0.0001 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.
Other skills, from other repositories
dd-report-format
Standard output format for due diligence analysis reports. Use when producing your final analysis to ensure consistency across all specialist agents.
dd-risk-scoring
Calculate weighted risk scores from specialist agent reports. Use when synthesizing multiple due diligence reports into an overall investment risk assessment.
dd-synthesis
Synthesize findings from multiple specialist agents into a coherent investment recommendation. Use when combining reports from 9+ specialist agents into a single decision document.
dd-sourcing
Document sources properly for due diligence reports. Use when citing any external data, ensuring full traceability and auditability of findings.
dd-verification
Verify claims in pitch decks and founder statements using multiple independent sources. Use when analyzing any claim about market size, traction, team background, or competitive positioning.
gh-treasure-hunt
Hunt the issue/PR queue for highest value-over-risk wins: clean focused community PRs, already-implemented issues to close, safe quick-fixes.