Borrowing it
Nothing to install: this file belongs to Mineru98/skills-store. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Mineru98/skills-store/main/.codex/skills/loop/SKILL.mdgit clone --depth 1 https://github.com/Mineru98/skills-storeWrote 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.
[](https://agentmods.dev/skills/mineru98/skills-store/loop)<a href="https://agentmods.dev/skills/mineru98/skills-store/loop"><img src="https://agentmods.dev/badge/skills/mineru98/skills-store/loop/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.
<a href="https://agentmods.dev/skills/mineru98/skills-store/loop"><img src="https://agentmods.dev/badge/skills/mineru98/skills-store/loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00109 | $0.01283 |
| Opus 5.5 | $0.00044 | $0.00513 |
| Sonnet 5.5 | $0.00022 | $0.00257 |
| Haiku 4.5 | $0.00011 | $0.00128 |
Grade A, and why
loop 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Overview
loop.mjs is a dependency-free Node ESM runner that registers and fires codex exec jobs on a fixed interval. It manages task state in .codex/loop/ and exposes 8 subcommands: parse-loop, add, list, cancel, status, run-due, daemon, doctor.
It supports only the interval-repeat (loop) task kind. For cron schedules or a one-shot run at a specific time, use the separate schedule skill instead.
Durable Always-On: Use Automations First
Codex app Automations is the official, always-on surface for durable recurring runs — recommend it first. It persists across reboots and terminal exits without a running process.
The bundled local CLI is a terminal fallback only: nothing fires unless the daemon process is running. It is NOT an OS service and does not survive terminal exits.
Local Fallback Usage
All state-mutating commands require --state-root <dir>. Conventional path: --state-root .codex/loop.
Add a loop task
User says /loop 1m check CI status:
node scripts/loop.mjs add \
--state-root .codex/loop \
--interval 1m \
--prompt "check CI status" \
--cwd "$PWD"
addis loop-only:--kindis optional and, if given, must beloop.parse-loopvalidates a/loop [interval] <prompt>spec and returns JSON without writing state.- Default interval when omitted: 10m. Units:
s(rounds up to nearest minute, min 1m),m,h,d. - Optional
--next-run-at <ISO>overrides the first computed run time (testing/backfill).
Manage tasks
# list all tasks (append --json for machine-readable output)
node scripts/loop.mjs list --state-root .codex/loop
# cancel one task
node scripts/loop.mjs cancel <id> --state-root .codex/loop
# cancel all active tasks
node scripts/loop.mjs cancel --all --state-root .codex/loop
# show task counts and lock state (append --json for JSON output)
node scripts/loop.mjs status --state-root .codex/loop
Start the runner
node scripts/loop.mjs daemon \
--state-root .codex/loop \
[--poll-ms 5000] # check interval in ms, default 5000
[--once] # run one poll pass then exit
[--max-runs N] # exit after N total task fires
[--codex-bin /path/to/codex]
What ships with it
4 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.
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.
- 2mo ago First seen · 98 lines · 109 tokens per session scan A ec6795256130
loop is a skill published in the GitHub repository Mineru98/skills-store (13 stars, last pushed 6d ago), licensed MIT. It adds 109 tokens to every session and 1,283 once invoked, about $0.0004 per session on Opus 5.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.
loop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loopMineru98/skills-store | Skill | 13 | 6d ago | MIT | A | 109 | Codex |
| obsidian-baseskepano/obsidian-skills | Skill | 51k | 1mo ago | MIT | A | 63 | Claude Code |
| file-organizerforyourhealth111-pixel/Vibe-Skills | Skill | 3.8k | 3d ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| stay-within-limitsBuilderIO/skills | Skill | 4.6k | 4d ago | MIT | A | 45 | Claude Code |
| grillingvinvcn/mattpocock-skills-zh-CN | Skill | 5.6k | 9d ago | MIT | A | 43 | Claude Code, Codex |
| learntw93/Waza | Skill | 7.5k | 4d ago | MIT | A | 39 | Claude Code |
| find-journalistselvisun/newsjack | Skill | 1.7k | yesterday | MIT | A | 58 | Claude Code |