From runex
Submit Runex workflows via REST API, author/validate TOML/YAML bundles, inspect run statuses/step logs, and debug executions.
npx claudepluginhub vinnie357/claude-skills --plugin runexThis skill uses the workspace's default tool permissions.
Runex is a single-binary Elixir workflow orchestrator. It parses TOML (primary) and YAML workflow definitions, builds a DAG of steps, and executes them via pluggable drivers (shell, mise, nushell). It runs in standalone mode (SQLite) or peered mode (Postgres).
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Runex is a single-binary Elixir workflow orchestrator. It parses TOML (primary) and YAML workflow definitions, builds a DAG of steps, and executes them via pluggable drivers (shell, mise, nushell). It runs in standalone mode (SQLite) or peered mode (Postgres).
Activate when:
RUNEX_WORKFLOW_PATH, RUNEX_WORKFLOWS_DIR)mise tasks to discover repo-level helpers that wrap Runex operationsThis skill provides versioned Nushell scripts for direct API interaction. Scripts are in scripts/0.1.0/.
Main Runex API client. All commands return structured data (tables/records).
# Health check
nu scripts/0.1.0/runex.nu health
# List recent runs
nu scripts/0.1.0/runex.nu runs
# Show run detail with step runs
nu scripts/0.1.0/runex.nu run 42
# Submit a workflow
nu scripts/0.1.0/runex.nu submit "bundles/core/workflows/tool-verify.toml"
# Submit with params
nu scripts/0.1.0/runex.nu submit "bundles/core/workflows/tool-verify.toml" --params '{"TOOLS":"mise,nu,git"}'
# List step runs for a run
nu scripts/0.1.0/runex.nu steps 42
# List workflows
nu scripts/0.1.0/runex.nu workflows
# Show workflow detail with steps
nu scripts/0.1.0/runex.nu workflow 1
Discover and inspect workflow bundles on the filesystem.
# List bundles in default search paths
nu scripts/0.1.0/bundles.nu list
# List bundles in a specific directory
nu scripts/0.1.0/bundles.nu list ~/github/runex-workflows/bundles
# Show bundle details (name, params, steps, sub-workflows)
nu scripts/0.1.0/bundles.nu show bundles/core
# Validate bundle structure
nu scripts/0.1.0/bundles.nu validate bundles/core
Inspect run execution, step output, and failures.
# Show step statuses and timing
nu scripts/0.1.0/debug.nu steps 42
# Show full output for a specific step
nu scripts/0.1.0/debug.nu log 42 7
# Show only failed steps with error output
nu scripts/0.1.0/debug.nu failures 42
# Watch a run until completion (polls every 2 seconds)
nu scripts/0.1.0/debug.nu watch 42
# Watch with custom interval
nu scripts/0.1.0/debug.nu watch 42 --interval 5
Scripts read configuration from environment variables:
| Variable | Purpose | Default |
|---|---|---|
RUNEX_HOST | Base URL for API requests | http://localhost:4001 |
RUNEX_API_TOKEN | Bearer token for API auth | unset (open) |
RUNEX_WORKFLOW_PATH | Colon-separated extra workflow search dirs | unset |
RUNEX_WORKFLOWS_DIR | Project workflows directory | ./workflows |
RUNEX_DATABASE_URL | Postgres URL for peered mode | unset (SQLite) |
RUNEX_REGION | Region identifier | unset |
RUNEX_DATACENTER | Datacenter identifier | unset |
PORT / RUNEX_PORT | HTTP listen port | 4001 |
Runex resolves workflow_path values through an ordered search:
RUNEX_WORKFLOW_PATH env var (colon-separated directories)RUNEX_WORKFLOWS_DIR env var (defaults to ./workflows relative to Runex cwd)priv/workflows/)~/Library/Application Support/Runex/workflows/ (macOS) or ~/.local/share/runex/workflows/ (Linux)./bundles/*/ directories containing .toml/.yaml filesAccepts absolute paths, filenames with extension, or bare names (tries .toml, .yaml, .yml in order).
A bundle is a self-contained directory with workflows, scripts, and tool dependencies:
bundle-name/
workflow.toml # Root dispatcher workflow (routes ACTION param)
mise.toml # Tool dependencies for the bundle
workflows/ # Sub-workflows (invocable directly)
action-one.toml
action-two.toml
scripts/ # Nushell/shell scripts called by steps
do-thing.nu
another.sh
Bundle names are globally unique. Workflow names are unique within their containing directory. Use bundles.nu show and bundles.nu validate to inspect and verify bundle structure.
Scripts are versioned under scripts/<version>/. To check the current version:
ls scripts/ | get name
Run mise tasks in any repo to discover available helpers. Repos using Runex typically define mise tasks that wrap API calls:
mise tasks # List available tasks
mise run dev # Start dev server (live-reload)
mise run ci # Run full CI suite
For detailed information, see: