# Send Terrain Route Video to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "terrain-route-video",
    "name": "Terrain Route Video",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jack4world/terrain-route-video",
    "canonicalUrl": "https://clawhub.ai/jack4world/terrain-route-video",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/terrain-route-video",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=terrain-route-video",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "references/stops.schema.json",
      "scripts/terrain_route_video.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/terrain-route-video"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/terrain-route-video",
    "downloadUrl": "https://openagent3.xyz/downloads/terrain-route-video",
    "agentUrl": "https://openagent3.xyz/skills/terrain-route-video/agent",
    "manifestUrl": "https://openagent3.xyz/skills/terrain-route-video/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/terrain-route-video/agent.md"
  }
}
```
## Documentation

### Output defaults (recommended)

Size: 1600x900
FPS: 30
Duration: 12s
Style: dark terrain basemap + red route line + cyan head dot

### Option A) Road-follow (OSRM) via stops.json

Create a stops.json file:

{
  "stops": [
    {"id": "01", "name": "襄阳", "lon": 112.1163785, "lat": 32.0109980},
    {"id": "02", "name": "老河口", "lon": 111.7575073, "lat": 32.4370526}
  ]
}

Schema reference: references/stops.schema.json.

### Option B) Track-follow via .gpx / .kml

If you already have a route track (GPX/KML), you can generate the video directly from the track geometry (no OSRM calls):

GPX: uses <trkpt> (track points) or falls back to <rtept>
KML: supports both:

standard <LineString><coordinates>
2bulu/Google-style <gx:Track><gx:coord> (common in hiking app exports)

### Runbook

Create a fresh working folder (keeps caches + frames local).


Create a Python venv and install deps:

python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install numpy matplotlib pillow requests

Render video (choose one):

OSRM road-follow mode (stops.json)

python /path/to/skills/terrain-route-video/scripts/terrain_route_video.py \\
  --stops stops.json \\
  --out out.mp4 \\
  --size 1600x900 \\
  --fps 30 --duration 12 \\
  --title "江汉平原到洞庭湖 · 足迹" \\
  --subtitle "襄阳 → 老河口 → 荆州 → 监利 → 洪湖·峰口镇 → 岳阳"

GPX/KML track mode

python /path/to/skills/terrain-route-video/scripts/terrain_route_video.py \\
  --route my-track.gpx \\
  --out out.mp4 \\
  --size 1600x900 \\
  --fps 30 --duration 12 \\
  --title "My Trip" \\
  --subtitle "GPX/KML track"

Notes:

The script creates frames/ and .tile-cache/ in the current folder.
If the user complains the line is not “hugging highways”, keep full OSRM geometry (default) and avoid any simplification.
If text shows missing glyphs, pass --font /System/Library/Fonts/Hiragino Sans GB.ttc (default) or another CJK font path.
OpenTopoMap tile availability can vary by zoom/region/network. The script will auto-fallback to a lower zoom if tile requests fail.

### Camera / route

--zoom 18 (terrain tile zoom; default is 18; may auto-fallback if tiles fail)
--lookahead 0.02 (camera looks ahead on the route; smaller = steadier)
--dwell 0 (pause frames at each stop; default 0)
--no-follow (static full-route view, no fly-follow)

### Basemap readability (new)

These are useful when map labels feel too dark/washed out.

--basemap-alpha 0.85 (make basemap more visible)
--overlay-alpha 0.25 (reduce the dark overlay; clearer labels)
--basemap-contrast 1.20 (increase contrast)
--basemap-sharpness 1.45 (sharpen text/lines)
--basemap-color 0.80 (saturation multiplier)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jack4world
- Version: 0.2.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/terrain-route-video)
- [Send to Agent page](https://openagent3.xyz/skills/terrain-route-video/agent)
- [JSON manifest](https://openagent3.xyz/skills/terrain-route-video/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/terrain-route-video/agent.md)
- [Download page](https://openagent3.xyz/downloads/terrain-route-video)