技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.1
统计:⭐ 2 · 385 · 0 current installs · 0 all-time installs
⭐ 2
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:alanburchill/translink-cli
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
This is an instruction-only skill that generally matches its stated purpose (driving a local Translink CLI), but there are small inconsistencies (missing declared binary requirement and a likely repo-URL typo) that warrant verifying the actual CLI source before use.
目的
The skill's name/description match the runtime instructions: it expects local translink_* CLI commands and exposes schedule/realtime GTFS workflows. However, the registry metadata lists no required binaries while SKILL.md explicitly requires the translink_* CLI scripts in PATH (an un-declared prerequisite). That mismatch is a packaging/information inconsistency the user should confirm.
说明范围
SKILL.md confines behavior to running local translink_* commands, reading local generated schema/docs, and using a local cache (~/.openclaw/cache/translink/). It instructs the agent to stop and ask the user if the CLI is not installed. There are no instructions to read unrelated system files, access external endpoints, or exfiltrate data.
安装机制
There is no install spec (instruction-only), so nothing will be written to disk by the skill itself. The SKILL.md references a GitHub repo for the CLI, but the URL has an apparent typo ('traslink' vs. 'translink') — the skill does not attempt to download or install that code autonomously.
证书
The skill declares no required environment variables or credentials and does not request secrets. It does reference a local cache path (~/.openclaw/cache/translink/), which is consistent with its stated purpose and not a privileged credential access.
持久
The skill is not always-enabled and does not request elevated platform privileges or modifications to other skills. Model invocation is allowed (platform default) but this is expected for a user-invocable skill that runs CLI commands.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Translink CLI」。简介:Query, troubleshoot, and explain Translink SEQ GTFS static + realtime data usin…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/alanburchill/translink-cli/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: translink-cli
description: 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.
---
# 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 schema (authoritative)
- `references/column-meanings.md` — GTFS field semantics