autonomous-loops

autonomous-loops is a skill for Claude Code, Codex from jcarlosrodicio/opencode-agent-orchestration-kit. It costs 47 tokens per session (2,646 once invoked), scanned A, original, Apache-2.0.

A set of patterns for development workflows that repeat tasks automatically, from simple step-by-step pipelines to systems where multiple agents work in parallel.

In plain words
What is it for?
Use it to build automated development or CI/CD-style pipelines, parallel agent workflows, continuous pull-request loops, and RFC-driven multi-part projects.
Why use it?
It helps you choose an appropriate workflow structure and manage coordination, saved context, quality checks, and cleanup across repeated runs.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/jcarlosrodicio/opencode-agent-orchestration-kit/autonomous-loops
Any agent
npx skills add jcarlosrodicio/opencode-agent-orchestration-kit --skill autonomous-loops
Clone the repo
git clone --depth 1 https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit

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/jcarlosrodicio/opencode-agent-orchestration-kit/autonomous-loops.svg)](https://agentmods.dev/skills/jcarlosrodicio/opencode-agent-orchestration-kit/autonomous-loops)
Your own site
<a href="https://agentmods.dev/skills/jcarlosrodicio/opencode-agent-orchestration-kit/autonomous-loops"><img src="https://agentmods.dev/badge/skills/jcarlosrodicio/opencode-agent-orchestration-kit/autonomous-loops.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00047 $0.02646
Opus 5 $0.00023 $0.01323
Sonnet 5 $0.00009 $0.00529
Haiku 4.5 $0.00005 $0.00265

Measured 6d ago against content hash f9104152771e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

opencode/skills/autonomous-loops/SKILL.md · 313 lines

How it starts

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

Autonomous Loops

Patterns, architectures, and reference implementations for running autonomous loops. Covers everything from simple sequential pipelines to full RFC-driven multi-agent DAG orchestration.

When to Use

  • Setting up autonomous development workflows that run without human intervention
  • Choosing the right loop architecture for your problem (simple vs complex)
  • Building CI/CD-style continuous development pipelines
  • Running parallel agents with merge coordination
  • Implementing context persistence across loop iterations
  • Adding quality gates and cleanup passes to autonomous workflows

Loop Pattern Spectrum

From simplest to most sophisticated:

Pattern Complexity Best For
Sequential Pipeline Low Daily dev steps, scripted workflows
Infinite Agentic Loop Medium Parallel content generation, spec-driven work
Continuous PR Loop Medium Multi-day iterative projects with CI gates
De-Sloppify Pattern Add-on Quality cleanup after any implementer step
RFC-Driven DAG High Large features, multi-unit parallel work with merge queue

1. Sequential Pipeline

The simplest loop. Break daily development into a sequence of non-interactive calls. Each call is a focused step with a clear prompt.

Core Insight

If you can't figure out a loop like this, it means you can't even drive the LLM to fix your code in interactive mode.

Chain calls to build a pipeline:

#!/bin/bash
# daily-dev.sh — Sequential pipeline for a feature branch

set -e

# Step 1: Implement the feature
opencode run "Read the spec in docs/auth-spec.md. Implement OAuth2 login in src/auth/. Write tests first (TDD)."

# Step 2: De-sloppify (cleanup pass)
opencode run "Review all files changed by the previous commit. Remove unnecessary type tests, overly defensive checks. Keep real business logic tests."

# Step 3: Verify
opencode run "Run the full build, lint, type check, and test suite. Fix any failures."

# Step 4: Commit
opencode run "Create a conventional commit for all staged changes."

Read the full file on GitHub · 313 lines

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. 6d ago First seen · 313 lines · 47 tokens per session scan A f9104152771e

Subscribe to this mod's changes

autonomous-loops is a skill published in the GitHub repository jcarlosrodicio/opencode-agent-orchestration-kit (108 stars, last pushed 2d ago), licensed Apache-2.0. It adds 47 tokens to every session and 2,646 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

qa

Run scalable, isolated live QA for nac development. The top-level local orchestrator must parse n (default 4), dispatch one setup worker with this skill, copy its n assignment contracts verbatim into exactly n parallel test workers with this skill, then dispatch one aggregate worker with this skill using all test…

arcee-ai/nac · 100 tokens

release

Cut and publish a full stable NAC release after main, release-PR, and publication CI pass. Use when a maintainer asks for a stable version bump, tag, or GitHub Release. Never use for release candidates; NAC RC releases are automated.

arcee-ai/nac · 53 tokens

triage

Triage a GitHub repository's open issues by finding exact duplicates, rejecting evidenceably off-base requests, requesting concrete clarification, applying only existing labels, and opening a linked root-cause issue when multiple reports share one underlying invariant failure. Use when a maintainer asks to triage…

arcee-ai/nac · 65 tokens

ahk-test

Design, write, and run behavior-focused tests for an objective or existing code. Writes test files only and reports evidence. No tasks created, no harness tracking.

enmanuelmag/agent-harness-kit · 36 tokens

ahk-review

Preview a code review against ticket/objective alignment, with deep semantic (name-vs-behavior) analysis. No tasks created, no harness tracking.

enmanuelmag/agent-harness-kit · 35 tokens

ahk-use-cases

Define or refine a feature, change, refactor, or user journey as an approved non-technical use-case specification.

enmanuelmag/agent-harness-kit · 30 tokens