autonomous-loop
自律的なコーディングセッションを円滑に進めるため、機能完成や継続的なループ処理、エージェントのライフサイクル管理などを統合的に調整・実行するSkill。
📜 元の英語説明(参考)
Main orchestration loop for autonomous coding. Use when running autonomous sessions, orchestrating feature completion, managing continuous loops, or coordinating agent lifecycle.
🇯🇵 日本人クリエイター向け解説
自律的なコーディングセッションを円滑に進めるため、機能完成や継続的なループ処理、エージェントのライフサイクル管理などを統合的に調整・実行するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o autonomous-loop.zip https://jpskill.com/download/9367.zip && unzip -o autonomous-loop.zip && rm autonomous-loop.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9367.zip -OutFile "$d\autonomous-loop.zip"; Expand-Archive "$d\autonomous-loop.zip" -DestinationPath $d -Force; ri "$d\autonomous-loop.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
autonomous-loop.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
autonomous-loopフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Autonomous Loop
すべての機能が完了するまで継続的に実行される、メインのオーケストレーションループです。
クイックスタート
Autonomous Loop の開始
from scripts.autonomous_loop import AutonomousLoop
loop = AutonomousLoop(project_dir)
result = await loop.run()
print(f"Completed: {result.features_completed}")
print(f"Sessions: {result.sessions_used}")
構成あり
from scripts.loop_config import LoopConfig
config = LoopConfig(
max_sessions=10,
token_budget=500000,
auto_checkpoint=True
)
result = await loop.run(config)
Autonomous Loop のワークフロー
┌─────────────────────────────────────────────────────────────┐
│ AUTONOMOUS LOOP │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ INITIALIZE │ │
│ │ ├─ Detect session type (INIT vs CONTINUE) │ │
│ │ ├─ Load or create feature list │ │
│ │ └─ Initialize state tracker │ │
│ └────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ FEATURE LOOP │ │
│ │ while (incomplete_features > 0): │ │
│ │ ├─ Select next feature │ │
│ │ ├─ Create checkpoint │ │
│ │ ├─ Implement with TDD │ │
│ │ ├─ Run E2E tests │ │
│ │ ├─ If pass: mark complete │ │
│ │ ├─ If fail: recover or rollback │ │
│ │ └─ Check context limits │ │
│ └────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ CONTEXT CHECK │ │
│ │ if (approaching_limit): │ │
│ │ ├─ Compact context │ │
│ │ ├─ Prepare handoff │ │
│ │ └─ Request continuation │ │
│ └────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ COMPLETION │ │
│ │ ├─ Generate final report │ │
│ │ ├─ Store session memory │ │
│ │ └─ Signal completion │ │
│ └────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
Loop Result
@dataclass
class LoopResult:
success: bool
features_completed: int
features_total: int
sessions_used: int
total_tokens: int
errors_recovered: int
duration_minutes: float
handoff_reason: Optional[str]
継続モード
| Mode | Description | Trigger |
|---|---|---|
| Auto | ループは自動的に継続します | Context limit |
| Manual | ユーザーが継続を確認します | Session end |
| Scheduled | スケジュールされた時間に実行されます | Cron trigger |
| Event | イベントによってトリガーされます | Git push, CI |
統合ポイント
- autonomous-session-manager: セッションのライフサイクル
- coding-agent: 機能の実装
- browser-e2e-tester: 機能の検証
- error-recoverer: エラーの処理
- checkpoint-manager: 安全なロールバック
- handoff-coordinator: セッションの移行
- progress-tracker: 追跡とレポート
参考文献
references/LOOP-LIFECYCLE.md- ループの詳細references/CONTINUATION-PROTOCOL.md- 継続
スクリプト
scripts/autonomous_loop.py- メインループscripts/loop_config.py- 構成scripts/feature_orchestrator.py- 機能フローscripts/continuation_handler.py- 継続
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Autonomous Loop
Main orchestration loop that runs continuously until all features are complete.
Quick Start
Start Autonomous Loop
from scripts.autonomous_loop import AutonomousLoop
loop = AutonomousLoop(project_dir)
result = await loop.run()
print(f"Completed: {result.features_completed}")
print(f"Sessions: {result.sessions_used}")
With Configuration
from scripts.loop_config import LoopConfig
config = LoopConfig(
max_sessions=10,
token_budget=500000,
auto_checkpoint=True
)
result = await loop.run(config)
Autonomous Loop Workflow
┌─────────────────────────────────────────────────────────────┐
│ AUTONOMOUS LOOP │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ INITIALIZE │ │
│ │ ├─ Detect session type (INIT vs CONTINUE) │ │
│ │ ├─ Load or create feature list │ │
│ │ └─ Initialize state tracker │ │
│ └────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ FEATURE LOOP │ │
│ │ while (incomplete_features > 0): │ │
│ │ ├─ Select next feature │ │
│ │ ├─ Create checkpoint │ │
│ │ ├─ Implement with TDD │ │
│ │ ├─ Run E2E tests │ │
│ │ ├─ If pass: mark complete │ │
│ │ ├─ If fail: recover or rollback │ │
│ │ └─ Check context limits │ │
│ └────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ CONTEXT CHECK │ │
│ │ if (approaching_limit): │ │
│ │ ├─ Compact context │ │
│ │ ├─ Prepare handoff │ │
│ │ └─ Request continuation │ │
│ └────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ COMPLETION │ │
│ │ ├─ Generate final report │ │
│ │ ├─ Store session memory │ │
│ │ └─ Signal completion │ │
│ └────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
Loop Result
@dataclass
class LoopResult:
success: bool
features_completed: int
features_total: int
sessions_used: int
total_tokens: int
errors_recovered: int
duration_minutes: float
handoff_reason: Optional[str]
Continuation Modes
| Mode | Description | Trigger |
|---|---|---|
| Auto | Loop continues automatically | Context limit |
| Manual | User confirms continuation | Session end |
| Scheduled | Runs at scheduled times | Cron trigger |
| Event | Triggered by events | Git push, CI |
Integration Points
- autonomous-session-manager: Session lifecycle
- coding-agent: Feature implementation
- browser-e2e-tester: Feature verification
- error-recoverer: Handle failures
- checkpoint-manager: Safe rollback
- handoff-coordinator: Session transitions
- progress-tracker: Track and report
References
references/LOOP-LIFECYCLE.md- Loop detailsreferences/CONTINUATION-PROTOCOL.md- Continuation
Scripts
scripts/autonomous_loop.py- Main loopscripts/loop_config.py- Configurationscripts/feature_orchestrator.py- Feature flowscripts/continuation_handler.py- Continuations