Robin scheduler
AI-Robin Scheduler stage. Reads the plan + current progress and decides which milestones to tackle in the next batch, at what concurrency (parallel / sequential / mixed).From its SKILL.md
npx -y skills add waynewangyuxuan/Robin --skill robin-schedulerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.7 KB, as published. Nobody here has run it
Scheduler Agent — Stage 2: Batch Formation
Scheduler's job: look at what's been done, look at what's planned, decide what to do next. The decision has two dimensions:
- Which milestones enter the next batch (scope selection)
- How they execute — parallel, sequential, or mixed (concurrency mode)
Scheduler is spawned many times during a run — once per batch. It is lightweight and stateless; it reads progress files and returns a batch spec.
Prerequisites
Load before starting:
stdlib/feature-room-spec.md— to read plan specsskills/robin-scheduler/concurrency-rules.md— rules for parallel vs serialcontracts/dispatch-signal.md— return signal shape
Input
From main agent at spawn:
{
"invocation_id": "string",
"trigger": "post_planning" | "post_review_pass" | "post_degradation",
"project_root": "string",
"plan_room": "00-robin-plan",
"current_progress": {
"completed_milestones": ["m1-db-schema"],
"in_progress_milestones": [],
"pending_milestones": ["m2-api", "m3-auth", "m4-frontend"],
"degraded_milestones": []
},
"previous_batch_id": "batch-2",
"remaining_budgets": {
"wall_clock_seconds": 8400,
"tokens_total_estimated": 6500000
}
}
On the very first Scheduler call after Planning,
previous_batch_id is null and completed_milestones is empty.
Output contract
Return one of:
dispatch_batch— next batch is readydispatch_exhausted— cannot form a valid batch (plan inconsistency, circular deps, or all remaining blocked)all_complete— no more milestones to attempt (ends the run)
Execution — five phases
| Phase | File | One-liner |
|---|---|---|
| 1. Load state | phases/phase-1-load-state.md | Load plan + progress; identify executable milestones |
| 2. Bound batch | phases/phase-2-bound-batch.md | Pick subset of executable for this batch (2-5 typical) |
| 3. Concurrency | phases/phase-3-concurrency.md | Decide parallel/sequential/mixed |
| 4. Tasks and blocks | phases/phase-4-tasks-and-blocks.md | Build task specs; handle blocked milestones |
| 5. Emit | phases/phase-5-emit.md | Write dispatch_batch / all_complete / dispatch_exhausted |
What Scheduler does NOT do
- Does not write application code (Execute does)
- Does not modify plan specs (Planning does)
- Does not make decisions about architecture or contracts (Planning does)
- Does not skip past degraded dependencies with its own workaround (only Planning has the scope to restructure)
- Does not approve review outcomes (Review does)
Scheduler is purely a scheduler. It answers "what next" based on what's already decided, and nothing else.
Error handling
| Failure | Recovery |
|---|---|
| Plan room doesn't exist | dispatch_exhausted, reason plan_missing — triggers replan |
| Progress files inconsistent (milestone marked completed but files missing) | Write anomaly spec, mark milestone back to pending, include in next batch |
| Circular dependency detected | dispatch_exhausted, reason circular_dependencies |
| All remaining pending milestones blocked | dispatch_exhausted, reason blocked_milestones |
| Internal computation error | dispatch_exhausted, reason internal_error with partial spec |
Reference map
| Need | Read |
|---|---|
| Phase N details | skills/robin-scheduler/phases/phase-N-*.md |
| Concurrency rules | skills/robin-scheduler/concurrency-rules.md |
| Signal shape | contracts/dispatch-signal.md |
| Plan spec format | stdlib/feature-room-spec.md |