Skip to content
Back to skills

Workflows

ASecurity

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

  • 5,418 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsjavascriptjavabashdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add Waishnav/devspace --skill workflows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflows?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workflows
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/waishnav-workflows/badge)](https://www.skillsdirectory.com/skills/waishnav-workflows)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workflows
description: Write, run, and inspect persisted multi-agent DevSpace workflows, JavaScript scripts that compose subagent calls with agent, phase, parallel, and pipeline.
---

# 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:

```bash
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.

```bash
devspace workflow wait <id> --timeout 60
```

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

```bash
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:

```bash
devspace workflow cancel <id>
```

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

```bash
devspace workflow run --resume <id>
```

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

Files in this skill

  • SKILL.md2.3 KB
  • patterns.md14.1 KB
  • reference.md7.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.