troykelly/claude-skills/autonomous-orchestration
Claude Code and agent skill by troykelly/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when user requests autonomous operation across multiple issues. Orchestrates parallel workers using Task tool, monitors with TaskOutput, handles SLEEP/WAKE cycles, and works until scope is complete without user intervention.
Install
npx vskill@latest install troykelly/claude-skills/autonomous-orchestrationSKILL.md
Autonomous Orchestration
Overview
Orchestrates long-running autonomous work across multiple issues using the Task tool to spawn parallel worker agents and TaskOutput to monitor their progress.
Core principle: GitHub is the source of truth. Workers are disposable. State survives restarts.
Announce at start: "I'm using autonomous-orchestration to work through [SCOPE]. Starting autonomous operation now."
Prerequisites
worker-dispatchskill for spawning workers with Task toolworker-protocolskill for worker behaviorci-monitoringskill for CI/WAKE handling- GitHub CLI (
gh) authenticated - GitHub Project Board configured
Parallel Execution Model
Workers are spawned as background agents using the Task tool:
Monitor progress with TaskOutput:
CRITICAL: Spawn all workers in the SAME message for true concurrent execution.
State Management
CRITICAL: All persistent state is stored in GitHub. Task IDs are ephemeral session state.
| State Store | Purpose | Used For | |
|---|---|---|---|
| Project Board Status | THE source of truth | Ready, In Progress, In Review, Blocked, Done | |
| Issue Comments | Activity log | Worker assignment, progress, deviations | |
| Labels | Lineage only | spawned-from:#N, depth:N, epic-* | |
| MCP Memory | Active marker + task tracking | Active orchestration detection, active task_ids | |
| Orchestrator memory | Ephemeral session state | Map of issue# → task_id for monitoring |
See: reference/state-management.md for detailed state queries and updates.
Context Compaction Survival
CRITICAL: Orchestration must survive mid-loop context compaction.
On Start: Write Active Marker
On Each Loop Iteration: Update Marker
On Complete: Remove Marker
On Session Resume (After Compaction)
Session-start skill checks for active orchestration:
This ensures: Even if context compacts mid-loop, the next session will detect the active orchestration and resume it.
Immediate Start (User Consent Implied)
The user's request for autonomous operation IS their consent. No additional confirmation required.
When the user requests autonomous work:
- Identify scope - Parse user request for milestone, epic, specific issues, or "all"
- Announce intent - Briefly state what you're about to do
- Start immediately - Begin orchestration without waiting for additional input
Do NOT ask for "PROCEED" or any confirmation. The user asked for autonomous operation - that is the confirmation.
Automatic Scope Detection
When the user requests autonomous operation without specifying a scope:
Priority Order
- User-specified scope - If user mentions specific issues, epics, or milestones
- Urgent/High Priority standalone issues - Issues with
priority:urgentorpriority:highlabels not part of an epic - Epic-based sequential work - Work through epics in order, completing all issues within each epic
- Remaining standalone issues - Any issues not part of an epic
Continuous Operation Until Complete
Autonomous operation continues until ALL of:
- No open issues remain in scope
- No open PRs awaiting merge
- No issues in "In Progress" or "In Review" status
The operation does NOT pause for:
- Progress updates
- Confirmation between issues
- Switching between epics
- Any user input (unless blocked by a fatal error)
PR Resolution Bootstrap Phase
CRITICAL: Before spawning ANY new workers, resolve all existing open PRs first.
Bootstrap Flow: Get open PRs (exclude release/*, release-placeholder, do-not-merge) → For each: Check CI → Verify review → Merge if ready → Then start main loop
Bootstrap Implementation
Release Placeholder Detection
PRs are excluded from bootstrap resolution if:
| Condition | Example | |
|---|---|---|
Branch starts with release/ | release/v2.0.0, release/2025-01 | |
Has release-placeholder label | Manual exclusion | |
Has do-not-merge label | Explicit hold |
Orchestration Loop
Main Loop Flow: Monitor workers (TaskOutput) + Check CI/PRs + Spawn workers (Task) → Evaluate state (complete/sleep/continue)
Loop Steps
- Monitor Active Workers - Use
TaskOutput(block: false)for each active task_id - Handle Completed Workers - Check GitHub for PR/completion status
- Check CI/PRs - Monitor for merge readiness, verify review artifacts
- MERGE GREEN PRs - Any PR with passing CI is merged IMMEDIATELY
- Spawn Workers - Up to 5 parallel workers using
Task(run_in_background: true) - Evaluate State - Determine next action (continue, sleep, complete)
- Brief Pause - 30 second interval between iterations
Worker Monitoring with TaskOutput
Each loop iteration checks all active workers:
Spawning Parallel Workers
Spawn multiple workers in ONE message for concurrent execution:
CRITICAL: Merge Green PRs Immediately
Every loop iteration must check for and merge passing PRs:
Do NOT:
- Report "PRs are ready for merge" and stop
- Wait for user to request merge
- Summarize completed work and ask for next steps
The loop continues until scope is complete. Green PR = immediate merge.
Scope Types
Milestone
Epic
Unbounded (All Open Issues)
Do NOT ask for "UNBOUNDED" confirmation. The user's request is their consent.
Failure Handling
Workers that fail do NOT immediately become blocked:
Only after 3+ research cycles is an issue marked as blocked.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/autonomous-orchestration/SKILL.md
Popularity
- Repository stars
- 6
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/troykelly/claude-skills/autonomous-orchestration)