Skills translink-cli
Query, troubleshoot, and explain Translink SEQ GTFS static + realtime data using local translink_* commands or plugin slash commands. Use for schedule lookups, stop/route/trip joins, vehicle/trip realtime checks, alerts, schema drift review, PK/FK reasoning, and paginated filtering.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/alanburchill/translink-cli" ~/.claude/skills/clawdbot-skills-translink-cli && rm -rf "$T"
manifest:
skills/alanburchill/translink-cli/SKILL.mdsource content
Translink CLI Skill
Use when working with Translink data in this environment.
Prerequisite
This skill requires the Translink CLI scripts to be installed and available in PATH.
- CLI repo:
https://github.com/alanburchill/traslink-cli-scripts - Expected commands:
(or equivalent wrappers that expose the same command names)translink_*
If the CLI is not installed, stop and ask the user to install it first.
Command surfaces
- Shell CLI:
translink_* - Plugin slash commands:
and/translink_*/translink <command> [args...]
Core workflow
- Refresh or validate cache/schema with
when freshness is uncertain.translink_schedule_refresh - Query with shared parameters (
,--where
,--contains
,--in
,--page
, etc.).--per-page - On strict field errors, use fuzzy suggestions in the JSON error payload to auto-correct.
- Use PK/FK references for joins across routes/trips/stops/stop_times/calendar/shapes.
- For authoritative current schema, read generated schema docs first.
Shared parameter contract
All commands support:
(repeatable)--where field=value
(repeatable)--contains field=text
(repeatable)--in field=v1,v2,...--fields a,b,c--sort field--order asc|desc--page N
(default 20)--per-page N--format table|json|csv--count-only
Realtime extras:
(include nested JSON fields)--expand
(include full raw entity JSON)--raw--time epoch|iso
Schedule extras:
--refresh--schema
Runtime behavior
- Static cache:
~/.openclaw/cache/translink/ - TTL: 24h
- Daily refresh cron (example): 5:00 AM local time (
)translink:schedule-refresh - Refresh lock prevents concurrent extract races.
- Schema is header-driven and auto-adapts to added columns.
Read these references as needed
— command/param/error contractreferences/commands.md
— examplesreferences/usage.md
— PK/FK joinsreferences/relationships.md
— auto-generated live schema (authoritative)references/schema-generated.md
— GTFS field semanticsreferences/column-meanings.md