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…
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
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:
- Install via the Printing Press installer:
npx -y @mvanhorn/printing-press-library install uk-train-goat --cli-only - Verify:
uk-train-goat-pp-cli --version - 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):
go install github.com/mvanhorn/printing-press-library/library/travel/uk-train-goat/cmd/uk-train-goat-pp-cli@latest
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.
When Not to Use This CLI
Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Local state that compounds
go— Run a saved commute in one keystroke; resolves origin, destination, and time-window from the local store.Pick this when an agent needs the user's named recurring route resolved from local state, not a fresh A->B planning call.
uk-train-goat-pp-cli go morning --json --select services.std,services.platform,services.etdsaved status— Fans out across every saved route and prints a single ranked status table for all your commutes.Pick this on disruption mornings when a user has multiple saved commutes and wants one answer, not N separate board calls.
uk-train-goat-pp-cli saved status --json --select routes.name,routes.next.std,routes.next.etdrecent— Re-runs your recent A->B searches with fresh live data, side-by-side, so iterative trip planning is one keystroke per refresh.Pick this when the user is iterating dates or origins for one trip; every previous query stays one keystroke away.
uk-train-goat-pp-cli recent --json --select queries.from,queries.to,queries.next.std
Agent-native plumbing
stations— FTS5 search over the local UK CRS code table; resolves Paddington -> PAD with no network call.Pick this whenever the user names a station in prose; resolve to CRS once, then call any other uk-train-goat command.
uk-train-goat-pp-cli stations --search kings --json --select results.crs,results.nameboard— Accept a comma-separated list of CRS codes and merge departures across all of them into one ranked time-ordered list.Pick this when an agent needs the next London-bound (or other regional cluster) departure across multiple terminals at once.
uk-train-goat-pp-cli board PAD,KGX,EUS --in 30m --json --select services.origin,services.std,services.destinationeval— Programmatic eval grader that scores an LLM agent against a fixture suite of natural-language UK-rail prompts; 80% pass-rate threshold blocks ship.Run this in CI on changes to internal/cli or internal/mcp; failing evals mean an agent will pick the wrong tool or wrong args.
EVAL_AGENT_MODEL=claude-sonnet-4-6 uk-train-goat-pp-cli eval --json
Service-specific content
why— Combines GetS
Установить pp-uk-train-goat в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл 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`.
Как установить скилл pp-uk-train-goat?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-uk-train-goat запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic