Agent skill

Autonomous Loops

by affaan-m in affaan-m/ECC

自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。

MITAuto-check passedAgent Workflows

Install Autonomous Loops

skills CLI
$ npx skills add affaan-m/ECC --skill autonomous-loops -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install affaan-m/ECC autonomous-loops --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/ja-JP/skills/autonomous-loops .claude/skills/autonomous-loops && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
autonomous-loops
GitHub stars
276k
Token cost
~545 tokens
SKILL.md length
68 words
Files
1
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。

  • Works in 4 steps: 各ステップは分離されている — claude… → 順序が重要である —… → ネガティブな指示は危険 —… → …
  • Tasks that involve Autonomous loops
  • SKILL.md covers 使用時期, ループパターンスペクトラム, 1. 順序パイプライン(claude -p) and モデルルーティングおよび他の高度な機能
  • Calls claude

What it does

Autonomous Loops is an agent skill from affaan-m/ECC. 自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Autonomous loops. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

When your agent uses it

  • Tasks that involve Autonomous loops

Example prompts

  • “/autonomous-loops”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 各ステップは分離されている — claude -p呼び出しごとの新鮮なコンテキストウィンドウは、ステップ間でコンテキストブリードがないことを意味します。
  2. 順序が重要である — ステップは順序を実行します。各々は前回によって残されたファイルシステム状態に基づいています。
  3. ネガティブな指示は危険 — 「テスト型システムを実行しないでください」と言わないでください。代わりに、別のクリーンアップステップを追加してください(De-Sloppifyパターンを参照)。
  4. 終了コードは伝播する — set -eは失敗でパイプラインを停止します。

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Autonomous Loops loads about 545 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 68 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~545

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 68 words, ~545 tokens.

Download SKILL.mdSave it as .claude/skills/autonomous-loops/SKILL.md (or your agent's skills folder).
name
autonomous-loops
description
自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。
origin
ECC

自動ループスキル

互換性に関する注記(v1.8.0):autonomous-loopsは1つのリリースのために保持されます。 正規スキル名はcontinuous-agent-loopです。新しいループガイダンスは そこで作成される必要があります。このスキルは既存のワークフローの破断を避けるために利用可能なままです。

Claude Codeをループで自動的に実行するためのパターン、アーキテクチャ、参照実装。シンプルなclaude -pパイプラインから完全なRFC駆動マルチエージェントDAGオーケストレーションまですべてをカバーします。

使用時期

  • 人間の介入なしで実行される自動化開発ワークフローを設定
  • 問題に対して正しいループアーキテクチャを選択(シンプル対複雑)
  • CI/CDスタイルの継続的開発パイプラインを構築
  • マージ調整を備えた平行エージェントを実行
  • ループ反復全体のコンテキスト永続性を実装
  • 品質ゲートとクリーンアップパスを自動化ワークフローに追加

ループパターンスペクトラム

最も単純なものから最も洗練されたものまで:

PatternComplexityBest For
順序パイプライン低日次開発ステップ、スクリプト化されたワークフロー
NanoClaw REPL低インタラクティブな永続的なセッション
無限エージェントループ中平行コンテンツ生成、仕様駆動作業
継続的なClaude PRループ中CIゲートを備えた複数日の反復的プロジェクト
De-Sloppifyパターンアドオン任意の実装ステップ後の品質クリーンアップ
Ralphinho / RFC駆動DAG高大規模機能、マージキューを備えた複数ユニット平行作業

1. 順序パイプライン(claude -p)

**最も単純なループ。**日次開発を非対話的なclaude -p呼び出しの順序に分割します。各呼び出しは、明確なプロンプトを持つ焦点を絞ったステップです。

コア洞察

このようなループを理解できない場合、対話型モードでもLLMをコード修正に駆動することさえできないことを意味します。

claude -pフラグはClaude Codeを非対話的にプロンプト付きで実行し、完了時に終了します。パイプラインを構築するための呼び出しをチェーンします:

bash
#!/bin/bash
# daily-dev.sh — 機能ブランチの順序パイプライン

set -e

# ステップ1:機能を実装
claude -p "docs/auth-spec.mdのスペックを読む。src/auth/にOAuth2ログインを実装します。TDDを最初にテストを書いてください。新しいドキュメントファイルを作成しないでください。"

# ステップ2:De-sloppify(クリーンアップパス)
claude -p "前回のコミットで変更されたすべてのファイルを確認します。不要なタイプテスト、過度に防御的なチェック、またはテスト言語機能を削除します(例:TypeScriptジェネリクスが機能するテスト)。実際のビジネスロジックテストを保つ。クリーンアップ後にテストスイートを実行します。"

# ステップ3:検証
claude -p "完全なビルド、lint、型チェック、テストスイートを実行します。失敗を修正します。新しい機能を追加しないでください。"

# ステップ4:コミット
claude -p "ステージングされたすべての変更の従来的なコミットを作成します。メッセージとして「feat: add OAuth2 login flow」を使用します。"
主要な設計原則
  1. 各ステップは分離されている — claude -p呼び出しごとの新鮮なコンテキストウィンドウは、ステップ間でコンテキストブリードがないことを意味します。
  2. 順序が重要である — ステップは順序を実行します。各々は前回によって残されたファイルシステム状態に基づいています。
  3. ネガティブな指示は危険 — 「テスト型システムを実行しないでください」と言わないでください。代わりに、別のクリーンアップステップを追加してください(De-Sloppifyパターンを参照)。
  4. 終了コードは伝播する — set -eは失敗でパイプラインを停止します。

モデルルーティングおよび他の高度な機能

詳細についてはドキュメントを参照してください。

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/ja-JP/skills/autonomous-loops of affaan-m/ECC.

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Autonomous Loops next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Autonomous Loops compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autonomous Loops this skillaffaan-m/ECC276k—~545Automated safety check: PassMIT
Show Me Your Work Decision Logcursor/plugins11k8 repos~1.6kAutomated safety check: PassNone
Autoresearch Iteration Loopuditgoenka/autoresearch6.5k1 repos~2kAutomated safety check: PassMIT
Install Loop Engineeringcobusgreyling/loop-engineering11k1 repos~648Automated safety check: PassMIT
LoopyForward-Future/loopy3.2k—~3.9kAutomated safety check: PassMIT
AI Performance Improvement Plantanweai/pua20k2 repos~6.9kAutomated safety check: PassMIT

Similar skills

  • Official

    Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.

    11k GitHub starsUsed in 8 repos~1.6k tokens
    Agent WorkflowsAuto-check passed
  • Autoresearch Iteration Loop

    uditgoenka/autoresearch

    Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.

    6.5k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed
  • Install Loop Engineering

    cobusgreyling/loop-engineering

    Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.

    11k GitHub starsUsed in 1 repo~648 tokens
    Agent WorkflowsAuto-check passed
  • Loopy

    Forward-Future/loopy

    Discover, find, compare, audit, repair, adapt, craft, run, debrief, save, and prepare repeatable AI-agent loops for publication.

    3.2k GitHub stars~3.9k tokensUpdated 29 days ago
    Agent WorkflowsAuto-check passed
  • Pushes an agent to exhaust every option, investigate before asking and take initiative beyond the literal request, instead of giving up or waiting passively.

    20k GitHub starsUsed in 2 repos~6.9k tokens
    Agent WorkflowsAuto-check passed
  • LoopX Self Repair

    loopx-project/loopx

    Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.

    6.2k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from affaan-m/ECC

All 683 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    276k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    276k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    276k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    276k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    276k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Measures whether agents actually follow a skill, rule or agent definition by generating scenarios at three strictness levels and scoring tool-call traces.

    276k GitHub starsUsed in 1 repo~623 tokens
    Auto-check passed

Categories

Questions about Autonomous Loops

What does Autonomous Loops do?

自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。. Autonomous Loops is an agent skill from affaan-m/ECC.

When should I use Autonomous Loops?

Autonomous Loops fits situations like: tasks that involve Autonomous loops.

How do I install Autonomous Loops in Claude Code?

Run `npx skills add affaan-m/ECC --skill autonomous-loops -a claude-code`. Or copy the skill folder (docs/ja-JP/skills/autonomous-loops in affaan-m/ECC) into .claude/skills/autonomous-loops in your project. Claude Code loads it when a task matches its description.

How do I install Autonomous Loops in Codex?

Run `npx skills add affaan-m/ECC --skill autonomous-loops -a codex`. Or copy the skill folder (docs/ja-JP/skills/autonomous-loops in affaan-m/ECC) into .agents/skills/autonomous-loops in your project. Codex loads it when a task matches its description.

Can I use Autonomous Loops in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add affaan-m/ECC --skill autonomous-loops -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autonomous-loops, .gemini/skills/autonomous-loops, .github/skills/autonomous-loops and .opencode/skills/autonomous-loops in your project.

What does Autonomous Loops need to run?

Going by SKILL.md and its folder, Autonomous Loops needs the command-line tools its instructions call (claude).

Does Autonomous Loops access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Autonomous Loops safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Autonomous Loops use?

Autonomous Loops is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Autonomous Loops use?

About 545 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Autonomous Loops?

Skills that share tags, products or a category with Autonomous Loops: Show Me Your Work Decision Log (cursor/plugins, 11k stars), Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), Install Loop Engineering (cobusgreyling/loop-engineering, 11k stars) and Loopy (Forward-Future/loopy, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autonomous Loops?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.