repeat

repeat is a command for Claude Code from monoes/monomind. It costs 27 tokens per session (4,327 once invoked), scanned A, original, Apache-2.0.

A command that runs a prompt or another slash command repeatedly on a schedule. It supports fixed repetition counts or can continue until a run finds no more work, subject to a safety limit.

In plain words
What is it for?
It helps repeat monitoring, review, or other command-based work every few minutes or until the task reports that it is complete.
Why use it?
Repeated checks or follow-up tasks otherwise need to be started manually. This command keeps the same task running at chosen intervals.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit It helps repeat monitoring, review, or other command-based work every few minutes or until the task reports that it is complete.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/monoes/monomind/repeat"><img src="https://agentmods.dev/badge/commands/monoes/monomind/repeat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,327 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.00027 $0.04327
Opus 5.5 $0.00011 $0.01731
Sonnet 5.5 $0.00005 $0.00865
Haiku 4.5 $0.00003 $0.00433

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

Security

Grade A, and why

repeat 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/repeat.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Argument Parsing

Parse $ARGUMENTS for the following flags. Everything after the first -- (double dash) is the prompt — no further flag parsing, even if subsequent -- tokens appear. If no -- is present, extract known flags in any order and treat the remainder as the prompt:

  • --every <minutes> — interval between repetitions in minutes (default: 15). Minimum 1.
  • --times <count> — total number of repetitions (default: 10). Ignored when --tillend is present.
  • --tillend — run until a complete round produces no findings and no actions. Overrides --times.
  • --maxruns <N> — safety cap for --tillend (default: 50). Stops the loop even if the AI hasn't signaled done.
  • --rep <N> — (internal continuation flag injected by ScheduleWakeup; do not expose to user). Must be a positive integer ≤ MAX_REPS+1; reject otherwise.
  • --loop <id> — (internal continuation flag; preserves loop identity across runs). Must match format repeat-[digits]-[digits]-[digits]; reject otherwise.
  • -- — end of flags; everything after this is the prompt verbatim
  • Everything else (after flag extraction) is the prompt to repeat

If INTERVAL is less than 1, set it to 1 and output: [mastermind:repeat] Interval clamped to 1 minute (minimum).

If MAX_REPS is less than 1, set it to 1 and output: [mastermind:repeat] Repetitions clamped to 1 (minimum).

If MAX_REPS is greater than 1000, set it to 1000 and output: [mastermind:repeat] Repetitions clamped to 1000 (maximum).

If --every is present but its value is missing or not a number, use the default (15).

If --loop is present but does not match the pattern repeat-<digits>-<digits>-<digits>, output [mastermind:repeat] ERROR: invalid loop ID and STOP.

Examples:

/mastermind:repeat --every 5 --times 9 /mastermind:architect --iterate 2 review this project
/mastermind:repeat --every 1 --times 20 /mastermind:review check for security issues
/mastermind:repeat --every 30 /mastermind:do --space abc --board def
/mastermind:repeat check deployment status

If $ARGUMENTS is empty or contains only flags with no prompt, output this and STOP:

Usage: /mastermind:repeat [--every <minutes>] [--times <count>] [--tillend [--maxruns <N>]] <prompt>

Defaults: every 15 minutes, 10 times.

Fixed-count mode (default): runs the prompt N times, then stops. Tillend mode (--tillend): runs until a complete round produces no findings and no actions. Safety cap: --maxruns N (default 50).

This is the universal loop wrapper. Wrap any slash command to repeat it:

  • /mastermind:repeat --every 5 --times 9 /mastermind:architect review this project
  • /mastermind:repeat --every 1 --times 20 /mastermind:review check for security issues
  • /mastermind:repeat --tillend /mastermind:review 1 ← runs until clean pass
  • /mastermind:repeat --every 30 /mastermind:do --space abc --board def
  • /mastermind:repeat check deployment status

Read the full file on GitHub · 257 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. yesterday First seen · 257 lines · 27 tokens per session scan A 9b5b5ffc79e2

Subscribe to this mod's changes

repeat is a command published in the GitHub repository monoes/monomind (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 4,327 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.

Related

Other commands, from other repositories

prune

Delete pending instincts older than 30 days that were never promoted.

mturac/everything-openai-codex · 15 tokens

ordenar

Grupo: Trabajo con el framework En una frase: Capturar archivos, carpetas y dumps del chat — documentar en la capa correcta y dejar manifest recuperable. Cuándo: Volcás mucha data, briefs, notas o paths y querés que el DT clasifique, documente e indexe para reutilizar. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

cerebro-profesional

Grupo: Módulos del segundo cerebro En una frase: Agenda de reuniones, contactos, equipos y búsqueda profesional. Cuándo: Querés explorar notas Meet, timelines por persona o filtrar por proyecto. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

cerebro-work

Grupo: Módulos del segundo cerebro En una frase: Sync cerebro profesional — atajo CerebroWork (script en raíz). Cuándo: Querés correr el sync Meet→Markdown sin recordar paths; ritual rápido post-OAuth. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

start

Grupo: Módulos del segundo cerebro En una frase: Abrir Tools Hub — índice interactivo de herramientas con búsqueda. Cuándo: Querés ver o encontrar rápido tus tools y commands del segundo cerebro. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

checklist

Generate a custom checklist for the current feature based on user requirements.

github/spec-kit · 13 tokens