Agent skill

Openstreetmap Marker

by OpenMinis in OpenMinis/MinisSkills

Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

MITAuto-check passedFrontend & Design

Install Openstreetmap Marker

skills CLI
$ npx skills add OpenMinis/MinisSkills --skill openstreetmap-marker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenMinis/MinisSkills openstreetmap-marker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/openstreetmap-marker .claude/skills/openstreetmap-marker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openstreetmap-marker
GitHub stars
444
Token cost
~1.9k tokens
SKILL.md length
760 words
Files
4 (incl. scripts, assets)
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

  • Works in 5 steps: Get marker coordinates: prefer… → Coordinate conversion (critical, do not… → Assemble landmarks.json: an array where… → …
  • The user mentions annotate a map
  • SKILL.md covers Core Workflow, Built-in style features…, Tile provider note and Common adjustments, plus 1 more section
  • Runs Python scripts from its folder; calls python3; reaches uri.amap.com and google.com

What it does

Openstreetmap Marker is an agent skill from OpenMinis/MinisSkills. Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc. Built on Leaflet + OpenStreetMap, no API key required. Trigger when the user mentions "annotate a map", "travel map", "itinerary map", "mark locations", "map display", "trip planning map", "OpenStreetMap marker", or asks to generate a map page for a city/set of places. Includes a built-in GCJ-02 (Mars/China coordinate system used by Amap/Tencent/Baidu/Apple…

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and assets (for example `scripts/build_map.py` and `scripts/gcj_convert.py`).

It sits in Frontend & Design, covering Responsive design. The repository describes itself as: Skills collection for Minis. The licence is MIT.

When your agent uses it

  • The user mentions annotate a map
  • Trip planning map
  • OpenStreetMap marker
  • Asks to generate a map page for a city/set of places

Example prompts

  • “annotate a map”
  • “travel map”
  • “itinerary map”
  • “/openstreetmap-marker”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Get marker coordinates: prefer apple-maps search --query "place name city" --lat --lon --limit 1 -q --compact, which returns JSON with…
  2. Coordinate conversion (critical, do not skip): Apple Maps / Amap / Tencent / Baidu almost always return GCJ-02 coordinates in mainland…
  3. Assemble landmarks.json: an array where each item is
  4. Generate the page
  5. Deliver: present the result to the user as a Markdown link Preview, tappable to open in the built-in browser.

What it can do on your machine

Read from SKILL.md and the folder at commit ae8c5db. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • uri.amap.com
    • google.com
    • maps.apple.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openstreetmap Marker loads about 1.9k tokens when it runs. Until then it costs about 170 tokens; SKILL.md has 760 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~170
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenMinis/MinisSkills at commit ae8c5db, republished under its MIT licence (© OpenMinis). 760 words, ~1,854 tokens.

Download SKILL.mdSave it as .claude/skills/openstreetmap-marker/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
openstreetmap-marker
description
Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc. Built on Leaflet + OpenStreetMap, no API key required. Trigger when the user mentions "annotate a map", "travel map", "itinerary map", "mark locations", "map display", "trip planning map", "OpenStreetMap marker", or asks to generate a map page for a city/set of places. Includes a built-in GCJ-02 (Mars/China coordinate system used by Amap/Tencent/Baidu/Apple Maps search results in mainland China) to WGS-84 (Leaflet basemap coordinate system) conversion tool to avoid marker offset in mainland China.
version
1.1.0

OpenStreetMap Marker

Generates a self-contained, browser-previewable custom marker map HTML page styled after Amap's mobile app (light minimal basemap + circular colored icon + text label + immersive full-screen layout with safe-area support).

Core Workflow

  1. Get marker coordinates: prefer apple-maps search --query "place name city" --lat <city lat> --lon <city lng> --limit 1 -q --compact, which returns JSON with lat/lon/coordinate_system.
  2. Coordinate conversion (critical, do not skip): Apple Maps / Amap / Tencent / Baidu almost always return GCJ-02 coordinates in mainland China, while this skill's Leaflet+OSM/CartoDB basemap uses WGS-84. Using GCJ-02 directly causes markers to drift tens to hundreds of meters (often landing in a river or the sea). Coordinates within mainland China MUST be converted with scripts/gcj_convert.py before writing to landmarks.json; the script automatically skips conversion for points outside China (out_of_china check).
    bash
    python3 /var/minis/skills/openstreetmap-marker/scripts/gcj_convert.py <lng> <lat>
    # outputs "wgs_lat,wgs_lng"
  3. Assemble landmarks.json: an array where each item is:
    json
    {"name": "West Lake", "desc": "UNESCO World Heritage Site, Hangzhou's iconic landmark", "address": "Xihu District, Hangzhou", "lat": 30.2614, "lng": 120.1443, "type": "green", "icon": "fa-tree"}
    • name/lat/lng are required; desc/address/type/icon are optional.
    • type determines the marker dot color: red (government/medical/core attraction), green (park/nature), blue (transport/building), purple (commercial/venue), brown (heritage/university), or orange (other). Defaults to blue. Each type also has a sensible default Font Awesome icon (red→fa-star, green→fa-tree, blue→fa-building, purple→fa-bag-shopping, brown→fa-landmark, orange→fa-circle-dot). Leave icon empty to use it.
    • icon (optional): a Font Awesome 6 solid-style icon class name, e.g. "fa-train", "fa-utensils", "fa-mosque", "fa-museum", "fa-mountain". Overrides the type default. Look up icon names at fontawesome.com/icons (free "solid" set). Do NOT use emoji; all icons are unified Font Awesome glyphs rendered via <i class="fa-solid ..."> for a consistent cross-device look.
    • Write this JSON array to a temp file with file_write, e.g. /tmp/landmarks.json.
  4. Generate the page:
    bash
    python3 /var/minis/skills/openstreetmap-marker/scripts/build_map.py \
      /tmp/landmarks.json /var/minis/workspace/<descriptive-filename>.html \
      --title "West Lake Area Landmarks" --header "⚡ Hangzhou Trip" \
      --style light
    • --style light (default, light minimal, Amap-like palette) or --style dark (dark immersive).
    • Without --center/--zoom, the script automatically centers and zooms to fit all points with padding; a single point defaults to zoom 14.
  5. Deliver: present the result to the user as a Markdown link [Preview](minis://workspace/<filename>.html), tappable to open in the built-in browser.

Built-in style features (already handled by the template, no need to re-explain)

  • Full-screen immersive: viewport-fit=cover + env(safe-area-inset-*) for notch/Dynamic Island devices.
  • Semi-transparent top status bar (live clock on the left, custom header text on the right).
  • No bottom search bar / tab bar / side floating buttons (kept minimal per user preference: just map + markers).
  • Markers are circular colored icons (Font Awesome, loaded via CDN cdnjs.cloudflare.com/.../font-awesome/...) + white text label pills for a unified, non-emoji icon style.
  • Leaflet zoom control hidden by default (zoomControl: false) for a clean UI.
  • Tapping a marker opens a Google Maps-style bottom info card (not Leaflet's default popup) showing: title (with FA icon), address (if provided, 📍-style row), coordinates (lat, lng), and desc as a note below a divider. No ratings/route/save/share buttons; kept intentionally minimal. A close (✕) button and tapping the basemap both dismiss it.
  • The info card has a single "Open Location in..." button, which slides up a bottom action sheet listing available map apps vertically (Amap / Google Maps / Apple Maps), each with an FA icon; a "Cancel" row closes the sheet. Available options are platform-aware:
    • Amap (labeled "Amap" in the sheet UI): only shown if the point falls within mainland China (coarse lat/lng range check). landmarks.json stores WGS-84; the frontend JS automatically converts WGS-84→GCJ-02 before building the Amap deep link.
    • Google Maps: always shown.
    • Apple Maps: only shown on iOS (UA-detected); hidden on Android since it is not a relevant or installable app there.
    • Platform is detected via navigator.userAgent (isAndroid / isIOS). Each option first tries a native URL scheme / intent to directly launch the installed app even from inside an embedded WebView; plain https:// links alone do NOT auto-launch native apps in an embedded webview (only a full browser like Safari/Chrome does that reliably). A short setTimeout fallback then redirects to the equivalent https:// web link if the scheme silently fails (app not installed):
      • Amap: iosamap:// (iOS) / amapuri:// (Android) → fallback https://uri.amap.com/marker?...
      • Google Maps: comgooglemaps:// (iOS) / geo:lat,lng?q=... (Android) → fallback https://www.google.com/maps/search/?api=1&query=...
      • Apple Maps: maps:// → fallback https://maps.apple.com/?ll=...
Show full SKILL.md (126 more words)Show less

Tile provider note

Uses CARTO's free Voyager/Dark basemap tiles (no API key required). Fine for personal/demo use, but subject to CARTO's rate limits and non-commercial-scale terms. For high-traffic production use, switch TILE_STYLES in scripts/build_map.py to a licensed provider (Mapbox, Stadia Maps, etc.).

Common adjustments

  • Change basemap: edit TILE_STYLES in scripts/build_map.py and add a new key, e.g. Esri World Imagery tile URL for satellite view.
  • Add routes/tracks: append L.polyline([[lat,lng],...]).addTo(map) to the generated HTML; these coordinates also need GCJ-02→WGS-84 conversion first if in mainland China.
  • Multi-day itineraries: generate one HTML per day, or use different type colors to distinguish Day1/Day2/Day3.

Reference files

  • scripts/gcj_convert.py - GCJ-02→WGS-84 coordinate conversion (single-point CLI and batch JSON mode)
  • scripts/build_map.py - map HTML generator
  • assets/template.html - page template with placeholders __PAGE_TITLE__ __HEADER_TEXT__ __LANDMARKS_JSON__ __CENTER_LAT__ __CENTER_LNG__ __ZOOM__ __TILE_URL__

© OpenMinis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, assets) in openstreetmap-marker of OpenMinis/MinisSkills.

  • SKILL.md
  • assets/template.html
  • scripts/build_map.py
  • scripts/gcj_convert.py

Open the folder on GitHubat commit ae8c5db

Compare with similar skills

Openstreetmap Marker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openstreetmap Marker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openstreetmap Marker this skillOpenMinis/MinisSkills444—~1.9kAutomated safety check: PassMIT
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
Material 3hamen/material-3-skill1.5k2 repos~7.8kAutomated safety check: PassMIT
Trip Map Builderhiyeshu/trip-map-builder244—~1.7kAutomated safety check: PassNone
Frontend Design Routercode-yeongyu/oh-my-openagent70k—~5.3kAutomated safety check: PassCustom licence
Local Testinglobehub/lobe-ui2.2k—~2.1kAutomated safety check: PassMIT

Similar skills

  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • Material 3

    hamen/material-3-skill

    Implement Google's Material Design 3 (Material You) UI system.

    1.5k GitHub starsUsed in 2 repos~7.8k tokens
    Frontend & DesignAuto-check passed
  • Trip Map Builder

    hiyeshu/trip-map-builder

    End-to-end trip planning: gather user constraints, build a reference itinerary, research locations and dining signals via 大众点评 + 小红书, then generate an interactive mobile-first map page (Leaflet +…

    244 GitHub stars~1.7k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Frontend Design Router

    code-yeongyu/oh-my-openagent

    Routes frontend and UI work through design reference rulesets, with a design-system gate plus layout and print guidance, before any UI code is written.

    70k GitHub stars~5.3k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Local Testing

    lobehub/lobe-ui

    Local browser verification for the lobe-ui component library and documentation site.

    2.2k GitHub stars~2.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Antislop Layoutmobile

    miqdadbadjuber/anti-slop

    Mobile layout skill for antislop. An agent skill from miqdadbadjuber/anti-slop.

    5.2k GitHub stars~4.1k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed

More from OpenMinis/MinisSkills

All 49 skills in this repo
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    444 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Codex On Ish

    OpenMinis/MinisSkills

    Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.

    444 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Evidence Chain Builder

    OpenMinis/MinisSkills

    Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.

    444 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Hyperframes CLI

    OpenMinis/MinisSkills

    HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.

    444 GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Whenpeak

    OpenMinis/MinisSkills

    Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.

    444 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • PDF Converter

    OpenMinis/MinisSkills

    Convert documents to PDF via a typst-based pipeline. An agent skill from OpenMinis/MinisSkills.

    444 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed

Questions about Openstreetmap Marker

What does Openstreetmap Marker do?

Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc. Openstreetmap Marker is an agent skill from OpenMinis/MinisSkills. Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

When should I use Openstreetmap Marker?

Openstreetmap Marker fits situations like: the user mentions annotate a map; trip planning map; openStreetMap marker; asks to generate a map page for a city/set of places.

How do I install Openstreetmap Marker in Claude Code?

Run `npx skills add OpenMinis/MinisSkills --skill openstreetmap-marker -a claude-code`. Or copy the skill folder (openstreetmap-marker in OpenMinis/MinisSkills) into .claude/skills/openstreetmap-marker in your project. Claude Code loads it when a task matches its description.

How do I install Openstreetmap Marker in Codex?

Run `npx skills add OpenMinis/MinisSkills --skill openstreetmap-marker -a codex`. Or copy the skill folder (openstreetmap-marker in OpenMinis/MinisSkills) into .agents/skills/openstreetmap-marker in your project. Codex loads it when a task matches its description.

Can I use Openstreetmap Marker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenMinis/MinisSkills --skill openstreetmap-marker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openstreetmap-marker, .gemini/skills/openstreetmap-marker, .github/skills/openstreetmap-marker and .opencode/skills/openstreetmap-marker in your project.

What does Openstreetmap Marker need to run?

Going by SKILL.md and its folder, Openstreetmap Marker needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Openstreetmap Marker access the network?

SKILL.md names 3 domains. In commands or code: uri.amap.com, google.com and maps.apple.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Openstreetmap Marker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Openstreetmap Marker use?

Openstreetmap Marker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openstreetmap Marker use?

About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openstreetmap Marker?

Skills that share tags, products or a category with Openstreetmap Marker: UI Styling (Ohh-889/skyroc, 795 stars), Material 3 (hamen/material-3-skill, 1.5k stars), Trip Map Builder (hiyeshu/trip-map-builder, 244 stars) and Frontend Design Router (code-yeongyu/oh-my-openagent, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openstreetmap Marker?

OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 444 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.