Skip to content
neolabhq avatar

Create Workflow Command

Scaffold multi-step workflow commands that dispatch sub-agents to file-based task prompts, keeping orchestrator context lean.

CCM score
58 of 100
skills.sh installs
1.2K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating an orchestrator command plus per-step task files for sequential, parallel, and resumed multi-agent execution
  • Includes directory layout under commands/, agents/, and tasks/, with frontmatter options for model and allowed-tools
  • Enforces lean orchestrators of roughly 50 to 100 tokens per step, with detailed instructions kept in separate task files
  • Designed for plugin authors who need multi-phase workflows such as research, architecture, and implementation

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill create-workflow-command -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Create Workflow Command

Create a command that orchestrates multi-step workflows by dispatching sub-agents with task-specific instructions stored in separate files.

User Input

Workflow Name: $1
Description: $2

Architecture Overview

Workflow commands solve the context bloat problem: instead of embedding detailed step instructions in the main command (polluting orchestrator context), store them in separate task files that sub-agents read on-demand.

plugins/<plugin-name>/
├── commands/
│   └── <workflow>.md          # Lean orchestrator (~50-100 tokens per step)
├── agents/                     # Optional: reusable executor agents
│   └── step-executor.md       # Custom agent with specific tools/behavior
└── tasks/                      # All task instructions directly here
    ├── step-1-<name>.md       # Full instructions (~500+ tokens each)
    ├── step-2-<name>.md
    ├── step-3-<name>.md
    └── common-context.md      # Shared context across workflows

Key Principles

1. Context Isolation

Each sub-agent gets its own isolated context window. The main orchestrator stays lean while sub-agents load detailed instructions from files.

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
Skill & Plugin Building, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the create-workflow-command skill do?

The create-workflow-command skill helps you build a workflow command that orchestrates multi-step execution through sub-agents. It stores detailed step instructions in separate task files, so the main orchestrator context stays lean while each sub-agent reads its own instructions on demand.

How do I install the create-workflow-command skill?

Run npx -y skills add neolabhq/context-engineering-kit --skill create-workflow-command -y in your project. After that, create-workflow-command lets your agent scaffold task files and an orchestrator command for a new workflow.

Which sub-agent capabilities does create-workflow-command account for?

The create-workflow-command skill notes that sub-agents spawned via the Task tool can read and write files and use Grep and Glob, but they do not load skills automatically and cannot spawn further sub-agents. Its task file pattern is designed around these limits.

Which execution patterns does create-workflow-command support?

The create-workflow-command skill covers sequential steps, parallel independent steps, and stateful multi-step runs that resume an earlier agent by its agent id. It shows how an orchestrator command should chain or fan out these sub-agent steps.

More from neolabhq/context-engineering-kit

All 62

Similar to Create Workflow Command

More Skill & Plugin Building