搜索

PythonReactSEOPDF
OpenClaw

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.

alanburchill0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install alanburchill/translink-cli

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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: translink_* (or equivalent wrappers that expose the same command names)

If the CLI is not installed, stop and ask the user to install it first.

Command surfaces

  • Shell CLI: translink_*
  • Plugin slash commands: /translink_* and /translink <command> [args...]

Core workflow

  1. Refresh or validate cache/schema with translink_schedule_refresh when freshness is uncertain.
  2. Query with shared parameters (--where, --contains, --in, --page, --per-page, etc.).
  3. On strict field errors, use fuzzy suggestions in the JSON error payload to auto-correct.
  4. Use PK/FK references for joins across routes/trips/stops/stop_times/calendar/shapes.
  5. For authoritative current schema, read generated schema docs first.

Shared parameter contract

All commands support:

  • --where field=value (repeatable)
  • --contains field=text (repeatable)
  • --in field=v1,v2,... (repeatable)
  • --fields a,b,c
  • --sort field
  • --order asc|desc
  • --page N
  • --per-page N (default 20)
  • --format table|json|csv
  • --count-only

Realtime extras:

  • --expand (include nested JSON fields)
  • --raw (include full raw entity JSON)
  • --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

  • references/commands.md — command/param/error contract
  • references/usage.md — examples
  • references/relationships.md — PK/FK joins
  • references/schema-generated.md — auto-generated live sche...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/alanburchill/translink-cli
Version
—
Commit
329605a7528f8ac85092fac9119d8b07ccc58845
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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: `translink_*` (or equivalent wrappers that expose the same command names)

If the CLI is not installed, stop and ask the user to install it first.

## Command surfaces

- Shell CLI: `translink_*`
- Plugin slash commands: `/translink_*` and `/translink <command> [args...]`

## Core workflow

1. Refresh or validate cache/schema with `translink_schedule_refresh` when freshness is uncertain.
2. Query with shared parameters (`--where`, `--contains`, `--in`, `--page`, `--per-page`, etc.).
3. On strict field errors, use fuzzy suggestions in the JSON error payload to auto-correct.
4. Use PK/FK references for joins across routes/trips/stops/stop_times/calendar/shapes.
5. For authoritative current schema, read generated schema docs first.

## Shared parameter contract

All commands support:
- `--where field=value` (repeatable)
- `--contains field=text` (repeatable)
- `--in field=v1,v2,...` (repeatable)
- `--fields a,b,c`
- `--sort field`
- `--order asc|desc`
- `--page N`
- `--per-page N` (default 20)
- `--format table|json|csv`
- `--count-only`

Realtime extras:
- `--expand` (include nested JSON fields)
- `--raw` (include full raw entity JSON)
- `--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

- `references/commands.md` — command/param/error contract
- `references/usage.md` — examples
- `references/relationships.md` — PK/FK joins
- `references/schema-generated.md` — auto-generated live sche...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.