xirothedev/claude-workflow-plugin/workflow

Claude Code and agent skill by xirothedev/claude-workflow-plugin

Trust tier 3
  • community
Source check pending

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

Multi-phase agent orchestration system. Bootstraps .claude/workflows/ in any project. Commands: init (bootstrap), run (execute), list (show workflows), create (new from template), plan (build plan). Use when: "init workflows", "run workflow X", "list workflows", "create workflow".

Install

npx vskill@latest install xirothedev/claude-workflow-plugin/workflow

SKILL.md

The same SKILL.md was published earlier as xirothedev/claude-workflow-plugin/workflow.

Workflow Engine

Portable multi-phase agent orchestration. Bootstraps .claude/workflows/ in any project.

Commands

Two kinds. Skill actions (init, run, create) are orchestrated by Claude. CLI subcommands are run via bun run .claude/workflows/cli.ts <subcommand>:

CLI subcommandPurpose
listList discoverable workflows
plan <name> '<args>'Build plan as JSON
show <name> '<args>'Build plan in readable form
validate <name> '<args>'Validate args against args_schema
meta <name>Print workflow metadata
init — Bootstrap workflow system in current project

Run: bun run <skill-dir>/skills/workflow/scripts/init.ts

This generates in the current project:

.claude/workflows/
├── cli.ts # bun run .claude/workflows/cli.ts <command>
├── src/ # Runtime (symlinked to plugin)
│ ├── types.ts
│ ├── runtime.ts
│ └── validator.ts
├── templates/ # Starter workflows (copied, user can customize)
└── README.md

Non-destructive: existing files are NEVER overwritten.

run <workflow> [args] — Execute a workflow
  1. Build plan: bun run .claude/workflows/cli.ts show <name> '<args-json>'
  2. Parse plan output
  3. Execute stage by stage (agents in same stage run in parallel)
  4. Validate each agent output against schema; on failure, retry the agent once with the validation errors fed back
  5. Report results

Adversarial verify — for verified-swarm/survey-round, a Verify phase runs several independent voters per item. Run that item's Fix agent only if the majority rejected it; skip the rest. This catches agents that suppress errors instead of fixing them.

Convergence loop — survey-round is the plan for one round only. The static-plan runtime cannot express a round-loop, so drive it yourself: run the round, read the Survey agent's remaining, and repeat until remaining == 0 or a MAX_ROUNDS cap. The orchestrate skill describes the full loop.

Agent invocation:

Agent({
description: "<label>",
prompt: "<prompt>\n\nIMPORTANT: Return ONLY valid JSON matching this schema:\n<schema>\n\nNo markdown fences, no commentary, only the JSON object.",
})
list — List workflows

bun run .claude/workflows/cli.ts list

plan <workflow> [args] — Build plan without executing
  • Readable: bun run .claude/workflows/cli.ts show <name> '<args-json>'
  • JSON: bun run .claude/workflows/cli.ts plan <name> '<args-json>'
create <name> [template] — Create new workflow from template
  1. Pick template:
  • single-agent — one agent, schema-validated output
  • multi-stage — implement → verify → fix pipeline
  • parallel-swarm — N agents in parallel + aggregate
  • verified-swarm — parallel implement + 3-vote adversarial verify + conditional fix
  • survey-round — one round of a convergence loop (survey → fix → verify)
  1. Copy <skill-dir>/skills/workflow/templates/<template>.workflow.ts to .claude/workflows/<name>.workflow.ts
  2. Rewrite the import: ../src/types.ts → ./src/types.ts (templates live one dir deeper than root workflows)
  3. Prompt user for customization
  4. Write with TODO markers

How to discover <skill-dir>

The skill directory is wherever this plugin is installed. Check:

  1. ~/.claude/plugins/claude-workflow-plugin/skills/workflow/
  2. Or the directory containing this SKILL.md file

Use ${CLAUDE_SKILL_DIR} environment variable if available, or ask the user.

Workflow File Contract

typescript
import type { WorkflowMeta, WorkflowContext } from "./src/types.ts";
export const meta: WorkflowMeta = { name, description, phases, args_schema? };
export function execute(ctx: WorkflowContext): Record<string, unknown> { ... }

Runtime API in ctx:

  • ctx.agent(prompt, { label, phase, schema }) — register agent
  • ctx.pipeline(items, stage) — parallel stage
  • ctx.multiPipeline(items, ...stages) — multi-stage
  • ctx.phase(title) — mark phase
  • ctx.log(msg) — structured log
  • ctx.validate(value, schema) — JSON Schema validation

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/xirothedev/claude-workflow-plugin/workflow/badge)](https://verified-skill.com/skills/xirothedev/claude-workflow-plugin/workflow)

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