loopx-auto-research

A role-specific playbook for workers in LoopX, a system that coordinates automated research tasks.

In plain words
What is it for?
Use it when operating a LoopX research panel, evidence package, promotion or retirement decision, or visible rehearsal.
Why use it?
It clarifies a worker's identity, permissions, assigned research item, and required steps so separate workers do not overstep their roles.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/huangruiteng/loopx/worker_skill
Any agent
npx skills add huangruiteng/loopx --skill worker_skill
Clone the repo
git clone --depth 1 https://github.com/huangruiteng/loopx

Made for: Claude Code, Codex.

Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,062 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00079 $0.03062
Opus 5 $0.00039 $0.01531
Sonnet 5 $0.00016 $0.00612
Haiku 4.5 $0.00008 $0.00306

Measured 2d ago against content hash db1a1ad11155, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 2d 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.

demo/auto_research/worker_skill/SKILL.md · 360 lines

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_v0 in 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.md rules, 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.

Read the full file on GitHub · 360 lines

Changes

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.

  1. 2d ago First seen · 360 lines · 79 tokens per session scan A db1a1ad11155

Subscribe to this mod's changes

loopx-auto-research is a skill published in the GitHub repository huangruiteng/loopx (5,394 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 3,062 once invoked, about $0.0004 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-30.