stop

A command for pausing Agentic Loop work in the current conversation and saving a checkpoint for unfinished work. It is intended for stopping the workflow, not for closing or merging the project.

In plain words
What is it for?
Use it to stop active delegated work when possible, record the current artifact and verification state, and note the next concrete action without accepting, closing, merging, or deleting project work.
Why use it?
It preserves the current task status and makes the latest progress and next action available for later continuation.

Command

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/bartoszarendt/agenticloop/stop
Clone the repo
git clone --depth 1 https://github.com/bartoszarendt/agenticloop
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 450 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.00013 $0.00450
Opus 5 $0.00006 $0.00225
Sonnet 5 $0.00003 $0.00090
Haiku 4.5 $0.00001 $0.00045

Measured yesterday against content hash 815c035cddeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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.

commands/stop.md · 42 lines

What it actually says

Stop Agentic Loop

Stop means current-conversation deactivation, not host-session exit, task closeout, or worktree cleanup. Do not authorize or initiate new Agentic Loop work or spawn new maintainer, engineer, or parallel-lane agents.

  1. Inspect active Agentic Loop subagents, delegated roles, background commands, and worktree lanes.
  2. When the host exposes a safe interruption control, interrupt active Agentic Loop subagents or background work. When it does not, do not wait indefinitely; report the still-running work and host limitation.
  3. Preserve material unfinished work. Use the existing maintainer/delegation path when available. When progress is not yet durable, append a concise dated handoff/checkpoint note to the task record with the last completed action, current artifact, branch or worktree, verification already run, and the next concrete action. Keep the current task status unchanged unless an independent blocker actually exists. A voluntary stop is not blocked or needs_context.
  4. If no task or delegated work is active, do not write a checkpoint.

Do not accept, close, merge, commit, push, delete branches, clean up worktrees, or begin task closeout unless the user separately authorizes that action.

Return a final stop summary containing:

  • Agentic Loop deactivated for this conversation.
  • Active task ID, or none, and its durable status.
  • Interrupted work or still-running work with any host limitation.
  • Checkpoint location, if one was needed.
  • Branch or worktree when relevant.
  • Exact resume invocation for the active host: /agenticloop <task or context> for OpenCode, Claude Code repo-local, Copilot CLI, and Cursor; /agenticloop:start <task or context> for Claude Code plugin; and $agenticloop <task or context> for Codex.

After this summary, do not automatically continue Agentic Loop for later user messages. Reactivation requires the normal explicit activation command.

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. yesterday First seen · 42 lines · 13 tokens per session scan A 815c035cddeb

Subscribe to this mod's changes

stop is a command published in the GitHub repository bartoszarendt/agenticloop (2 stars, last pushed 12d ago), licensed MIT. It adds 13 tokens to every session and 450 once invoked, about $0.0001 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-31.