Guide

Agent skill

Station ships with a Claude Code skill that teaches the AI assistant how to build with every Station package. Once installed, Claude knows how to create signals, broadcasts, beacons, schedules, Station Networks, adapters, subscribers, browser workers, shell workspaces, browser automation, and dashboard configs without you having to explain the API.


What is a skill?

A Claude Code skill is a set of markdown files that get injected into Claude’s context when relevant. Skills contain API references, code patterns, and rules that guide the assistant’s output. The Station skill covers the framework packages, official adapters, Station Networks, and the REST API.


Install

npx skills add porkytheblack/station

The skill directory includes these focused references:

FileDescription
browser.mdBrowserStation setup, worker and service-worker hosting, API usage, supported definitions, recovery, and known limits. Read this first for browser-local work.
images.mdCompiled native/JavaScript images, deployment/environment bindings, beacon rollout, enrollment, native planner grants, invocation artifacts, private registries and independent Docker cleanup.
execution.mdSeparate Sandbox and Browser Use primitives, exact-owner Headquarters routing, trusted-code limits, persistence, and opt-in Bun process children.
SKILL.mdMain skill file. Contains critical rules, code patterns, builder workflows, network operations, and verification guidance. This concise file is what Claude reads first.
api-reference.mdExhaustive package and v1 REST API reference, including signals, broadcasts, beacons, schedules, environment variables, expressions, Station Networks, adapters, station-daemon, and station-tauri.
examples.mdNode examples and a linked browser walkthrough covering signals, pipelines, beacons, runtime schedules, environment variables, all four adapter backends, deployment, and a Headquarters/worker topology.

Usage

Once installed, the skill activates automatically when you ask Claude about Station topics. You can also invoke it explicitly:

/station

Example prompts that trigger the skill:


What the skill knows

TopicCoverage
Browser runtimeExplicit registries, IndexedDB queues and checkpoints, worker drains, bounded service-worker wake slices, cooperative beacons, and configuration workarounds. See the browser guide.
Server executionNative shell workspaces, Bun WebView/Playwright sessions, screenshots, owner routing and interrupted-state recovery. See the execution guide.
SignalsBuilder chain (.input(), .output(), .timeout(), .retries(), .concurrency(), .placement(), .every(), .onComplete(), .run()), multi-step pipelines (.step() + .build()), triggering, validation
BroadcastsDAG builder (.node(), .then()), conditional nodes (when), failure policies, input/output mapping, fan-out and fan-in patterns
AdaptersSQLite, PostgreSQL, MySQL, and Redis for signals, broadcasts, beacons, schedules, environment variables, and network state. Constructor patterns, connection options, and subpath imports
Station NetworksHeadquarters and station roles, shared storage, atomic run claims, fencing and recovery, per-station/fleet concurrency, placement, draining, inventory, and beacon HTTP proxying
SchedulesEditable interval and timezone-aware cron schedules, overlap and misfire policies, atomic occurrence claims, and timing semantics
BeaconsSupervised servers, pollers, and clients; restart policies, instances, placement, exposure, and graceful shutdown
RunnersSignalRunner, BroadcastRunner, andBeaconRunner setup, auto-discovery, manual registration, graceful shutdown, poll intervals
SubscribersLifecycle events for signal, broadcast, and beacon runners. Custom subscriber patterns for logging, metrics, and alerting
Remote triggersconfigure({ endpoint, apiKey }), HttpTriggerAdapter, environment variables, Station REST API endpoints
Dashboardstation.config.ts options, CLI usage, auth configuration

Documentation for other agents

Use llms.txt to find focused Markdown pages, including the browser guide and the lab walkthrough. The full reference includes all generated documentation. These files are rebuilt from the site pages.

Updating

Re-run the install command to pull the latest version:

npx skills add porkytheblack/station