stoporg

stoporg is a command for Claude Code from monoes/monomind. It costs 33 tokens per session (705 once invoked), scanned A, original, Apache-2.0.

A command that cleanly stops a running agent organization, called an org, by sending a stop request to its background process. The process checks for that request and exits shortly afterward.

In plain words
What is it for?
Use it to stop a named running org and move it from the running state to stopped.
Why use it?
It avoids leaving an organization running when you are finished with it. It also checks that the named org exists before trying to stop it.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to stop a named running org and move it from the running state to stopped.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/monoes/monomind/stoporg
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.

Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

Made for: Claude Code.

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 stoporg

README.md
[![agentmods](https://agentmods.dev/badge/commands/monoes/monomind/stoporg/github.svg)](https://agentmods.dev/commands/monoes/monomind/stoporg)
Your own site
<a href="https://agentmods.dev/commands/monoes/monomind/stoporg"><img src="https://agentmods.dev/badge/commands/monoes/monomind/stoporg/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.

agentmods 80×15 button for stoporg

Your own site · 80×15
<a href="https://agentmods.dev/commands/monoes/monomind/stoporg"><img src="https://agentmods.dev/badge/commands/monoes/monomind/stoporg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 705 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.00705
Opus 5.5 $0.00013 $0.00282
Sonnet 5.5 $0.00007 $0.00141
Haiku 4.5 $0.00003 $0.00071

Measured yesterday against content hash 1d2ed010d586, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stoporg scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "${REPO_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}/.monomind/dashboard-token" 2>/dev/null || true)" \
.claude/commands/mastermind/stoporg.md · 77 lines

What it actually says

If $ARGUMENTS is empty: Output the following and wait.


MASTERMIND: STOP ORG

Stops a running org cleanly. Runs monomind org stop <name>, which writes .monomind/orgs/<name>/stop; the org daemon polls for that file and exits within about 2 seconds.

Usage:

/mastermind:stoporg --org <name>

Examples:

/mastermind:stoporg --org livarto-issue-resolver
/mastermind:stoporg --org research-pod

Lifecycle:

stopped  →  (runorg / monomind org run)  →  running
running  →  (stoporg / monomind org stop) →  stopped
running  →  (monomind org pause)         →  paused
paused   →  (monomind org resume)        →  running

Your orgs (with live runtime status):

npx -y monomind@latest org list 2>/dev/null || echo "(none — run /mastermind:createorg to define one)"

If $ARGUMENTS is non-empty: Execute the flow below.


Parse $ARGUMENTS for:

  • --org <name> → org_name =

If --org is not provided, list orgs and ask which to stop.

Verify the org file exists:

[ -f ".monomind/orgs/${org_name}.json" ] || { echo "Org '${org_name}' not found."; exit 1; }

Generate a session ID:

REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
session_id="mm-$(date -u +%Y%m%dT%H%M%S)"
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")

Invoke Skill("mastermind-stoporg") passing: org_name: $org_name, session_id: $session_id, caller: "command".

After skill returns: emit session:complete:

curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "${REPO_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}/.monomind/dashboard-token" 2>/dev/null || true)" \
  -H "Content-Type: application/json" \
  -d "$(jq -cn \
    --arg session "$session_id" \
    '{type:"session:complete",session:$session,domain:"ops",status:"complete",domains:["ops"],ts:(now*1000|floor)}')" || true

Follow mastermind-protocol/SKILL.md Brain Write Procedure for domain ops.

Invoke Skill("mastermind-repeat") now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.

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 · 77 lines · 33 tokens per session scan A 1d2ed010d586

Subscribe to this mod's changes

stoporg is a command published in the GitHub repository monoes/monomind (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 705 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.