Skip to content
Back to skills

Workflow Run

ASecurity

Execute a stored workflow with step-by-step orchestration

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 26, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add Minns-ai/MinnsDB --skill workflow-run --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflow Run?

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

Security grade badge for Workflow Run
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/minns-ai-workflow-run/badge)](https://www.skillsdirectory.com/skills/minns-ai-workflow-run)

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: workflow-run
description: Execute a stored workflow with step-by-step orchestration
user_invocable: true
---

# /workflow-run — Execute a Stored Workflow

Execute a previously created workflow with step-by-step orchestration, tracking progress through MinnsDB's graph.

## Usage

When the user invokes `/workflow-run <workflow_id>`:

## Execution Loop

1. **Load workflow state**:
   ```bash
   minns workflow status <workflow_id>
   ```
   This shows all steps, their current states, roles, tasks, and dependencies.

2. **Identify ready steps**: Steps whose dependencies are all `completed` and whose own state is `pending` or `ready`.

3. **For each ready step**, transition it to `running`:
   ```bash
   minns workflow step-transition <workflow_id> <step_id> --state running
   ```

4. **Execute the step** based on its role:
   - `code` — Read relevant files, make changes, write code
   - `architect` / `design` — Analyze codebase, produce design decisions
   - `test` — Write tests, run them via Bash
   - `review` — Use the Explore agent to analyze changes
   - `research` — Use the Explore agent for investigation
   - `ops` — Run infrastructure/deployment commands

5. **Report completion**:
   ```bash
   minns workflow step-transition <workflow_id> <step_id> --state completed --result "<summary of what was done>"
   ```
   Or on failure:
   ```bash
   minns workflow step-transition <workflow_id> <step_id> --state failed --result "<what went wrong>"
   ```

6. **Repeat** — check status again and process newly ready steps until all steps are completed or a failure requires intervention.

7. **Capture outcome**:
   ```bash
   minns learn "Workflow completed: <summary>" --category workflow_result --tags workflow
   ```

## Parallel Execution

Steps that are independent (no shared dependencies) can be executed in parallel using subagents:
- Launch an Agent for each ready step
- Wait for all to complete
- Report results

## Error Handling

When a step fails:
1. Report the failure via `step-transition --state failed`
2. Present the error to the user
3. Offer options:
   - **Retry** — transition back to `running` and try again
   - **Skip** — mark as `completed` with a note and continue
   - **Abort** — stop the workflow
   - **Modify** — update the workflow definition and retry

## Examples

```
/workflow-run 42
/workflow-run 1337
```

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.

Comments

Loading comments…

Newsletter

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