Borrowing it
Nothing to install: this file belongs to bex-co/beancount-io. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bex-co/beancount-io/main/.agents/skills/loopx/SKILL.mdgit clone --depth 1 https://github.com/bex-co/beancount-ioWrote 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/bex-co/beancount-io/loopx)<a href="https://agentmods.dev/skills/bex-co/beancount-io/loopx"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/loopx/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/bex-co/beancount-io/loopx"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/loopx.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00112 | $0.06447 |
| Opus 5.5 | $0.00045 | $0.02579 |
| Sonnet 5.5 | $0.00022 | $0.01289 |
| Haiku 4.5 | $0.00011 | $0.00645 |
Grade C, and why
loopx scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
3. `stalled`, or no answer to that follow-up: stop the worker (TaskStop). It almost always waited on an approval prompt. Keep any leftovers in a named stash (`git stash push -u -m "loopx/<wN>/<id>"`), then run `dispatch` How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Task: Drain a .pm workstream, then listen for more
Usage: /loopx <wN> [--no-listen]
/loopx <wN> repeats one cycle until an exit: pick the next actionable pending item in workstream <wN>, hand it to a worker with a fresh context, verify the outcome it claims against origin/main, and continue. An item is a pending milestone (with all of its tasks) or an open inbox note. When nothing is actionable, the loop does not end. Next it runs any due routine from the workstream's schedule, returning to the board after each one. When no routine is due, it listens: a background process polls origin/main with exponential backoff, costs no model tokens, and wakes the loop when new items land or when the next routine is due. After 24 idle hours with no routine scheduled it stops. With --no-listen, drained means done. Before every pick it also checks whether one of its own pushes turned CI red, and fixes that first.
This session is the orchestrator. It owns the queue, the guard, the listener, and the verification. It does not read code or implement anything. Every item's triage, implementation, /pm moves, and /land belong to the worker, whose full contract is worker.md. The split exists because each item needs its own context: a milestone's history is noise to the next one, and a session cannot clear itself. Fresh workers keep the orchestrator small, so it stays cheap even after a long idle wait has expired the prompt cache.
Parse the workstream and the optional --no-listen from $ARGUMENTS (e.g. w1, w1 --no-listen). If no workstream is given, STOP and ask which one to drain. Never guess.
Preconditions (verify once, up front)
git branch --show-currentismain. If not, STOP and ask (same rule as/land).git status: note pre-existing uncommitted changes. Workers land from this checkout, so if the tree is dirty with work you didn't do, surface it and ask before starting.- The workstream
.pm/<wN>/README.mdexists. If not, STOP and report. - Read
.pm/DO_NOT_DO.mdonce, so you recognize an item that conflicts with it when you pick it. - Arm the loop guard:
python3 scripts/loopx-guard.py start <wN>(append--no-listenwhen given). In Claude Code it is aStophook bound to this session. It refuses to let the turn end while<wN>has a ready item, unless a dispatched worker is still running; and when nothing is ready, unless a listener is running or--no-listenwas given. Other sessions in the checkout are never held to your loop,startwarns if another session already loops on<wN>, and the mark is dropped when your session ends. Codex has noStophook: therestartsays nothing was armed, and the exit rules below are the only enforcement.
What ships with it
1 file 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.
- yesterday First seen · 222 lines · 112 tokens per session scan C 2df27c6263c2
loopx is a skill published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 112 tokens to every session and 6,447 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.
loopx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loopxbex-co/beancount-io | Skill | 808 | yesterday | MIT | C | 112 | Claude Code |
| bookkeepingericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 84 | Claude Code, Codex |
| rledgerrustledger/rustledger | Skill | 442 | today | GPL-3.0 | A | 117 | Claude Code, Codex |
| countbean-accountingCPUtester5465/countbean-plugin | Skill | 21 | 1mo ago | MIT | A | 54 | Claude Code |
| full-engagement-pipelinecynco-labs/ai-accounting-skills | Skill | 6 | 4mo ago | MIT | A | 56 | Claude Code |
| smart-intakecynco-labs/ai-accounting-skills | Skill | 6 | 4mo ago | MIT | A | 47 | Claude Code |
| classify-transactionscynco-labs/ai-accounting-skills | Skill | 6 | 4mo ago | MIT | A | 55 | Claude Code |