{
  "schemaVersion": "1.0",
  "item": {
    "slug": "swiss-transport",
    "name": "Swiss Public Transport",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/xenofex7/swiss-transport",
    "canonicalUrl": "https://clawhub.ai/xenofex7/swiss-transport",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/swiss-transport",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=swiss-transport",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/journey.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "swiss-transport",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-09T15:30:30.178Z",
      "expiresAt": "2026-05-16T15:30:30.178Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=swiss-transport",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=swiss-transport",
        "contentDisposition": "attachment; filename=\"swiss-transport-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "swiss-transport"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/swiss-transport"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/swiss-transport",
    "agentPageUrl": "https://openagent3.xyz/skills/swiss-transport/agent",
    "manifestUrl": "https://openagent3.xyz/skills/swiss-transport/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/swiss-transport/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Swiss Public Transport",
        "body": "Query Swiss public transport (SBB, BLS, ZVV, etc.) using the official transport.opendata.ch API."
      },
      {
        "title": "Search stations",
        "body": "curl -s \"https://transport.opendata.ch/v1/locations?query=Zürich\" | jq -r '.stations[] | \"\\(.name) (\\(.id))\"'"
      },
      {
        "title": "Get next departures",
        "body": "curl -s \"https://transport.opendata.ch/v1/stationboard?station=Zürich%20HB&limit=10\" | \\\n  jq -r '.stationboard[] | \"\\(.stop.departure[11:16]) \\(.category) \\(.number) → \\(.to)\"'"
      },
      {
        "title": "Plan journey from A to B",
        "body": "curl -s \"https://transport.opendata.ch/v1/connections?from=Zürich&to=Bern&limit=3\" | \\\n  jq -r '.connections[] | \"Departure: \\(.from.departure[11:16]) | Arrival: \\(.to.arrival[11:16]) | Duration: \\(.duration[3:]) | Changes: \\(.transfers)\"'"
      },
      {
        "title": "Get connection details with sections",
        "body": "curl -s \"https://transport.opendata.ch/v1/connections?from=Zürich%20HB&to=Bern&limit=1\" | \\\n  jq '.connections[0].sections[] | {from: .departure.station.name, to: .arrival.station.name, departure: .departure.departure, arrival: .arrival.arrival, transport: .journey.category, line: .journey.number}'"
      },
      {
        "title": "/v1/locations - Search stations",
        "body": "curl \"https://transport.opendata.ch/v1/locations?query=<station-name>\"\n\nParameters:\n\nquery (required): Station name to search\ntype (optional): Filter by type (station, address, poi)"
      },
      {
        "title": "/v1/stationboard - Departure board",
        "body": "curl \"https://transport.opendata.ch/v1/stationboard?station=<station>&limit=<number>\"\n\nParameters:\n\nstation (required): Station name or ID\nlimit (optional): Number of results (default 40)\ntransportations[] (optional): Filter by type (ice_tgv_rj, ec_ic, ir, re_d, ship, s_sn_r, bus, cableway, arz_ext, tramway_underground)\ndatetime (optional): Date/time in ISO format"
      },
      {
        "title": "/v1/connections - Journey planner",
        "body": "curl \"https://transport.opendata.ch/v1/connections?from=<start>&to=<destination>&limit=<number>\"\n\nParameters:\n\nfrom (required): Starting station\nto (required): Destination station\nvia[] (optional): Intermediate station(s)\ndate (optional): Date (YYYY-MM-DD)\ntime (optional): Time (HH:MM)\nisArrivalTime (optional): 0 (departure, default) or 1 (arrival)\nlimit (optional): Number of connections (max 16)"
      },
      {
        "title": "Helper Script",
        "body": "Use scripts/journey.py for formatted journey planning:\n\npython3 scripts/journey.py \"Zürich HB\" \"Bern\"\npython3 scripts/journey.py \"Basel\" \"Lugano\" --limit 5"
      },
      {
        "title": "Notes",
        "body": "All times are in Swiss local time (CET/CEST)\nStation names support autocomplete (e.g., \"Zürich\" finds \"Zürich HB\")\nAPI returns JSON by default\nNo API key required\nReal-time data includes delays and platform changes"
      }
    ],
    "body": "Swiss Public Transport\n\nQuery Swiss public transport (SBB, BLS, ZVV, etc.) using the official transport.opendata.ch API.\n\nQuick Commands\nSearch stations\ncurl -s \"https://transport.opendata.ch/v1/locations?query=Zürich\" | jq -r '.stations[] | \"\\(.name) (\\(.id))\"'\n\nGet next departures\ncurl -s \"https://transport.opendata.ch/v1/stationboard?station=Zürich%20HB&limit=10\" | \\\n  jq -r '.stationboard[] | \"\\(.stop.departure[11:16]) \\(.category) \\(.number) → \\(.to)\"'\n\nPlan journey from A to B\ncurl -s \"https://transport.opendata.ch/v1/connections?from=Zürich&to=Bern&limit=3\" | \\\n  jq -r '.connections[] | \"Departure: \\(.from.departure[11:16]) | Arrival: \\(.to.arrival[11:16]) | Duration: \\(.duration[3:]) | Changes: \\(.transfers)\"'\n\nGet connection details with sections\ncurl -s \"https://transport.opendata.ch/v1/connections?from=Zürich%20HB&to=Bern&limit=1\" | \\\n  jq '.connections[0].sections[] | {from: .departure.station.name, to: .arrival.station.name, departure: .departure.departure, arrival: .arrival.arrival, transport: .journey.category, line: .journey.number}'\n\nAPI Endpoints\n/v1/locations - Search stations\ncurl \"https://transport.opendata.ch/v1/locations?query=<station-name>\"\n\n\nParameters:\n\nquery (required): Station name to search\ntype (optional): Filter by type (station, address, poi)\n/v1/stationboard - Departure board\ncurl \"https://transport.opendata.ch/v1/stationboard?station=<station>&limit=<number>\"\n\n\nParameters:\n\nstation (required): Station name or ID\nlimit (optional): Number of results (default 40)\ntransportations[] (optional): Filter by type (ice_tgv_rj, ec_ic, ir, re_d, ship, s_sn_r, bus, cableway, arz_ext, tramway_underground)\ndatetime (optional): Date/time in ISO format\n/v1/connections - Journey planner\ncurl \"https://transport.opendata.ch/v1/connections?from=<start>&to=<destination>&limit=<number>\"\n\n\nParameters:\n\nfrom (required): Starting station\nto (required): Destination station\nvia[] (optional): Intermediate station(s)\ndate (optional): Date (YYYY-MM-DD)\ntime (optional): Time (HH:MM)\nisArrivalTime (optional): 0 (departure, default) or 1 (arrival)\nlimit (optional): Number of connections (max 16)\nHelper Script\n\nUse scripts/journey.py for formatted journey planning:\n\npython3 scripts/journey.py \"Zürich HB\" \"Bern\"\npython3 scripts/journey.py \"Basel\" \"Lugano\" --limit 5\n\nNotes\nAll times are in Swiss local time (CET/CEST)\nStation names support autocomplete (e.g., \"Zürich\" finds \"Zürich HB\")\nAPI returns JSON by default\nNo API key required\nReal-time data includes delays and platform changes"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/xenofex7/swiss-transport",
    "publisherUrl": "https://clawhub.ai/xenofex7/swiss-transport",
    "owner": "xenofex7",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/swiss-transport",
    "downloadUrl": "https://openagent3.xyz/downloads/swiss-transport",
    "agentUrl": "https://openagent3.xyz/skills/swiss-transport/agent",
    "manifestUrl": "https://openagent3.xyz/skills/swiss-transport/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/swiss-transport/agent.md"
  }
}