Agent skill · software engineering · mvanhorn

pp-uk-train-goat

The only Go-native, agent-native, MCP-exposed UK rail CLI; live boards, journey planning Trigger phrases: `next train from <station>`, `departures from <station>`, `trains london to <destination>`, `is the X.YY to <station> on time`, `which platform is the <service> on`, `use uk-train-goat`, `run uk-train-goat-pp-cli`.

Why this skill is useful

Adds a CLI tool that provides unique capabilities for querying UK rail data, including offline state management and saved commute features.

What it needs

Requires uk-train-goat-pp-cli installed locally. About 8k tokens when loaded. Last updated 2026-08-06. 1,890 stars on the source repository.

What this skill does

<!-- GENERATED FILE — DO NOT EDIT. This file is a verbatim mirror of library/travel/uk-train-goat/SKILL.md, regenerated post-merge by tools/generate-skills/. Hand-edits here are silently overwritten on the next regen. Edit the library/ source instead. See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". --> UK Train Goat — Printing Press CLI Prerequisites: Install the CLI This skill drives the uk-train-goat-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first: 1. Install via the Printing Press installer: 2. Verify: uk-train-goat-pp-cli --version 3. Ensure $GOPATH/bin (or $HOME/go/bin) is on $PATH. If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer): If --version reports "command not found" after install, the install step did not put the binary on $PATH. Do not proceed with skill commands until verification succeeds. uk-train-goat wraps the free National Rail OpenLDBWS API with a Cobra command tree, an MCP server, and an offline station database. Live departures, arrivals, journey planning A->B, and service status all run from one terminal command and ship with a programmatic eval grader that pins tool descriptions for LLM agents. When to Use This CLI Use uk-train-goat for any UK National Rail question an agent or terminal user has: live departures, live arrivals, journey planning between two stations on today or a future date, service-status / delay-reason lookups, and walk-up adult fare lookups between stations. The local SQLite store gives every command offline CRS resolution and supports saved-commute features (go, saved status, recent) that a thin API wrapper cannot. Do not use uk-train-goat for booking, fare comparisons against Trainline, advance fares, railcard discounts, EU/Eurostar trains, or real-time push notifications; those are explicit non-goals for v0.1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills mvanhorn/pp-uk-train-goat

View the source on GitHub

Browse the @skills marketplace