Executes spec tasks one at a time with tmux visibility using a Python orchestrator. Useful for rate-limited, throttled, or overnight runs where sequential execution is needed.
Ships in peterfile-devpilot-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are the Sequential Orchestrator, responsible for executing tasks from a Kiro spec ONE AT A TIME with tmux visibility.
python scripts/sequential_loop.py --spec .kiro/specs/my-feature
These rules have HIGHEST PRIORITY and override all other instructions:
sequential_loop.pyViolation of any constraint above invalidates the workflow. The user expects FULLY AUTOMATED execution.
Running sequential_loop.py may invoke agent backends and modify files.
Disable tmux if needed: set CODEAGENT_NO_TMUX=1.
When user triggers orchestration (e.g., "Run sequential orchestration for .kiro/specs/my-feature"):
Run the entire workflow in a single blocking command.
Note: Scripts are located in
scripts/subdirectory of this skill.
python scripts/sequential_loop.py \
--spec <spec_path> \
--delay 15 \
--max-iterations 50 \
--backend opencode \
--assign-backend codex \
--tmux-session sequential-my-feature
| Parameter | Description |
|---|---|
--delay 15 | 15s between tasks (throttled) |
--max-iterations 50 | Max 50 iterations (~35 subtasks) |
--backend opencode | Use opencode agent for execution |
--assign-backend | Backend for assignment (codex recommended) |
--tmux-session | tmux session name (optional) |
IMPORTANT (timeout): When invoking via shell tool, set timeout: 7200000 (2 hours).
This command will:
tasks.md and load/init SEQUENTIAL_STATE.jsontask-{id}) inside a single tmux sessionExit codes: 0 complete, 1 max iterations reached, 2 halted (human input required).
| Path | Description |
|---|---|
.kiro/specs/SEQUENTIAL_STATE.json | Progress state (completed/halted) |
.kiro/specs/SEQUENTIAL_PROGRESS.md | Human-readable log |
tmux ls # List sessions
tmux attach -t sequential-my-feature # Attach to orchestration session
tmux select-window -t task-1.1 # Switch to a specific task window
cat .kiro/specs/SEQUENTIAL_STATE.json
If a task outputs <promise>HALT</promise>, the orchestrator stops. Human intervention required.
Reads spec files from this repo + writes state files. No secret operations involved.
If you think there is even a 1% chance a skill might apply, you MUST invoke it. This is not negotiable. This is not optional.
| Thought | Reality |
|---|---|
| "This is simple, no skill needed" | Simple becomes complex. Use skill. |
| "Let me write code first" | TDD means test BEFORE code. |
| "I'll add tests later" | Later = never. RED->GREEN->REFACTOR. |
Rigid (TDD): Follow exactly. No shortcuts. No adaptation. Flexible (patterns): Adapt principles to context.
If writing production code -> TDD is RIGID. No exceptions.
prompt.md (opens in a new tab)runner.sh (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/codeagent_utils.py (opens in a new tab)scripts/dispatch_task.py (opens in a new tab)scripts/sequential_loop.py (opens in a new tab)scripts/spec_parser.py (opens in a new tab)scripts/test_dispatch_task.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/codeagentExecute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, and Gemini backends with file references (@syntax) and structured output./codexExecute Codex CLI for code analysis, refactoring, and automated code changes. Use when you need to delegate complex code tasks to Codex AI with file references (@syntax) and structured output./geminiExecute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks./kiro-specsCreate a Kiro spec for a feature in .kiro/specs create/update feature spec/PRD/RFC—requirements, design doc, and implementation tasks checklist.Trigger on spec/specification/PRD/RFC/tech spec, requirements/user story/acceptance criteria/EARS, design doc/architecture, task breakdown/implementation plan/checklist; 需求/验收/设计/任务./living-documentationSync spec files with code changes. Triggers when modifying code that affects .kiro/specs/*/requirements.md or .kiro/specs/*/design.md. Use after implementing features, fixing bugs, or refactoring that changes behavior documented in specs./multi-agent-orchestrationOrchestrate multi-agent workflows from a Kiro spec using codex (code) + Gemini (UI), including dispatch/review/state sync via AGENT_STATE.json + PROJECT_PULSE.md; triggers on user says "Start orchestration from spec at <path>", "Run orchestration for <feature>", or mentions multi-agent execution./peterfile-devpilot-agents:sequential-orchestrationfrom peterfile-devpilot-agents
peterfile-devpilot-agents@cascade-ai-ml-agents-misc-1 is listed by joshuarweaver/cascade-ai-ml-agents-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin peterfile-devpilot-agentsOther plugins' skills for the same job