Skip to content
Data
Skill

/walkeros-using-cli

The walkerOS CLI (`walkeros`) validates, simulates, tests and bundles event collection flows. It does not run them: a built server flow runs with `runneros start` from `@walkeros/runner` (the `walkeros/flow` image).

From plugin
walkeros
35022 skills

Claude Code

$ npx -y skills add elbwalker/walkerOS --skill walkeros-using-cli --agent claude-code

SKILL.md

walkeros-using-cli.SKILL.md
name: walkeros-using-cli
description:
  Use when bundling walkerOS flows, testing events with simulate/push, running
  or deploying a built flow (runneros, the walkeros/flow image), validating
  configs, or configuring Flow JSON files.

Using the walkerOS CLI

Overview

The walkerOS CLI (`walkeros`) validates, simulates, tests and bundles event collection flows. It does not run them: a built server flow runs with `runneros start` from `@walkeros/runner` (the `walkeros/flow` image).

**Core workflow:**

1. **Configure** - Write Flow.Json JSON config 2. **Validate** - `walkeros validate flow.json` 3. **Test** - Simulate events (mocked) or push (real) 4. **Bundle** - `walkeros bundle flow.json -o dist/` 5. **Run** - `runneros start dist/flow.mjs`, or deploy through the app

Quick Start

# Install (Node.js 22.12 or later)
npm install -g @walkeros/cli

# Bundle a flow into dist/
walkeros bundle flow.json -o dist/

# Test with simulated event
walkeros push flow.json -e '{"name":"page view"}' --simulate destination.demo

# Push real event
walkeros push flow.json -e '{"name":"page view"}'

An event needs `name` (`"entity action"`). One written as `entity` and `action` only is rejected as invalid: a simulation prints `mapping: none (skipped before mapping)` and `no calls`, a real push sends nothing, and both still print `success: true`.

Commands Overview

| Command | Purpose | Safe? | | ------------- | ------------------------------------------------------------------------------------------------ | ----- | | `bundle` | Generate JS bundle from config | ✅ | | `push` | Push an event: real API calls on a server flow, recorded on a web flow; `--simulate` mocks steps | ⚠️ | | `setup` | Run a component's `setup()` to provision external resources | ⚠️ | | `validate` | Validate configs/events | ✅ | | `cache` | Manage caching | ✅ | | `auth` | Check who the token in `WALKEROS_TOKEN` belongs to | ✅ | | `api` | Call the walkerOS app API, or list its operations | ⚠️ | | `diagnostics` | Show the CLI version, the app URL, and whether the app answers | ✅ | | `telemetry` | Show, enable or disable anonymous usage telemetry | ✅ |

For detailed command reference, see [commands-reference.md](commands-reference.md).

---

Common Workflows

Development Workflow

1. Write flow.json config
2. Bundle: walkeros bundle flow.json
3. Simulate: walkeros push flow.json -e event.json --simulate destination.demo
4. Fix issues, repeat 2-3
5. Push test: walkeros push flow.json -e event.json
6. Deploy: in the walkerOS app, or
   walkeros api POST /api/projects/{projectId}/flows/<flowId>/deploy
   (see the CI recipe in the CLI docs)

Multi-Flow Development

# Bundle specific flow
walkeros bundle flow.json --flow myFlow

# Bundle all flows (--all needs an output directory)
walkeros bundle flow.json --all -o dist/

# Test specific flow
walkeros push flow.json --flow myFlow -e event.json --simulate destination.demo

Local Development Server

# Build, then start the artifact with the runtime (a separate package)
walkeros bundle flow.json -o dist/
npx --package=@walkeros/runner runneros start dist/flow.mjs --port 3000

**Server port note:** Under `runneros` the runtime owns the port: it listens on `--port` (or `PORT`, default 8080), serves `/health` and `/ready`, and hands every other request to the flow's HTTP handler. A source's own `port` setting is not used there.

---

Flow.Json Configuration

Minimal Config

{
  "version": 4,
  "flows": {
    "default": {
      "config": {
        "platform": "web",
        "bundle": {
          "packages": {
            "@walkeros/web-destination-gtag": { "version": "^4" }
          }
        }
      },
      "destinations": {
        "gtag": {
          "package": "@walkeros/web-destination-gtag",
          "config": {
            "loadScript": true,
            "settings": { "ga4": { "measurementId": "G-XXXXXX" } }
          }
        }
      }
    }
  }
}

Without `"loadScript": true` walkerOS does not load gtag.js: unless the page loads it itself, events go nowhere while the push still reports them as done.

Config Structure

{
  "version": 4,
  "flows": {
    "<flowName>": {
      "config": {
        "platform": "web" | "server",  // Platform (required)
        "url": "",                      // Optional: public URL, read by $flow.<name>.url
        "settings": {},                 // Platform-specific settings (optional)
        "bundle": {
          "packages": {},               // NPM packages pacote will install
          "overrides": {},              // Transitive dep version pins (npm-style)
          "traceInclude": []            // Optional: nft escape hatch (paths/globs)
        },
        "observe": {}                   // Optional, web flows only: url + binding, level, sample
      },
      "sources": {},                    // Event sources
      "destinations": {},               // Event destinations (each with its own mapping)
      "transformers": {},               // Transformer chain (optional)
      "stores": {},                     // Key-value stores (optional)
      "collector": {},                  // Collector configuration
      "variables": {}                   // Flow-level $var values (optional)
    }
  }
}

**You do NOT need `npm install` for step packages.** flow.json'

Read more
@elbwalker
Ships withwalkeros

From browser to BigQuery and ad platforms - warehouse-native, and ready for AI agents via MCP.

Stars on GitHub

Momentum

stars in total
350
Star history of elbwalker/walkerOS on GitHub, a chart by star-history.com

Other skills on walkeros.

walkeros-create-source

walkeros-create-source

Use when creating a new walkerOS source to capture events (browser source, dataLayer interception, server/HTTP source, webhook…

@elbwalker@elbwalkerInstall Skill

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem013d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog2w41k
@posthog@posthogInstall Skill

Questions about walkeros-using-cli.

Which coding agents can use walkeros-using-cli?
walkeros-using-cli installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.