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 continuous-agent-loopgit 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/continuous-agent-loop)<a href="https://agentmods.dev/skills/shennawardana23/skillme/continuous-agent-loop"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/continuous-agent-loop.svg" alt="Measured on agentmods" 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.00112 | $0.01290 |
| Opus 5 | $0.00056 | $0.00645 |
| Sonnet 5 | $0.00022 | $0.00258 |
| Haiku 4.5 | $0.00011 | $0.00129 |
Grade A, and why
continuous-agent-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 8d 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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Continuous Agent Loop
Operating discipline for a loop that is already running — as opposed to
autonomous-loops, which covers choosing the loop's architecture in the
first place. This skill is about the gates that decide whether an
iteration's output is good enough to keep, and about recognizing and
recovering from a loop that has quietly gone wrong.
Quality gates per iteration
Every iteration of a continuous loop should pass through gates before its output is accepted, not just "the agent said it's done":
- Build/compile gate — the code compiles and the type checker (or equivalent) is clean.
- Test gate — the existing test suite passes, plus any regression
test written for a bug this iteration fixed (see
ai-regression-testing). - Acceptance-criteria gate — the specific, concrete criteria defined before the iteration started are met, not a general "does this seem right" judgment made after the fact.
A loop with only an implicit gate ("the agent's summary looked reasonable") has no gate at all — it will accept regressions the agent didn't notice it introduced.
Recognizing failure modes
A continuous loop can look "alive" — consuming compute, producing diffs, committing — while making no real progress. Watch for:
- Loop churn without measurable progress — iteration count climbs but the acceptance-criteria gate never gets closer to passing; each iteration touches different code without converging.
- Repeated retries with the same root cause — the same test fails, the same build error recurs, across iterations that don't look identical on the surface but share a diagnosis. This means the loop is retrying blindly rather than incorporating what the last failure taught it.
- Merge or landing stalls — for loops that merge work (a PR loop or a multi-unit DAG), units repeatedly failing to land cleanly signals a conflict the loop isn't equipped to resolve on its own.
- Cost drift from unbounded escalation — cost per iteration creeping
up, usually from repeatedly escalating to a stronger/more expensive
model on the same failure instead of fixing the underlying
under-specification (see the escalation guidance in
agentic-engineering).
What ships with it
1 file 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.
- 8d ago First seen · 117 lines · 112 tokens per session scan A 201a0ef2b6dc
continuous-agent-loop is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 10d ago), licensed Apache-2.0. It adds 112 tokens to every session and 1,290 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
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code.
fix-bug
Resolves a single bug from any starting evidence — Dash0 telemetry (span / log / web event / RUM error link), raw stack trace, error message, code pointer (file:line), screen recording, Linear ticket URL, or free-text symptom. Classifies the input, triages complexity (Phase 0.5) to pick between a fast lane and a full…
storybook
Scaffolds, audits, and tests Storybook stories for React (web) and React Native / Expo (native) component libraries. Generates three artefacts in two files per invocation: a visual regression .stories.tsx file containing a Default story (variants grouped into a single snapshot) and a Playground story (interactive args…
aw-setup
One-time (but safely re-runnable) setup flow that scaffolds a project's aw-tester aw-target: detects auth strategy, captures storage state, writes .claude/aw-targets/local.yml, and validates with a smoke spec. Re-runs detect the existing aw-target and only re-prompt for what broke or changed. Triggers on "/aw-setup"…
aw
Ships autonomous, end-to-end coding work — implement a feature or fix, all the way to a tested draft PR — from a single opt-in entry point. Detects the task tier (Micro / Lite / Full) and routes: Micro/Lite run single-pass in this context; Full hands off to the aw-planner → aw-executor agents. Use when the user asks…
polish
Re-runnable pre-PR quality gate for the current branch. Composes two existing passes over the branch diff: a broad pr-reviewer pass (read-only review via the branch's open PR, which pr-reviewer requires) and a code-quality simplify pass (applies Class M mechanical refactors behind a confidence ≥ 90 % gate, reverting…