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.
npx skills add shennawardana23/skillme --skill autonomous-loopsgit clone --depth 1 https://github.com/shennawardana23/skillmeWrote 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/shennawardana23/skillme/autonomous-loops)<a href="https://agentmods.dev/skills/shennawardana23/skillme/autonomous-loops"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/autonomous-loops/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/shennawardana23/skillme/autonomous-loops"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/autonomous-loops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00115 | $0.02359 |
| Opus 5 | $0.00057 | $0.01179 |
| Sonnet 5 | $0.00023 | $0.00472 |
| Haiku 4.5 | $0.00012 | $0.00236 |
Grade A, and why
autonomous-loops 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 11d 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 — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Autonomous Loops
A catalog of architectures for running a coding agent repeatedly with little or no human intervention between iterations, from a simple scripted sequence of non-interactive invocations up to a full RFC-driven multi-agent DAG. Pick the simplest pattern that fits the task — most autonomous work needs pattern 1 or 2, not the most sophisticated one on this list.
Pattern spectrum
| Pattern | Complexity | Best for |
|---|---|---|
| Sequential pipeline | Low | Scripted daily-dev steps with a known order |
| Persistent session loop | Low | Interactive, session-aware iteration |
| Parallel generation loop | Medium | Many independent variations of one spec |
| Iterative PR loop | Medium | Multi-day projects with CI as the gate |
| De-sloppify pass | Add-on | Cleanup after any implementation step |
| RFC-driven multi-agent DAG | High | Large features, many interdependent units, real merge risk |
1. Sequential pipeline
The simplest loop: a script that invokes the agent non-interactively, one focused step at a time, each building on the filesystem state the previous step left behind.
#!/bin/bash
set -e
# 1. Implement, TDD
claude -p "Read docs/auth-spec.md. Implement OAuth2 login in internal/auth/. Write tests first."
# 2. Cleanup pass (see De-sloppify below) — separate context, separate concern
claude -p "Review files changed by the last commit. Remove tests that verify language/framework behavior rather than business logic. Keep real logic tests. Run go test ./... after."
# 3. Verify
claude -p "Run go build, go vet, and go test ./... . Fix any failures. Do not add new features."
# 4. Commit
claude -p "Create a conventional commit for the staged changes."
Design principles:
- Each step is isolated. A fresh invocation per step means no context bleed from an earlier, now-irrelevant step.
- Order matters and is explicit. The script is the source of truth for sequencing, not the model's judgment about what to do next.
- Avoid negative instructions in the implementer step ("don't write pointless tests") — telling a model what not to do inside a step that also has to do a lot of positive work makes it hesitant across the board. Add a separate cleanup step instead (see below).
- Exit codes propagate.
set -estops the pipeline on the first failure rather than compounding it into the next step.
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.
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.
- 11d ago First seen · 226 lines · 115 tokens per session scan A e43923594a98
autonomous-loops is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 13d ago), licensed Apache-2.0. It adds 115 tokens to every session and 2,359 once invoked, about $0.0006 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-31.
Other skills, from other repositories
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
receiving-code-review
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation.
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code.
skill-creator
Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.
skill-index-updater
Add GitHub skill repos to the ASM index: clone, audit, eval, regenerate index, rebuild catalog, open PR. Use when given GitHub URLs to onboard. Don't use for authoring (skill-creator), improving (skill-auto-improver), or install (asm install).
hello-world
A minimal test skill that greets the user and demonstrates the ASM publish workflow.