LoopX is a provider-neutral control plane that gives long-running AI-agent work persistent state, decisions, governance, recovery, and handoffs across different agent harnesses. It is for managing and reviewing durable work performed by Codex, Claude Code, Cursor, dsh, or custom agent systems.
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 huangruiteng/loopx --skill worker_skillgit clone --depth 1 https://github.com/huangruiteng/loopxWrote 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/huangruiteng/loopx/worker_skill)<a href="https://agentmods.dev/skills/huangruiteng/loopx/worker_skill"><img src="https://agentmods.dev/badge/skills/huangruiteng/loopx/worker_skill/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/huangruiteng/loopx/worker_skill"><img src="https://agentmods.dev/badge/skills/huangruiteng/loopx/worker_skill.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.00079 | $0.03062 |
| Opus 5.5 | $0.00032 | $0.01225 |
| Sonnet 5.5 | $0.00016 | $0.00612 |
| Haiku 4.5 | $0.00008 | $0.00306 |
Grade A, and why
loopx-auto-research 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 — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LoopX Auto Research
This is a worker-local role playbook for auto-research panes. It is packaged with the auto-research capability and should be injected or referenced by the worker launcher; it is not a global LoopX skill for ordinary project agents.
Routing Boundary
Use this skill after a LoopX auto-research worker has a role profile, frontier item, launcher packet, or user-visible demo pane. The skill is the role playbook. It is not the source of truth for identity, authority, current frontier, or merge/publication permission.
Identity comes from LoopX control-plane metadata:
auto_research_role_profile_v0in the launcher/frontier/bootstrap packet;quota should-run --goal-id ... --agent-id ...;- todo claim, capability token, write scope, and protected scope;
- repository or workspace
AGENTS.mdrules, which can only make the boundary stricter.
No role owns the full graph. Do not infer role from pane title, branch name, tmux window name, or the section of this skill that happens to be visible.
Pane Tick Contract
The generic multi-agent kernel owns the default LoopX project/doc-registry skills and the fixed A2A wake prompt. This skill should stay role-specific: use it after the pane-local tick has resolved identity, quota, and frontier from LoopX.
Compact frontier command: loopx --format json auto-research frontier --goal-id "$LOOPX_GOAL_ID" --agent-id "$LOOPX_AGENT_ID". Also honor quota should-run.
If the launcher exported LOOPX_ROLE_ID, LOOPX_ROLE_PROFILE_REF, or a profile
JSON path, compare those values with the quota and frontier packets. Stop when
they disagree. Do not guess the intended role.
If the role profile includes successor_todos, treat those declarations as the
only role-local way to create the next agent todo. A successor declaration must
name the target agent and include a todo_command_template such as
loopx todo add ... --claimed-by {target_agent_id_shell}. In visible
auto-research, the pane-local tick is a guard/frontier read, not a research
writer. Render and run a successor todo only after the visible role has authored
real public-safe evidence or notes that satisfy the declared condition. Do not
invent an extra continuation plan in prose, and do not ask a leader pane to pick
the next role.
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 · 360 lines · 79 tokens per session scan A db1a1ad11155
loopx-auto-research is a skill published in the GitHub repository huangruiteng/loopx (6,777 stars, last pushed 4d ago), licensed Apache-2.0. It adds 79 tokens to every session and 3,062 once invoked, about $0.0003 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.
loopx-auto-research compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loopx-auto-researchhuangruiteng/loopx | Skill | 6.8k | 4d ago | Apache-2.0 | A | 79 | Claude Code, Codex |
| input-token-overheadsmoonlight-lupin/agent-skills | Skill | 137 | 4d ago | MIT | A | 119 | Claude Code, Codex |
| library-ragmoonlight-lupin/agent-skills | Skill | 137 | 4d ago | MIT | A | 54 | Claude Code, Codex |
| notebooklm-modemoonlight-lupin/agent-skills | Skill | 137 | 4d ago | MIT | A | 91 | Claude Code, Codex |
| contrastive-refinementmoonlight-lupin/agent-skills | Skill | 137 | 4d ago | MIT | A | 34 | Claude Code, Codex |
| fill-templatemoonlight-lupin/agent-skills | Skill | 137 | 4d ago | MIT | A | 235 | Claude Code, Codex |
| people-enrichmentmoonlight-lupin/agent-skills | Skill | 137 | 4d ago | MIT | A | 203 | Claude Code, Codex |