runex
Runex workflow engine: submit workflows via REST API, author TOML bundles, inspect step logs, and debug runs. Use when interacting with Runex API endpoints, creating or modifying workflow bundles, submitting workflow runs, reading step output, or configuring workflow path resolution.
What this skill does
# Runex Workflow Engine 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, runex, wasm, container, flame, workflow`). It runs in standalone mode (SQLite, default — no configuration required) or federated mode (Postgres + libcluster) for multi-node deployments. Current documented version: **0.0.7** (`mix.exs @version`). Legacy templates for older deployments remain under `templates/0.1.0/` and `scripts/0.1.0/`. ## When to Use This Skill Activate when: - Submitting workflows via the Runex REST API - Authoring or modifying TOML/YAML workflow files - Creating or updating workflow bundles - Inspecting run status or step logs for debugging - Configuring workflow path resolution (`RUNEX_WORKFLOW_PATH`, `RUNEX_WORKFLOWS_DIR`) or bundle search (`RUNEX_BUNDLE_DIRS`) - Calling the step heartbeat endpoint from long-running steps - Working with federation endpoints (multi-node Postgres deployments) ## Install Mise is the recommended install path. It manages the version, pins reproducibly, and uses the GitHub releases backend. A ready-to-copy pin lives at `templates/0.0.7/mise.toml` in this skill — copy it into the target repo's `mise.toml` (or merge under `[tools]`) and run `mise install`. **Global pin (one-time, any project):** ```sh mise use -g github:vinnie357/[email protected] ``` **Per-project pin (recommended for repos that run Runex):** ```sh cp templates/0.0.7/mise.toml <your-repo>/mise.toml # then: cd <your-repo> && mise install ``` The template's contents: ```toml [tools] "github:vinnie357/runex" = "0.0.7" ``` ## Scripts This skill provides versioned Nushell scripts for direct API interaction. Current scripts are in `scripts/0.0.7/`. ### runex.nu — API Client ```bash # Server info, health, readiness nu scripts/0.0.7/runex.nu info nu scripts/0.0.7/runex.nu health # Workflows and runs nu scripts/0.0.7/runex.nu workflows nu scripts/0.0.7/runex.nu workflow 1 nu scripts/0.0.7/runex.nu runs nu scripts/0.0.7/runex.nu run 42 nu scripts/0.0.7/runex.nu steps 42 nu scripts/0.0.7/runex.nu submit "bundles/core/workflows/tool-verify.toml" '{"TOOLS":"mise,nu,git"}' # Step heartbeat (extends long-running step deadlines) nu scripts/0.0.7/runex.nu heartbeat 42 7 nu scripts/0.0.7/runex.nu heartbeat 42 7 60000 # extend by 60s # Federation (requires Postgres + libcluster) nu scripts/0.0.7/runex.nu federation-nodes nu scripts/0.0.7/runex.nu federation-runs nu scripts/0.0.7/runex.nu federation-run 99 ``` ### bundles.nu — Bundle Discovery + Distribution ```bash # Local bundle filesystem operations nu scripts/0.0.7/bundles.nu list nu scripts/0.0.7/bundles.nu show bundles/core nu scripts/0.0.7/bundles.nu validate bundles/core nu scripts/0.0.7/bundles.nu pack bundles/core # Server-side bundle catalog nu scripts/0.0.7/bundles.nu bundles # GET /api/bundles nu scripts/0.0.7/bundles.nu reload # POST /api/bundles/reload nu scripts/0.0.7/bundles.nu import core.tar.gz # multipart upload nu scripts/0.0.7/bundles.nu pull core 0.0.1 # JSON pull via BUNDLE_SOURCES ``` ### debug.nu — Step Log Inspection ```bash nu scripts/0.0.7/debug.nu steps 42 nu scripts/0.0.7/debug.nu log 42 7 nu scripts/0.0.7/debug.nu failures 42 nu scripts/0.0.7/debug.nu watch 42 --interval 5 nu scripts/0.0.7/debug.nu heartbeat-status 42 7 # last heartbeat ts + timeout state ``` ## Configuration Scripts and Runex itself read configuration from environment variables. Defaults below are the application defaults from `config/runtime.exs`; operator deployments often override. | Variable | Purpose | Default | |----------|---------|---------| | `RUNEX_HOST` | Base URL for scripts' API requests | `http://localhost:4000` | | `RUNEX_API_TOKEN` | Bearer token for API auth | unset (open) | | `PORT` / `RUNEX_PORT` | HTTP listen port | `4000` (operators often run on `4001` to coexist with VantageEx on `4000`) | | `BIND_ADDRESS` | Listen address | IPv4 all (`{0,0,0,0}`) | | `RUNEX_WORKFLOW_PATH` | Colon-separated extra workflow search dirs | unset | | `RUNEX_WORKFLOWS_DIR` | Project workflows directory | `./workflows` | | `RUNEX_ROOT_DIR` | Root for bundles/, workflows/ | cwd | | `RUNEX_BUNDLE_DIRS` | Colon-separated bundle search dirs | `<RUNEX_ROOT_DIR>/bundles` | | `RUNEX_BUNDLES_AUTO_SYNC` | Run bundle-sync workflow on boot | `false` | | `BUNDLE_SOURCES` | Colon-separated GH Release base URLs for pull-mode bundle import | unset | | `RUNEX_DATABASE_URL` | Postgres URL for federated mode | unset (SQLite) | | `RUNEX_DB_PATH` | SQLite override (ignored if DATABASE_URL set) | XDG-compliant | | `RUNEX_REGION` / `RUNEX_DATACENTER` | Node region/datacenter labels for federation routing | unset | | `RUNEX_MASKED_VARS` | Comma-separated env var name patterns to redact from logs | `TOKEN,SECRET,KEY,PASSWORD,CREDENTIAL,DATABASE_URL` | | `RUNEX_PEER_HOST` | Cluster peer identity + registration host | auto-detect (Tailscale -> hostname) | | `PHX_PUBLIC_HOSTS` | Internet-facing user URLs (operator-curated) | unset | | `RUNEX_MISE_BIN` | Path to mise binary | auto-detect | ## Workflow Path Resolution Runex resolves `workflow_path` values through an ordered search (`lib/runex/paths.ex` `workflows_dirs/0`): 1. **Custom dirs**: `RUNEX_WORKFLOW_PATH` env var (colon-separated) 2. **Project dir**: `RUNEX_WORKFLOWS_DIR` env var (default `./workflows`, relative to Runex cwd) 3. **Core priv**: `priv/workflows/` shipped with the Runex release Accepts absolute paths, filenames with extension, or bare names (tries `.toml`, `.yaml`, `.yml` in order). Bundles use a separate search path: `RUNEX_BUNDLE_DIRS` (colon-separated; defaults to `<RUNEX_ROOT_DIR>/bundles`). Workflows inside bundles are reachable by the `bundles/<name>/<file>.toml` path form once the bundle directory is on a search path. ## Bundle Structure 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 scripts/ # Nushell/shell scripts called by steps do-thing.nu ``` 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. ### Pull-based distribution Bundles can ship as GitHub Release assets and be pulled into a Runex node on demand. Set `BUNDLE_SOURCES` to a colon-separated list of GitHub Release base URLs, then either: - Call `POST /api/bundles/import` with `{"name": "...", "version": "..."}` - Run `bundles.nu pull <name> <version>` The server resolves the asset URL, downloads, extracts into the bundle cache, and registers it. See the **Bundle Endpoints** section of `templates/0.0.7/api.md` for the multipart vs JSON pull modes. ## Version Detection Scripts and templates are versioned under `scripts/<version>/` and `templates/<version>/`. To list available versions: ```bash ls scripts/ | get name ``` The current documented version is `0.0.7` (matches Runex `mix.exs @version`). `0.1.0` remains for older deployments — the API endpoints it documented are still wire-compatible with current Runex, but it predates heartbeat, federation, and the expanded driver set. Runex 0.0.7 dropped the `agent_runs` subsystem that briefly existed in 0.0.6 (deleted per YAGNI — no callers materialized). ## mise Tasks Integration Run `mise tasks` in any repo to discover available helpers. Repos using Runex typically define mise tasks that wrap API calls: ```bash mise tasks # List available tasks mise run dev # Start dev server (live-reload) mise run ci # Run full CI suite ``` ## References For detailed information: - **[templates/0.0.7/mise.toml](templates/0.0.7/mise
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.