Skip to content
Skillpedia
Agents5.4k · #14959

workflows

What it does

This skill creates and runs DevSpace workflow scripts that combine several subagent calls in phases, in parallel or in a pipeline. It is for teams who repeat the same multi-step agent plan.

When to use it

  • ✓When a task has a repeatable plan with several agents working in phases.
  • ✓When you want a plan that loops until tests pass or a review is approved.
  • ✓When you need to run the same multi-agent review on many items.

Skill link

https://github.com/Waishnav/devspace/blob/main/skills/workflows/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Waishnav/devspace/blob/main/skills/workflows/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you write a DevSpace workflow that plans a change, has a critic review it, and loops until the review is approved?”

5 new skills a week. 1 minute to read.

How it works

The agent writes a workflow script using the allowed primitives, then runs it and waits for the result. Workflows are read-only by default, so write access must be turned on for changes to the project.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

DevSpace workflows

Use a workflow when a task has a repeatable multi-agent plan. Keep one-off delegation on the subagents commands.

Named workflows live in the current project's .devspace/workflows/ directory.

Write a workflow

Before writing or editing a workflow script, read reference.md next to this file. It defines the only syntax and primitives the sandbox accepts (agent, phase, parallel, pipeline, workflow, log, args), the meta rules, agent options, structured output schemas, and limits. Do not guess the API.

Then read patterns.md for proven engineering loops to adapt: plan with a critic, implement-review-fix until approved, a QA gate that loops until tests pass, explore-then-synthesize, multi-lens review with verified findings, bake-offs between agents, mapping one change over many units, debugging with competing hypotheses, and composing them.

Run a workflow

Run a named workflow or a specific file:

devspace workflow run --name <name> [--args '<json>']
devspace workflow run --file <path> [--args-file <path>]

The command returns a compact <workflow id="..." status="..."/> receipt. Keep the ID. Workflow code is read-only by default; add --write-mode allowed only when the workflow must modify the project.

Wait up to 60 seconds at a time. Repeat wait if the returned status is still running; do not poll status in a loop.

devspace workflow wait <id> --timeout 60

Inspect current state, calls, or one full call when needed:

devspace workflow status <id>
devspace workflow calls <id>
devspace workflow call <id> <index>
devspace workflow events <id> --after <last-sequence>
devspace workflow ls

events returns at most 100 persisted log and phase entries. Keep the highest sequence and pass it with --after for the next page.

Cancel only when the parent task no longer needs the run:

devspace workflow cancel <id>

Resume an interrupted or failed run from its durable call history. Resume reuses the original arguments and write mode:

devspace workflow run --resume <id>

Use --json only for scripts that need structured output.

FAQ

Can a workflow change my project?

Only if you allow it. The skill says workflow code is read-only by default and needs a write mode flag to modify the project.

Where are workflows saved?

Named workflows are saved in the project's workflows folder.

Are there patterns to start from?

Yes. The skill includes proven patterns such as planning with a critic and implement-review-fix loops.

Details

Original description by the author

Write, run, and inspect persisted multi-agent DevSpace workflows, JavaScript scripts that compose subagent calls with agent, phase, parallel, and pipeline.

repo: Waishnav/devspace

Popularity

GitHub stars
5.4k
Ranking position
#14959
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills