repeat-with-delay

repeat-with-delay is a skill for Claude Code, Codex from rebornix/Agmente. It costs 50 tokens per session (435 once invoked), scanned A, original, MIT.

A procedure for running the same shell command repeatedly as separate tool calls, with an optional delay between runs. A shell command is an instruction executed by the operating system's command-line interface.

In plain words
What is it for?
Use it when a task requires running a command a set number of times, incrementing a counter, waiting between attempts, and viewing each result before continuing.
Why use it?
It makes each repetition visible and preserves the requested order, counter, and waiting time.

Skill for Claude CodeCodex

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 skills/rebornix/agmente/repeat-with-delay
Any agent
npx skills add rebornix/Agmente --skill repeat-with-delay
Clone the repo
git clone --depth 1 https://github.com/rebornix/Agmente

Made for: Claude Code, Codex.

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-with-delay

README.md
[![agentmods](https://agentmods.dev/badge/skills/rebornix/agmente/repeat-with-delay.svg)](https://agentmods.dev/skills/rebornix/agmente/repeat-with-delay)
Your own site
<a href="https://agentmods.dev/skills/rebornix/agmente/repeat-with-delay"><img src="https://agentmods.dev/badge/skills/rebornix/agmente/repeat-with-delay.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 435 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.00050 $0.00435
Opus 5 $0.00025 $0.00217
Sonnet 5 $0.00010 $0.00087
Haiku 4.5 $0.00005 $0.00044

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

Security

Grade A, and why

repeat-with-delay 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_repeat_with_delay.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/repeat-with-delay/SKILL.md · 51 lines

What it actually says

Repeat With Delay

Run one command at a time as individual tool calls so each iteration is visible in the transcript.

Required Execution Model

  1. Determine loop parameters from the request:
  • iterations (default 10)
  • delay-seconds (default 2)
  • start (default 1)
  • command (default echo "$LOOP_COUNTER")
  1. Execute iterations sequentially using separate tool calls:
  • For each iteration, run one command tool call.
  • Export the loop counter to that single call:
LOOP_COUNTER=<value> bash -lc '<command using $LOOP_COUNTER>'
  • Show that tool call result before continuing.
  1. If not on the final iteration and delay is greater than zero, run a separate sleep tool call:
sleep <delay-seconds>
  1. Continue until iteration N is done. Do not batch iterations into one shell loop when the user wants per-iteration visibility.

Example Mapping

For "run 10 times and delay for 2 seconds between each", execute:

  • 10 separate command tool calls (LOOP_COUNTER=1 to LOOP_COUNTER=10)
  • 9 separate sleep tool calls (sleep 2) between runs

For "echo a number starting at 1 and increment each time":

LOOP_COUNTER=1 bash -lc 'echo "$LOOP_COUNTER"'
LOOP_COUNTER=2 bash -lc 'echo "$LOOP_COUNTER"'
...

Notes

  • Keep loop execution sequential; do not parallelize iterations unless explicitly requested.
  • Preserve command failures; if one iteration fails, stop and report the failing iteration.
  • Optional fallback script exists at scripts/run_repeat_with_delay.sh, but use it only if the user explicitly asks for one single wrapper command.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 51 lines · 50 tokens per session scan A 20024bb2b428

Subscribe to this mod's changes

repeat-with-delay is a skill published in the GitHub repository rebornix/Agmente (542 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 435 once invoked, about $0.0003 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-30.