luum-home/luum-cognitive-os/batch-runner

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Execute multiple SDD changes sequentially with timing, reporting, and

Install

npx vskill@latest install luum-home/luum-cognitive-os/batch-runner

SKILL.md

Batch Runner

Run multiple SDD changes through the pipeline sequentially. Supports all SDD phases (explore, propose, spec, design, tasks, apply, verify, archive), with per-change timing, JSON reports for CI/CD, and resume commands for failures.

Usage

From CLI
bash
# Fast-forward multiple changes through all SDD phases
python lib/batch_runner.py add-auth refactor-payments --fast-forward
# Run a single phase across multiple changes
python lib/batch_runner.py add-auth refactor-payments --phase propose
# Use a YAML batch file
python lib/batch_runner.py --batch batch.yaml --fast-forward
# Dry run to preview execution plan
python lib/batch_runner.py --batch batch.yaml --fast-forward --dry-run
# Continue on failure + JSON report for CI/CD
python lib/batch_runner.py --batch batch.yaml --fast-forward \
--continue-on-failure --json-report reports/batch-result.json
# Override model and timeout
python lib/batch_runner.py add-auth --fast-forward --model sonnet --timeout 900
Batch YAML Format

Create a batch.yaml file:

yaml
changes:
- name: add-auth
phases: [propose, spec, design] # optional per-change phase override
- name: refactor-payments # uses global --phase or --fast-forward
- name: fix-cache-bug
phases: [apply, verify]

Options

FlagDescription
--fast-forwardRun all 8 SDD phases in sequence (explore through archive)
--phase <phase>Run a single phase for all changes
--batch <file>Read change list from YAML file
--continue-on-failureContinue to next change if one fails
--dry-runPreview execution plan without running
--json-report <path>Write JSON report for CI/CD integration
--project-dir <dir>Project directory (default: .)
--timeout <seconds>Timeout per phase in seconds (default: 600)
--model <model>Override Claude model (e.g., sonnet, opus)
--verboseEnable verbose logging

Phase Priority

When determining which phases to run for a change:

  1. Per-change phases (from YAML phases field) -- highest priority
  2. `--phase` flag -- single phase for all changes
  3. `--fast-forward` flag -- all phases
  4. Default -- all phases if neither --phase nor --fast-forward given

Output

Console Summary

After execution, a summary table shows:

  • Per-change status (OK/FAIL), timing, and failed phase
  • Resume commands for failed changes
  • Total duration and success/failure counts
JSON Report

With --json-report, produces a structured report:

json
{
"summary": {
"total_changes": 3,
"succeeded": 2,
"failed": 1,
"total_seconds": 1234.56,
"phases_mode": "fast-forward (all phases)"
},
"changes": [...],
"failed_changes": [
{
"name": "fix-cache-bug",
"failed_phase": "verify",
"resume_command": "python lib/batch_runner.py fix-cache-bug --phase verify"
}
]
}

Architecture

The batch runner uses ClaudeExecutor from lib/claude_executor.py to invoke each SDD phase via the claude CLI. Each phase runs as a subprocess with configurable timeout.

batch_runner.py
-> ClaudeExecutor.run_phase(phase, change_name)
-> claude --print --dangerously-skip-permissions "<sdd prompt>"
Warning: The --dangerously-skip-permissions flag is for development/testing ONLY.
Using it in production bypasses Claude Code's safety permissions.
Never use in production without explicit human approval.

Integration with CI/CD

  1. Use --json-report to produce machine-readable output
  2. Use --continue-on-failure to process all changes even if some fail
  3. Check exit code: 0 = all succeeded, 1 = at least one failure
  4. Parse failed_changes array in the JSON report for retry logic

Dependencies

  • Python 3.9+
  • claude CLI installed and on PATH
  • pyyaml (only required when using --batch)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/luum-home/luum-cognitive-os/batch-runner/badge)](https://verified-skill.com/skills/luum-home/luum-cognitive-os/batch-runner)

Something wrong with this skill or its page? Tell us.