Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

travel-map-generator旅行地图生成器

Agent Skill

travel-map-generator 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,327

周安装

96

GitHub Stars

公开资料未说明

下载量

760
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:travel-map-generator(旅行地图生成器)
来源仓库:https://github.com/kensonh/travel-map-generator
安装命令:
openclaw skills install travel-map-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install travel-map-generator

简介

生成吉卜力风格手绘地图PNG,附带卡通景点插图与路线标注。

  • 适合喜欢艺术化表达与视觉记录的用户。
  • 使用方式:输入目的地与兴趣点自动生成定制地图。
  • 需注意图像版权与商用许可问题。travel-map-generator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装前请确认是否生成临时文件或缓存数据。

SKILL.md

name
travel-map-generator-skill
description
>-
license
MIT
metadata
author
Qoder Community
version
1.1.0
created
2026-04-02
last_reviewed
2026-04-02
review_interval_days
90
dependencies
type
python-package
install
pip3 install Pillow
schema_expectations
expected_keys

/travel-map-generator — Ghibli Style Travel Map Generator

You are an expert travel map illustrator. Your job is to generate beautiful, hand-drawn style travel itinerary maps in Studio Ghibli / Hayao Miyazaki aesthetic.

Trigger

User invokes /travel-map-generator followed by their input:

/travel-map-generator Create a Ghibli-style map of Tokyo
/travel-map-generator I'm going to Paris, make me a cute illustrated map
/travel-map-generator Draw a travel map for Rome with Colosseum, Vatican, Trevi Fountain

Or activate naturally:

Make me a travel map for Kyoto
Generate a cartoon itinerary map
I need a hand-drawn map of my trip

Generate a single illustrated PNG travel map in Studio Ghibli / Miyazaki style. The map shows a destination city with cartoon POI icons at real coordinates, connected by a hand-drawn numbered route.

Quick Start

Follow the seven-phase workflow below in order. Do not skip phases. Each phase specifies which tools to use and what outputs to produce.

Prerequisites: Run the dependency installer first:

python3 SKILL_DIR/scripts/install_deps.py

Phase 1: Setup & Input Gathering

Goal: Extract travel info from conversation and prepare the workspace.

  1. Parse the conversation to identify:

- Destination city (required) - Specific attractions/POIs the user mentioned (optional) - Visit order if the user specified a sequence (optional)

  1. If the city is ambiguous (e.g., "Springfield"), ask the user to clarify.
  2. Create a temporary workspace:
   mkdir -p /tmp/travel-map-CITY_SLUG

Use a URL-safe slug of the city name (e.g., tokyo, new-york).

Output: City name, list of POI names (may be empty), visit order (may be null).


Phase 2: POI Discovery (if needed)

Goal: Find top attractions if the user didn't specify any.

Skip this phase if the user already named specific attractions.

  1. Use the WebSearch tool to find popular attractions:
   Query: "top attractions things to do in {CITY}"
  1. Extract 5-8 popular attractions from the search results.
  1. Present the discovered attractions to the user and confirm before proceeding.

Output: Final list of POI names (typically 3-10, ideally 5).


Phase 3: Coordinate Collection

Goal: Get the latitude/longitude of each POI.

Use WebSearch to find coordinates for each POI:

Query: "{POI_NAME} {CITY} coordinates latitude longitude"

Or use the Task tool with browser-agent:

  1. Navigate to https://www.google.com/maps/search/{POI_NAME}+{CITY}
  2. Extract coordinates from the URL format @{lat},{lng},{zoom}z

Collect all POI data into a structured list:

[
  {"name": "POI Name", "lat": 35.6586, "lng": 139.7454},
  ...
]

Important: Record coordinates with at least 4 decimal places for accuracy.

Output: List of POIs with name, lat, lng.


Phase 4: Map Background Generation

Goal: Generate a map background covering all POIs.

Option A: Use ImageGen (Recommended)

Generate an artistic map background directly:

ImageGen prompt: "A hand-drawn illustrated bird's-eye-view map of {CITY} in Studio Ghibli watercolor style, showing major streets as soft pencil lines, rivers in gentle blue watercolor, parks in soft green, buildings as tiny charming houses, warm parchment background, Miyazaki aesthetic, no text labels, map only"
Size: 1536x1024
Output: /tmp/travel-map-CITY_SLUG/stylized_map.png

Option B: Google Maps Screenshot + Stylization

If you need precise geographic accuracy:

  1. Compute the optimal viewport:
python3 -c "
import sys; sys.path.insert(0, 'SKILL_DIR/scripts')
from utils import compute_viewport
pois = POI_LIST_AS_PYTHON
vp = compute_viewport(pois, 1536, 1024)
print(f\"center_lat={vp['center_lat']}, center_lng={vp['center_lng']}, zoom={vp['zoom']}\")
"
  1. Use Task tool with browser-agent:

- Navigate to https://www.google.com/maps/@{center_lat},{center_lng},{zoom}z - Take screenshot: /tmp/travel-map-CITY_SLUG/map_screenshot.png

  1. Stylize the screenshot:
python3 SKILL_DIR/scripts/stylize_map.py \
  --input /tmp/travel-map-CITY_SLUG/map_screenshot.png \
  --output /tmp/travel-map-CITY_SLUG/stylized_map.png

Output: stylized_map.png + viewport metadata dict.


Phase 5: POI Icon Generation

Goal: Generate cartoon icons for each POI.

For each POI, call the ImageGen tool:

  • Name: poi_{SLUG}.png (e.g., poi_tokyo_tower.png)
  • Prompt:
  A charming Studio Ghibli watercolor illustration of {POI_FULL_NAME} in {CITY},
  Hayao Miyazaki art style, soft warm pastel colors, whimsical and dreamy,
  centered composition, simple clean background in solid pale cream color,
  small cute details, no text or labels, icon sticker style illustration
  • Size: 1024x1024
  • Output path: /tmp/travel-map-CITY_SLUG/poi_{SLUG}.png

Generate all POI icons concurrently. If any look unsatisfactory, regenerate with a more specific prompt.

Output: One poi_*.png per attraction.


Phase 6: Compositing

Goal: Assemble the final illustrated travel map.

  1. Build the configuration JSON file at /tmp/travel-map-CITY_SLUG/config.json:
{
  "city_name": "City Name (Display Title)",
  "viewport": {
    "center_lat": CENTER_LAT,
    "center_lng": CENTER_LNG,
    "zoom": ZOOM,
    "width": 1536,
    "height": 1024
  },
  "pois": [
    {
      "name": "POI Display Name",
      "lat": LAT,
      "lng": LNG,
      "icon_path": "/tmp/travel-map-CITY_SLUG/poi_SLUG.png",
      "order": ORDER_NUMBER_OR_NULL
    }
  ]
}
  • Set "order" to the 1-based visit sequence if the user specified an order
  • Set "order" to null for automatic route optimization
  • Use proper formatting for "city_name" (appears as title banner)
  1. Run the compositing script:
python3 SKILL_DIR/scripts/composite.py \
  --map /tmp/travel-map-CITY_SLUG/stylized_map.png \
  --config /tmp/travel-map-CITY_SLUG/config.json \
  --output /tmp/travel-map-CITY_SLUG/final_map.png
  1. Verify the output by reading the final image.

Output: final_map.png — the complete illustrated travel map.


Phase 7: Delivery

Goal: Present the result to the user.

  1. Copy the final map to the user's working directory:
   cp /tmp/travel-map-CITY_SLUG/final_map.png ./CITY_SLUG_travel_map.png
  1. Show the image to the user using the Read tool.
  1. Summarize what was generated:

- City name - Listed attractions in route order - Route description (user-specified or auto-computed) - Output file path

  1. Offer modifications:

- "Want to add or remove any attractions?" - "Want to change the visit order?" - "Want to adjust the map style?"


Image Prompt Tips

For better ImageGen results with the Ghibli style:

  • Always include "Studio Ghibli", "Hayao Miyazaki", and "watercolor" in the prompt
  • Specify "pale cream background" to make icons easier to composite
  • Use "icon sticker style" to get centered, isolated illustrations
  • Add landmark-specific details (e.g., "red torii gate" for Fushimi Inari)
  • Avoid requesting text or labels in the generated images

Script Reference

ScriptPurposeKey Arguments
install_deps.pyInstall Pillow(none)
utils.pyCoordinate math, sizing, routing(imported by other scripts)
stylize_map.pyMap screenshot → Ghibli style--input, --output
composite.pyFinal map assembly--map, --config, --output

For coordinate mapping math details, see coordinate-mapping.md.

Error Recovery

IssueSolution
Google Maps CAPTCHA/blockAsk user for coordinates manually
POI not foundSkip it, inform user, continue with remaining
Pillow not availableRun pip3 install Pillow manually
Poor stylizationUse ImageGen for map background instead
Icons overlap heavilyThe composite script handles this automatically
ImageGen failsRetry with simplified prompt or different seed

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.26%
按下载量换算633

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills