원클릭으로
autonomous-loops
自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use after a complex task, failure, or when reviewing what was learned. Teaches how to write growth logs that extract reusable patterns — not diary entries.
Design a goal-oriented agent loop, and review it for the ways loops go wrong — spinning and burning tokens, Goodhart-gaming the verifier, or running a wrong answer to completion. Two actions: (1) WRITE a loop — gate whether to build it, define a machine-decidable goal, pick the loop type, pick a skeleton; (2) REVIEW a loop — run it past five failure modes plus decidability, boundaries, fallback, judge independence, and keep-judgment-with-the-human red lines. Use when designing an autonomous agent loop, or when you already have one and worry it will spin, cheat, or run a wrong answer to the end. Complements the mechanism-layer loop skills (autonomous-loops, continuous-agent-loop) by covering the judgment layer they don't. 中文触发:写 loop、设计 loop、做一个 loop、检查 loop 对不对、loop 体检、loop 会不会跑飞、可判定目标、五个崩法、plan build judge。English triggers: design an agent loop, write a loop, check a loop, loop review, prevent a runaway loop, goal-oriented loop, decidable goal, plan/build/judge.
Stop hook that blocks Claude from finishing until quality checks pass. Detects rationalization patterns (surface text heuristics), stale learning logs (filesystem mtime), and low disk space. Complements self-audit by mechanically enforcing learning capture habits.
React Native and Expo app patterns — Expo Router navigation, state separation (server/client/route/form), TanStack Query data fetching with Zod, performant lists, NativeWind/StyleSheet styling, native APIs, and secure storage. Use when building or editing React Native / Expo screens, components, navigation, or data layers.
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination.
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
| 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オーケストレーションまですべてをカバーします。
最も単純なものから最も洗練されたものまで:
| Pattern | Complexity | Best For |
|---|---|---|
| 順序パイプライン | 低 | 日次開発ステップ、スクリプト化されたワークフロー |
| NanoClaw REPL | 低 | インタラクティブな永続的なセッション |
| 無限エージェントループ | 中 | 平行コンテンツ生成、仕様駆動作業 |
| 継続的なClaude PRループ | 中 | CIゲートを備えた複数日の反復的プロジェクト |
| De-Sloppifyパターン | アドオン | 任意の実装ステップ後の品質クリーンアップ |
| Ralphinho / RFC駆動DAG | 高 | 大規模機能、マージキューを備えた複数ユニット平行作業 |
claude -p)**最も単純なループ。**日次開発を非対話的なclaude -p呼び出しの順序に分割します。各呼び出しは、明確なプロンプトを持つ焦点を絞ったステップです。
このようなループを理解できない場合、対話型モードでもLLMをコード修正に駆動することさえできないことを意味します。
claude -pフラグはClaude Codeを非対話的にプロンプト付きで実行し、完了時に終了します。パイプラインを構築するための呼び出しをチェーンします:
#!/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」を使用します。"
claude -p呼び出しごとの新鮮なコンテキストウィンドウは、ステップ間でコンテキストブリードがないことを意味します。set -eは失敗でパイプラインを停止します。詳細についてはドキュメントを参照してください。