check

check is a command for coding agents from MadaraUchiha-314/the-loop. It costs 0 tokens per session (1,238 once invoked), scanned A, original, MIT.

A read-only checker for a work item's process graph, meaning the ordered steps that work is expected to pass through. It compares those steps with the project's checked-in files and reports which requirements have or have not been met.

In plain words
What is it for?
Use it to inspect one work item or all work items, view unmet steps, recompute their status, or make a check fail when requirements are unmet or blocked.
Why use it?
It provides a repeatable status check without network access, running other programs, or changing files. This makes the result suitable for regular checks and automated build pipelines.

Command

Part of the the-loop plugin — 2 skills, 35 commands, 2 hooks shipped together

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 commands/madarauchiha-314/the-loop/check
Clone the repo
git clone --depth 1 https://github.com/MadaraUchiha-314/the-loop

Or install the-loop, the plugin that ships this one along with the rest of its 2 skills, 35 commands, 2 hooks.

Wrote 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.

agentmods badge for check

README.md
[![agentmods](https://agentmods.dev/badge/commands/madarauchiha-314/the-loop/check.svg)](https://agentmods.dev/commands/madarauchiha-314/the-loop/check)
Your own site
<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>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,238 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.00000 $0.01238
Opus 5 $0.00000 $0.00619
Sonnet 5 $0.00000 $0.00248
Haiku 4.5 $0.00000 $0.00124

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

Security

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.

docs/cli/commands/check.md · 123 lines

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.

Read the full file on GitHub · 123 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. 4d ago First seen · 123 lines · 0 tokens per session scan A 9310fedb715c

Subscribe to this mod's changes

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.