autonomous-loops

autonomous-loops is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 31 tokens per session (609 once invoked), scanned A, original, Apache-2.0.

A set of designs for running coding agents through controlled, repeatable loops, from simple step-by-step pipelines to workflows where tasks form a dependency graph.

In plain words
What is it for?
It is for organizing code generation, cleanup, testing, building, and commits into sequential or continuously repeating workflows.
Why use it?
It helps prevent agents from running without limits, losing context, or skipping cleanup and verification.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It is for organizing code generation, cleanup, testing, building, and commits into sequential or continuously repeating workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/autonomous-loops
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.

Any agent
npx skills add jxoesneon/Ciel --skill autonomous-loops
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

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 autonomous-loops

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/autonomous-loops/github.svg)](https://agentmods.dev/skills/jxoesneon/ciel/autonomous-loops)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/autonomous-loops"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/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.

agentmods 80×15 button for autonomous-loops

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/autonomous-loops"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/autonomous-loops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 609 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.00609
Opus 5.5 $0.00012 $0.00244
Sonnet 5.5 $0.00006 $0.00122
Haiku 4.5 $0.00003 $0.00061

Measured 2mo ago against content hash d39918bae3b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

skills/autonomous-loops/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CIEL ADAPTATION: Autonomous-Loops (Loop Architecture)

This skill dictates the approved architectural patterns for running autonomous agent loops within the CIEL ecosystem. It prevents chaotic, unbounded agent executions by defining structured, verifiable pipeline patterns.

Integration Context

Adapted from ~/.agents/skills/autonomous-loops/. This skill provides the high-level orchestration architectures that utilize foundational CIEL skills like subagent-driven-development, verification-loop, and safety-guard.

CIEL Approved Loop Patterns

1. The Sequential Pipeline (Standard Workflow)

The default pattern for automated tasks. Breaks work into isolated, sequential steps to prevent context degradation.

  • Implement: Dispatch sub-agent for code generation.
  • De-Sloppify: Dispatch a cleanup sub-agent (removes unnecessary tests, over-defensive code, console logs). Crucial: Do not use negative instructions in the Implement step; use a separate De-Sloppify pass.
  • Verify: Run verification-loop (lint, test, build).
  • Commit: Auto-commit with conventional messages if verified.

2. The Continuous Iteration Loop (Mid-Tier)

Used for multi-turn tasks driven by a persistent state file.

  • Requires a SHARED_TASK_NOTES.md file to bridge context between iterations.
  • Must include hard limits: --max-runs, --max-cost, or a completion signal.
  • Involves an automated "Fix pass" if CI/verification fails.

3. RFC-Driven DAG Orchestration (High-Tier)

Reserved for massive, multi-file refactors or epic-level features.

  • Decomposition: The Orchestrator breaks the RFC into a Dependency Graph (DAG) of discrete work units.
  • Tiered Pipelines: Work units are assigned a complexity tier (trivial, small, medium, large), determining how many review/planning stages they undergo.
  • Isolated Contexts: The Author sub-agent and Reviewer sub-agent MUST be different invocations with separate context windows to eliminate author-bias.

Anti-Patterns (Enforced by Orchestrator)

Read the full file on GitHub · 51 lines

Files

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.

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. 2mo ago Changed · -13 lines d39918bae3b3
  2. 2mo ago First seen · 64 lines · 31 tokens per session scan A 9d52a682a4f2

Subscribe to this mod's changes

autonomous-loops is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 609 once invoked, about $0.0001 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-09-03.

Related

autonomous-loops compared with skills from other repositories

autonomous-loops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autonomous-loopsjxoesneon/CielSkill11mo agoApache-2.0A31Claude Code, Codex
factory-baselinewatt-mind/factorySkill24yesterdayApache-2.0A80Claude Code
factory-swarmwatt-mind/factorySkill24yesterdayApache-2.0A47Claude Code
factory-verify-createwatt-mind/factorySkill24yesterdayApache-2.0A85Claude Code
factory-teachwatt-mind/factorySkill24yesterdayApache-2.0A57Claude Code
factory-whywatt-mind/factorySkill24yesterdayApache-2.0A47Claude Code
principle-build-the-leverwatt-mind/factorySkill24yesterdayApache-2.0A41Claude Code