loops
Skill2 starsChanged 37 days agoMITView on GitHub
Author or modify a LOOP.md — the portable agenticloops.dev format for a recurring, scheduled agent (trigger + skills + prompt in one file). Use when writing a new loop or editing an existing one; to find and install a loop that already exists use `find-loops`.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- sophonfinance-wq/finance-automation-portfoliotheir own version, first seen Nov 1, 2026
- anlmalabs/skillstheir own version, first seen Oct 25, 2026
- xmeir-dev/skillstheir own version, first seen Oct 4, 2026
- vivary-dev/vivarytheir own version, first seen Sep 27, 2026
- michielhdoteth/awesome-ai-agent-toolstheir own version, first seen Aug 24, 2026
- weselben/RooForgetheir own version, first seen Aug 17, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- jwangkun/loops★ 123same name
- michielhdoteth/awesome-ai-agent-tools★ 62same name
- sophonfinance-wq/finance-automation-portfolio★ 16same name
- 0-CYBERDYNE-SYSTEMS-0/FFT_nano★ 4same name
- vivary-dev/vivary-cli★ 4same name
- weselben/RooForge★ 4same name
- miketromba/skills★ 2same name
- thepictishbeast/claude-tools★ 1same name
- vivary-dev/vivary★ 1same name
- anlmalabs/skills★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- 5dive-cli-extrasSkill
- 5dive-cliSkill
- ad-creativeSkill
- caveman-marketingSkill
- code-reviewSkill
- compile-knowledgeSkill
- copywritingSkill
- deep-researchSkill
- diagnoseSkill
- find-loopsSkill
- no-ai-slopSkill
- openagentSkill
- playwright-e2eSkill
- verifySkill
- zero-human-dev-teamSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Always search the directory first and install an existing loop when one fits.
- Distinctive: line 41
Always try 1–2 before 3: Search the directory and install an existing loop when one fits.
- Distinctive: line 49
Do this first whenever the user wants a recurring agent for a job.
- Distinctive: line 84
If nothing in the directory fits → go to Part B and author one.
- Very specific: line 99
If the job is a *pipeline* (gather → draft → publish), it's a multi-agent loop — see the agents: template below.
- Very specific: line 134
Only name, description, and a trigger (schedule or event) are required.
- Very specific: line 188
Put the LOOP.md in a public GitHub repo (the folder name is the loop id).
- Very specific: line 189
Add the GitHub topic agenticloops.
- Very specific: line 198
Model-agnostic:
tier, never a vendor model: Write tier: frontier | standard | fast.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Loops — find, install, run & build recurring agents
This skill, or find-loops?
loops(this one) — AUTHOR or MODIFY aLOOP.md: the portable agenticloops.dev format (a trigger + skills + a prompt in one file any harness can install and run on a schedule). Fires on "create a loop", "make an agentic loop", "write a LOOP.md", "turn this into a recurring agent", "edit this loop".find-loops— SEARCH the directory and INSTALL a loop that already exists. Fires on "find a loop for X", "is there a loop that…", "install a recurring agent that does X".
Always search the directory first and install an existing loop when one fits;
author a new LOOP.md only when nothing does.
For an ad-hoc in-session multi-agent run (spawn, verify, panel, fan-out) use
the 5dive-cli-extras skill; for authoring a reusable SKILL.md use
skill-creator.
The full lifecycle for agentic loops — the LOOP.md format behind agenticloops.dev.
An agentic loop is an installable, recurring AI agent defined in one file: a trigger, a set of skills, and a prompt. One file defines it; any harness (Claude Code, Cursor, Codex, GitHub Actions, a 5dive runtime) can install and run it on a schedule.
This one skill covers the whole lifecycle — the loop-level analogue of find-skills and skill-creator in one:
- Find an existing loop in the directory
- Install / run it on your harness
- Author a new
LOOP.mdwhen nothing fits
Always try 1–2 before 3. Search the directory and install an existing loop when one fits; only build a new one when nothing does. The authoritative format is spec v0.1 at github.com/5dive-ai/loops; when a field is ambiguous, defer to the spec.
The CLI for the whole flow is npx agenticloops (find · install · run · list · update). On a 5dive runtime, the native path is 5dive loop find|show|install.
Part A — Find & install an existing loop
Do this first whenever the user wants a recurring agent for a job.
A1. Understand the job
Identify the job (competitive intel, PR triage, security scan, news digest), the cadence (hourly, daily, on an event), and whether it's a single-agent job or a pipeline (gather → draft → publish = a multi-agent loop).
A2. Search the directory
npx agenticloops find <query> # searches agenticloops.devExamples: "watch our competitors" → find competitive intel; "triage new PRs" → find pr triage; "daily security scan" → find security. Or browse agenticloops.dev directly (ci-analyst, intel-brief, autonomous-pr-loop, agentic-security-scanner, daily-news-radar, issue-triage-bot, …).
A3. Vet before recommending
A loop runs unattended on a schedule, so vet it harder than a skill:
- Proof, not popularity. The directory ranks on verifiable, signed run receipts, not stars — prefer a loop that emits receipts (proof it actually did the job).
- Read the
requiresblock — the trust surface: exactly whichclibinaries,secrets(names),mcpservers, andnetworkegress the loop touches, before it runs. Confirm the user is comfortable with all of it. - Source reputation — official
5dive-ai/loopsentries over an unknown author. - Can the harness honor the trigger? A loop needs scheduling — a run-only harness (an IDE) can run it once but can't fire it on time. Target a scheduler (5dive, GitHub Actions, cron); the installer warns otherwise.
A4. Install (and test-run first)
npx agenticloops install <owner/loop> --dry-run # validate + pre-flight, change nothing
npx agenticloops run <owner/loop> --harness=<id> # optional: one live run to see it work
npx agenticloops install <owner/loop> --yes # register the recurring job
# native on a 5dive box:
5dive loop install <slug> --onto=<agent> [--cron="…"]--harness auto-detects. Supply any requires.secrets host-side at install (the installer prompts) — secrets are names in the file, never values. Manage installed loops with npx agenticloops list and npx agenticloops update [<slug>].
If nothing in the directory fits → go to Part B and author one.
Part B — Author a new loop
B1. Capture intent
A loop is a recurring job, so pin down four things (mine the conversation first):
- The job — what one unit of work does this agent do each run? (one sentence; it becomes the prompt)
- The trigger — a
schedule(every 4h,daily @ 07:00,weekdays @ 09:00, or raw cron) or anevent(task-done,pr-opened,push). One is required. - The skills — capabilities it leans on (e.g.
deep-research,compile-knowledge). Optional but common. - The environment — any CLI binary, secret, MCP server, or network egress? These go in
requiresfor install-time pre-flight.
If the job is a pipeline (gather → draft → publish), it's a multi-agent loop — see the agents: template below.
B2. Write the LOOP.md
A loop is a directory whose name is the loop id, containing one LOOP.md. Frontmatter = manifest; body = starter prompt.
---
name: ci-analyst # kebab-case, ≤64 chars, matches the folder name
description: > # what it does + when to use it (drives discovery)
Competitive-intel analyst — watches every competitor and the field, catches
what changed, and writes a digest before it matters.
schedule: every 4h # or: event: pr-opened (one trigger is REQUIRED)
skills: # owner/repo/skill is explicit & recommended
- 5dive-ai/skills/deep-research
- 5dive-ai/skills/compile-knowledge
requires: # what must ALREADY be true in the env (declare-and-check)
cli: [gh] # binaries on PATH
secrets: [X_API_TOKEN] # env-var NAMES only — never values
mcp: [github] # optional MCP servers
network: [api.x.com] # optional egress allowlist
tier: frontier # capability hint: frontier | standard | fast (NEVER a vendor model)
effort: high # reasoning budget: high | medium | low
concurrency: skip # overlap policy: skip | queue | replace | allow
timeout: 30m # per-run wall-clock cap (optional)
budget: 200k # per-run spend cap: tokens (200k) or cost ($2.00) (optional)
tags: [research, market-intel]
license: MIT
---
Scan our competitor set and the field for the last interval — launches, pricing,
funding, notable chatter. Update the watchlist and, once a day, write a concise
sourced briefing of what changed and what it means for us, then post it to the team.Only name, description, and a trigger (schedule or event) are required. Start minimal; add fields as the job needs them.
Multi-agent (pipeline) template — an ordered agents: chain replaces the single body. Roles run strictly in array order; each role's structured output is injected at {{previous_output}} in the next:
---
name: intel-brief
description: Competitive-intel pipeline — a researcher gathers what changed, a writer turns it into a sourced briefing.
schedule: every 4h
tier: frontier
effort: high
agents:
- role: researcher # kebab id, unique in the loop
skills: [deep-research, compile-knowledge] # per-role, additive to top-level skills
prompt: |
Scan our competitor set and the field for the last interval. Return a
structured list of what changed, with sources. No prose, just findings.
- role: writer
skills: [copywriting]
prompt: |
From the findings below, write a concise sourced briefing of what changed
and what it means for us, then post it to the team.
Findings:
{{previous_output}}
tags: [research, multi-agent]
license: MIT
---Triggers, requires, tier, effort, concurrency, timeout, budget, and tags stay top-level — they govern the whole run, not one role.
B3. Validate
There's no standalone validate command — validation is folded into install and run. Use a dry-run install to check the manifest against spec v0.1 and pre-flight requires without registering anything:
npx agenticloops install ./ci-analyst --dry-run --no-telemetryA ✓ <name> line means the manifest parsed. Fix any schema errors; unknown fields are warnings, not errors. A missing secret/CLI shows up as a pre-flight ✗ — that's the check working, not a bad manifest.
B4. Test-run once, now
npx agenticloops run ./ci-analyst --harness=claude-code
npx agenticloops run ./ci-analyst --harness=claude-code --budget='$0.50' # hard cap via `claude --max-budget-usd`--harness auto-detects. Iterate on the prompt/skills until the single run does the job.
B5. Publish
Publishing = pushing a conforming public repo, no curation step:
- Put the
LOOP.mdin a public GitHub repo (the folder name is the loop id). - Add the GitHub topic
agenticloops. - The crawler finds it, validates it, and indexes it. Others install with
npx agenticloops install <owner/repo>.
Ranking is proof, not popularity — loops that emit verifiable signed run receipts outrank ones that just have stars.
Golden rules (the ones that trip people up)
- Model-agnostic:
tier, never a vendor model. Writetier: frontier | standard | fast; the harness maps it to its own lineup. Namingopus/gpt-5in aLOOP.mdbreaks portability. A specific model is a host-side install override (--model=opus), never in the file. - Secrets are NAMES, never values.
secrets: [X_API_TOKEN]declares that the loop needs a token; the value is supplied host-side at install and never enters the file or repo. requiresis declare-and-check, not an installer. It lists what must already be true; the installer pre-flights and prompts for what's missing. Onlyskillsare ever fetched.- A trigger is required.
scheduleorevent. And it needs a scheduler — an IDE-only harness can run the agent but can't honor a recurring trigger. - Multi-agent handoff is structured, not chat. Each role passes a defined artifact to
{{previous_output}}, never transcript scraping — that's what makes an unattended run deterministic anywhere. - Prefer explicit skill paths.
owner/repo/skillis unambiguous; a bare name resolves against a default registry and can collide.
Communicating with the user
Loop users range from engineers to first-time terminal users. Match their level: explain "cron", "MCP", or "egress" briefly if there's any doubt, and lead with the plain-language job ("a bot that emails you a competitor digest every morning") before the YAML. Default to find-first — most people want a job done, not a file authored; reach for Part B only when the directory has nothing that fits.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

