repeat

repeat is a skill for Claude Code from softspark/ai-toolkit. It costs 33 tokens per session (1,228 once invoked), scanned A, original, Apache-2.0.

A scheduled command runner that repeats a prompt or slash command at set intervals until it finishes or reaches a limit.

In plain words
What is it for?
Use it to poll deployment status, rerun tests, or repeat another agent command every few minutes.
Why use it?
It removes the need to manually start the same check or command again and again, while limiting how long the loop can continue.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-toolkit plugin — 113 skills, 44 agents, 14 hooks shipped together

Good fit Use it to poll deployment status, rerun tests, or repeat another agent command every few minutes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/softspark/ai-toolkit/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.

Any agent
npx skills add softspark/ai-toolkit --skill repeat
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 113 skills, 44 agents, 14 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 repeat

README.md
[![agentmods](https://agentmods.dev/badge/skills/softspark/ai-toolkit/repeat.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/repeat)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/repeat"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/repeat.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.01228
Opus 5 $0.00016 $0.00614
Sonnet 5 $0.00007 $0.00246
Haiku 4.5 $0.00003 $0.00123

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

Security

Grade A, and why

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

app/skills/repeat/SKILL.md · 150 lines

How it starts

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

/repeat - Autonomous Recurring Execution

$ARGUMENTS

Argument Parsing

Parse the user input into three components:

  1. Interval — duration between iterations (default: 10m)
    • Accepts: 1m, 5m, 10m, 30m, 1h
    • Minimum: 1m (enforced, reject anything lower)
  2. Command or prompt — the slash command or freeform prompt to execute each iteration
  3. Flags:
    • --iterations N — maximum number of iterations (default: 5)

Examples of parsed input:

  • /repeat 5m /test -> interval=5m, command=/test, iterations=5
  • /repeat 10m "check deploy status" -> interval=10m, command="check deploy status", iterations=5
  • /repeat --iterations 3 /review -> interval=10m, command=/review, iterations=3
  • /repeat 2m --iterations 10 /lint -> interval=2m, command=/lint, iterations=10

Safety Controls

These limits are constitutionally mandated (Article I, Section 4). Violating them is not permitted.

Max Iterations

  • Default: 5 iterations
  • Configurable via --iterations N
  • Hard ceiling: the loop MUST terminate after N iterations regardless of outcome

Circuit Breaker

  • Track consecutive failures (non-zero exit code, error output, exceptions)
  • 3 consecutive failures -> immediate hard stop
  • Reset the failure counter on any successful iteration

Minimum Interval

  • Never execute faster than 1 minute between iterations
  • If user requests <1m, override to 1m and warn

Exit Detection

After each iteration, inspect the output for completion signals:

  • Exit code 0 combined with success markers
  • Output contains: DONE, COMPLETE, ALL PASS, ALL TESTS PASSED, SUCCESS
  • Case-insensitive matching
  • If detected: stop the loop early and report success

Execution Protocol

For iteration = 1 to max_iterations:
    1. Log iteration start (timestamp, iteration number)
    2. Execute the command or prompt
    3. Capture output and exit status
    4. Check exit detection:
       - If completion marker found -> STOP, report success
    5. Check circuit breaker:
       - If failure: increment consecutive_failures
       - If success: reset consecutive_failures to 0
       - If consecutive_failures >= 3 -> HARD STOP, report failure
    6. Log iteration result to stats
    7. If not last iteration: wait for interval duration
    8. Repeat

After loop ends:
    - Print summary: total iterations, pass/fail counts, elapsed time
    - Final status: COMPLETED | EARLY_SUCCESS | CIRCUIT_BREAKER | MAX_ITERATIONS

Read the full file on GitHub · 150 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 · 150 lines · 33 tokens per session scan A c934cb1a7805

Subscribe to this mod's changes

repeat is a skill published in the GitHub repository softspark/ai-toolkit (170 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 1,228 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

conflict-resolver

Résolution de conflits entre agents ou sous-agents quand les résultats sont contradictoires, avec workflow de détection, arbitrage, merge et feedback loop. Se déclenche avec "conflit agent", "agent conflict", "résultats contradictoires", "agent disagreement", "contradiction agents", "arbitrage agent", "résoudre…

khalilbenaz/claude-skills-collection · 99 tokens

email-agent-builder

Construction d'agents de gestion d'emails incluant tri, réponse automatique, extraction et classification. Se déclenche avec "email agent", "agent email", "tri automatique", "réponse automatique email", "classification email. Also triggers on "auto reply agent", "inbox triage agent".

khalilbenaz/claude-skills-collection · 65 tokens

human-in-the-loop-designer

Design de systèmes human-in-the-loop pour agents IA avec approbation, correction et escalade. Se déclenche avec "human in the loop", "HITL", "approbation humaine", "validation humaine", "escalade agent", "agent supervisé", "intervention humaine", "approval workflow". Also triggers on "approval step for agent", "human…

khalilbenaz/claude-skills-collection · 88 tokens

langgraph-designer

Conception de graphes d'agents avec LangGraph pour workflows complexes et stateful. Gestion d'état partagé, edges conditionnels, persistance et human-in-the-loop. Se déclenche avec "LangGraph", "graph agent", "state machine agent", "agent graph", "conditional edges", "checkpointer", "agent workflow stateful"…

khalilbenaz/claude-skills-collection · 103 tokens

pipeline-composer

Composition de pipelines de sous-agents où la sortie d'un agent alimente l'entrée du suivant. Se déclenche avec "pipeline agent", "chaîne d'agents", "agent chain", "agent pipeline", "sequential agents", "workflow agents", "ETL agent", "agent DAG", "composer agents". Also triggers on "chain agents", "output of one…

khalilbenaz/claude-skills-collection · 84 tokens

workflow-automation-agent

Construction d'agents d'automatisation de workflows métier incluant RPA intelligent, déclencheurs et actions chaînées, orchestration d'étapes avec gestion d'erreurs et monitoring. Se déclenche avec "workflow agent", "RPA", "automatisation métier", "agent d'automatisation", "process automation. Also triggers on…

khalilbenaz/claude-skills-collection · 91 tokens