edwardzhang/sps-cli/sps-pipeline
Claude Code and agent skill by edwardzhang/sps-cli
- community
Checking that the SKILL.md file is still in the repository.
SPS pipeline & project management — set up projects, configure YAML pipelines, manage task cards, drive worker lifecycle, run web console, monitor health. Use when the user asks to "create a pipeline", "set up a project", "add tasks", "start the pipeline", "open console", "check status", or anything in the SPS workflow. (🪸 Coral SPS)
Install
npx vskill@latest install edwardzhang/sps-cli/sps-pipelineSKILL.md
The same SKILL.md was published earlier as edwardzhang/sps-cli/sps-pipeline.
SPS Pipeline (v0.51.x — Single-Worker Card Pipeline + Web Console + Wiki)
SPS drives an AI worker through task cards. One worker, one card at a time, serial execution. Each card walks one or more YAML-defined stages (e.g. develop → review → Done); failure halts until the user resolves it. v0.50 added a 4-layer service architecture; v0.51 added per-project Wiki knowledge base injection.
Two ways to operate
| Mode | Command | Use when | |
|---|---|---|---|
| Web Console (preferred) | sps console | Daily work — kanban, logs, worker dashboard, project create, conf editor, pipeline editor, chat with agent, all in one UI | |
| CLI | sps tick / card / worker / wiki / … | Scripting, troubleshooting, headless servers |
Console listens on 127.0.0.1:4311 by default; opens browser auto. Single-instance guard via ~/.coral/console.lock.
1. First-time setup
sps setup does:
- Creates
~/.coral/directory tree (projects/,memory/user/,memory/agents/). - Copies bundled skills →
~/.coral/skills/. - Interactively writes
~/.coral/env(Git remote token, Matrix credentials, etc.). - Symlinks user skills →
~/.coral/.claude/skills/and~/.claude/skills/. - Installs
@agentclientprotocol/claude-agent-acpglobally if missing.
Re-run safe: sps setup --force keeps existing values as defaults.
No separate console config. Console reads ~/.coral/env + per-project conf.
2. Create a project
Option A — Console (recommended)
Open sps console → /projects/new → fill form → submit. Form provides:
- Project name + repo path
- Git toggle (worker commits + pushes? off for non-code projects)
- Wiki toggle (v0.51+): scaffolds
wiki/+ writesWIKI_ENABLED=trueto conf - Merge branch, max workers, ACK timeout, Matrix room
Option B — Interactive CLI
What gets created
Plus, in the target repo (PROJECT_DIR):
.claude/CLAUDE.md— worker rules + (if wiki=on) wiki SOP block.claude/skills/— symlinked from~/.coral/skills/.claude/settings.local.json— Claude Code local configwiki/(if wiki=on) — knowledge base scaffoldATTRIBUTION.md(if wiki=on) — borrows declaration
3. Pipeline YAML
Location: ~/.coral/projects/<name>/pipelines/project.yaml
Single source of truth for stages, profiles, transitions. Edit this file (or in console at /projects/<name> pipeline editor) to customize.
Critical YAML rules
- `mode: project` — orchestrate cards through states. (
mode: stepsis for
one-shot custom pipelines via sps pipeline run <name>.)
- `on_complete` of each stage points to the next stage's target state. No
skipping, no looping.
- Last stage's `on_complete: "move_card Done"`.
- Don't write `agent:` field — it's accepted for back-compat but ignored.
Claude (via ACP) is the only supported worker as of v0.38.0.
- Single worker, serial execution — set
MAX_CONCURRENT_WORKERSin conf if
you want >1 slot reserved, but cards still run one at a time.
- Failure halts pipeline by default (
on_fail.halt: true). Worker labels card
NEEDS-FIX; user must resolve before next card runs.
Templates
Simple (1 stage):
With review (2 stages):
Non-git (data / docs project):
YAML field reference
| Field | Required | Notes | |
|---|---|---|---|
mode | yes | project (state machine) or steps (one-shot, run via sps pipeline run) | |
git | no | true (default) — worker commits + pushes / false — no git ops | |
stages | yes | Array | |
stages[].name | yes | Unique within file | |
stages[].profile | no | Skill profile (e.g. fullstack / reviewer / tax-worker); falls back to DEFAULT_WORKER_SKILLS in conf | |
stages[].on_complete | yes | "move_card <NextState>" | |
stages[].on_fail.action | no | "label NEEDS-FIX" etc. | |
stages[].on_fail.halt | no | default true | |
stages[].on_fail.comment | no | Comment text | |
stages[].timeout | no | 30s / 5m / 2h (rare) |
trigger and card_state are auto-derived per stage from the position. Don't set manually.
Custom pipelines (mode: steps)
For one-shot scripted runs (e.g. canary deploy, bulk ingest), use mode: steps and invoke via sps pipeline run <pipeline-name> "<prompt>". Out of scope for normal card pipelines; see sample.yaml.example for syntax.
4. Card state machine
Default states (configurable in YAML pm.card_states):
- Planning — v0.51.10+: manual staging / draft. The console "New card" form defaults here; the user drags to Backlog to run.
- Backlog — `sps card add` (CLI / agent) defaults here; StageEngine claims and runs the card.
- Todo — StageEngine has prepped (branch / worktree); the next tick dispatches a worker.
- Inprogress — worker active
- QA (or Review) — code complete, awaiting human/auto verification
- Done — finished
- Canceled — folded into Done view (rare state)
Engines walk this graph each tick. The active stage writes a per-slot marker file at ~/.coral/projects/<p>/runtime/worker-<slot>-current.json (v0.50.21+). Stop hook reads this to detect which card the worker just finished.
5. Card management
Where new cards land — depends on caller (v0.51.10+)
| Caller | Default entry state | Behavior | |
|---|---|---|---|
| `sps card add` (CLI / Worker / agent) | Backlog | StageEngine claims it on the next tick and runs | |
| Console "New card" form | Planning | Staged; runs only when the user drags it to Backlog on the board | |
| `POST /api/projects/<p>/cards` (direct API call) | Planning | Defaults to the manual semantics; pass initialState: 'Backlog' in the body to run immediately |
Agent calls `sps card add` → card lands in Backlog → runs automatically. This is the main SPS path. When a Worker inside one card needs to "spawn a sub-task," it calls sps card add — the sub-task is auto-picked up on the next tick.
View
Lifecycle (machine-managed, but you can intervene)
Note: sps reset returns the card to Planning (not Backlog) — reset = back to manual control; you must drag to Backlog again to re-run. This semantic applies since v0.51.9.
Card label vocabulary
| Label | Meaning | Who sets | |
|---|---|---|---|
AI-PIPELINE | Marker for "SPS pipeline cards" (since v0.51.9+ no auto behavior is triggered — purely identification) | Auto-added by sps card add | |
STARTED-<stage> | ACK signal — Claude received the prompt | UserPromptSubmit hook | |
COMPLETED-<stage> | Worker finished a stage | Stop hook | |
CLAIMED | StageEngine reserved a worker slot | Engine | |
NEEDS-FIX | Worker failed; pipeline halted | Engine | |
BLOCKED | External dep; pipeline skips | User | |
WAITING-CONFIRMATION | Worker waiting on user input | Engine | |
STALE-RUNTIME | Inprogress > timeout | MonitorEngine | |
ACK-TIMEOUT | Claude never ACK'd within WORKER_ACK_TIMEOUT_S | MonitorEngine | |
skill:<name> | Force-load specific skill | User on card | |
conflict:<domain> | Serial-with-others-in-same-domain | User |
6. Pipeline lifecycle commands
Worker control
Logs
7. Web Console (sps console)
Single binary launches the web UI:
This is the start of the file. Read the full SKILL.md on GitHub.
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
- SKILL.md in the repositoryCheckingskills/sps-pipeline/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/edwardzhang/sps-cli/sps-pipeline)