Agent skill · neolabhq

create-workflow-command

Create a workflow command that orchestrates multi-step execution through sub-agents with file-based task prompts

What it needs

About 6k tokens when loaded.

What this skill does

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 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. 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. Component Context Cost Purpose ----------- -------------- --------- Orchestrator command ~50-100 tokens/step Dispatch and coordinate Task file ~500+ tokens Detailed step instructions Sub-agent base ~294 tokens System prompt overhead 2. Sub-Agent Capabilities Sub-agents spawned via Task tool: Capability Available Notes ------------ ----------- ------- Read tool ✅ Yes Can read any file Write tool ✅ Yes If not restricted Grep/Glob ✅ Yes For code search Skills loading ❌ No Skills don't auto-load in sub-agents Spawn sub-agents ❌ No Cannot nest Task tool Resume context ✅ Yes Via resume parameter 3. File Reference Pattern Use ${CLAUDEPLUGINROOT} for portable paths within plugin: Sub-agent will use Read tool to fetch the file content. Implementation Process Step 1: Gather Requirements Ask user (if not provided): 1. Workflow name: kebab-case identifier (e.g., feature-implementation) 2. Description: What the workflow accomplishes 3. Steps: List of discrete steps with: Step name Step goal Required tools Expected output 4. Execution mode: Sequential or parallel steps 5. Agent type: general-purpose or custom agent Step 2: Create Directory Structure Note: All task files (both workflow-specific steps and shared context) are placed directly in tasks/ without subdirectories. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills neolabhq/create-workflow-command--c22d7d

View the source on GitHub

Browse the @skills marketplace