Skills

Run Workflow

Orchestrate parallel subagent pipelines from a JavaScript workflow script.

Install

npx skills add ginlix-ai/LangAlpha --skill run-workflow -g -a claude-code -y
Repository
ginlix-ai/LangAlpha2.2k
Category
AI and agents
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 1,608 tokens
Runs scripts
No, instructions only

What it does

Orchestrate parallel subagent pipelines from a JavaScript workflow script. Fan out work across many items (tickers, filings, findings) then synthesize, or run a saved workflow by name. Unlocks the RunWorkflow tool.

Programmatic Workflows (RunWorkflow)

Use RunWorkflow when a deterministic pipeline should orchestrate multiple subagents, fan-out research then synthesize, classify then act per item, generate then verify. Prefer it over issuing many Task calls yourself when the dispatches are data-driven (one per ticker, per filing, per finding). Do NOT use it for a single subagent (use Task) or for code that dispatches nothing (use ExecuteCode).

The script

You write JavaScript (ES2020). It executes server-side: the script itself cannot touch the workspace filesystem, the subagents it dispatches can. The script must declare a pure object literal first:

export const meta = { name: 'ticker-briefs', description: 'Fan out research, synthesize' }

name (letters, digits, -, _) and description are required; no variables or function calls inside the literal. The rest of the body is free-form async JS, top-level await and return both work, and the return value (JSON-serializable) becomes the run result. Return a synthesis rather than the raw children: a large result is clipped for display, and a clipped object is unparseable.

Built-ins

Read the whole SKILL.md on GitHub

More in AI and agents