all-routes-offline

SKILL.md

All Routes Offline

Use this skill when the task needs route-discovery data grounded in this repo without depending on hosted All Routes MCP credentials.

Quick Start

  1. Prefer local repo surfaces over hosted services or third-party browsing.
  2. If the web app is available locally, use its /api/* endpoints first.
  3. If the worker is available locally, you may use the local anonymous /mcp endpoint as an optional secondary path.
  4. If neither server is running, inspect the repo-backed handlers and schemas directly and label the answer as code-backed/offline rather than live endpoint output.
  5. Read references/local-surfaces.md for concrete endpoint mappings and startup commands.

Workflow

1) Choose the narrowest local surface

  • airport search / lookup: use the local airport API surfaces.
  • routes from airport / city pair: use the local routes API.
  • airline route map: use the airline routes API.
  • timetable context: use the timetables API.
  • dataset health: use the data health API, and treat it as an ops/debug surface.

2) Prefer the no-worker path

  • The primary path is local web APIs and repo-backed handlers, not hosted MCP.
  • If you need live local responses, start the web app with pnpm --filter @all-routes/web dev.
  • If the app is not running, inspect the local route handlers and shared schemas instead of inventing undocumented requests.

3) Use local MCP only when helpful

  • If the worker is already running, or the task clearly benefits from MCP tools/resources, use the local /mcp endpoint.
  • Local anonymous MCP is intended for localhost flows only; do not assume hosted credentials or ALL_ROUTES_MCP_TOKEN.
  • Keep MCP requests narrow and prefer exact airport or airline codes when possible.

4) Stay read-only and grounded

  • Do not require hosted secrets.
  • Do not scrape arbitrary third-party sites.
  • Do not invent write actions, browser automation, or remote fetch flows around this skill.
  • Prefer exact IATA, ICAO, or airline codes over fuzzy queries when the user can provide them.
  • Always say whether the answer came from local MCP, a local API, or offline code inspection.

5) Use prompts and explanations carefully

  • When local MCP is available, plan_route_options and explain_route_coverage are valid explanation surfaces.
  • Without MCP, explain route coverage using the local API response or code-backed repository behavior instead of pretending a prompt tool exists.

Reference File

  • Read references/local-surfaces.md for local endpoint mappings, startup commands, and fallback guidance.
Weekly Installs
1
First Seen
Today
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1