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 commands/madarauchiha-314/the-loop/checkgit clone --depth 1 https://github.com/MadaraUchiha-314/the-loopWrote 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/commands/madarauchiha-314/the-loop/check)<a href="https://agentmods.dev/commands/madarauchiha-314/the-loop/check"><img src="https://agentmods.dev/badge/commands/madarauchiha-314/the-loop/check.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.00000 | $0.01238 |
| Opus 5 | $0.00000 | $0.00619 |
| Sonnet 5 | $0.00000 | $0.00248 |
| Haiku 4.5 | $0.00000 | $0.00124 |
Grade A, and why
check 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 4d 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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
check
Evaluate a work item's process-graph nodes against its checked-in artifacts, and report what is unmet.
the-loop check <work-item> [--repo .] [--format table|json]
[--recompute] [--fail-on unmet|block]
the-loop check --all [--repo .] [--format table|json]
$ the-loop check issue-117
issue-117: ok (at brainstorming)
···· 7 node(s) not reached yet
A work item that has not been driven through the graph sits at the start node with
everything ahead of it "not reached yet" — which is ok, not a failure. When something
at or before the pointer is unsatisfied, it is named with its status and its reasons:
issue-42: UNMET (at design-approval)
WAIT design-approval
· waiting on a human gate
···· 4 node(s) not reached yet
It is pure
No network. No subprocess. No mutation.
That is what lets the same code run on every harness turn and in CI — so the gate is
the runtime itself, rather than a reimplementation of it that drifts from it. It is also why
check is safe to run in a loop, on someone else's branch, or on a work item you know
nothing about.
Flags
| Flag | Default | Meaning |
|---|---|---|
| (positional) | — | Work item id, e.g. issue-117. Give this or --all. |
--repo |
. |
Repository root. |
--all |
off | Evaluate every work item under the spec root and report drift. |
--format |
table |
table or json. |
--recompute |
off | Ignore stored graph state; derive the verdict from the artifacts alone. |
--fail-on |
unmet |
What makes the process exit non-zero — see below. |
--fail-on: asking versus gating
The two modes exist because "where does this stand?" and "should CI go red?" are different questions.
unmet (default)
Anything not satisfied, a human-wait included. What you want when you are asking where a work item stands.
block
Only a node an agent can actually fix. What an automated gate wants.
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.
- 4d ago First seen · 123 lines · 0 tokens per session scan A 9310fedb715c
check is a command published in the GitHub repository MadaraUchiha-314/the-loop (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,238 tokens. 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 commands, from other repositories
brainstorm
已弃用 - 请改用 superpowers:brainstorming 技能.
execute-plan
已弃用 - 请改用 superpowers:executing-plans 技能.
gaai-audit
Show workspace audit log with filters and optional JSON export.
gaai-ask
Search workspace memory — ranked entries with 1-hop graph context (cognitive guarantee).
gaai-update
Update the GAAI framework or switch AI tool adapter.
gaai-bootstrap
Initialize or refresh project context via Bootstrap Agent.