route-map-visualizer

route-map-visualizer is a skill for Claude Code, Codex from microsoft/cat-agent-skills. It costs 149 tokens per session (1,460 once invoked), scanned A, original, MIT.

A map-making tool for displaying locations and ordered travel routes. It can use coordinates or route data from mapping services and produce map images or web pages.

In plain words
What is it for?
Mapping site lists, CRM records, weather locations, delivery stops, and journeys with their paths, distances, or round-trip structure.
Why use it?
It removes the need to draw stops and paths by hand while avoiding guessed locations. It also keeps supplied road geometry and distances tied to the route.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Mapping site lists, CRM records, weather locations, delivery stops, and journeys with their paths, distances, or round-trip structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/cat-agent-skills/route-map-visualizer
About the project

microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.

microsoft/cat-agent-skills · 93 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/cat-agent-skills --skill route-map-visualizer
Clone the repo
git clone --depth 1 https://github.com/microsoft/cat-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for route-map-visualizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/route-map-visualizer/github.svg)](https://agentmods.dev/skills/microsoft/cat-agent-skills/route-map-visualizer)
Your own site
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/route-map-visualizer"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/route-map-visualizer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for route-map-visualizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/route-map-visualizer"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/route-map-visualizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00149 $0.01460
Opus 5.5 $0.00060 $0.00584
Sonnet 5.5 $0.00030 $0.00292
Haiku 4.5 $0.00015 $0.00146

Measured 1mo ago against content hash 93ecf2d3c1ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

route-map-visualizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/map_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

submissions/route-map-visualizer/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Visualizes pre-ordered routes and location maps via scripts/map_generator.py. Fully offline Python engine — no outbound HTTP from Python. Road geometry rendered directly when provided by a connector; OSRM used browser-side as a fallback when it is not.

Steps

1. Choose kind

Value Use when
"map" Plot locations only — no path (weather, CRM records, site lists)
"route" Ordered stops + path
"auto" Default — infers map unless stops key or round_trip hint

2. Resolve coordinates — per point, in order:

  1. lat/lon already present — from user, connector result, Dataverse, CRM, CSV, etc. Never overwrite.
  2. Alias match in assets/place_lookup.json
  3. Web-search the place's lat/lon, then add to payload

Never call external geocoding APIs from the script. Never invent coordinates.

3. Pass connector route data (when available)

If an upstream connector (Azure Maps, Bing Maps, etc.) returned routing data, pass it directly — the visualizer will use it for accurate distances and the actual road polyline in PNG and HTML:

Field Source Effect
route_geometry Connector road polyline Draw actual road path in PNG + HTML
legs Connector leg breakdown Show per-leg distance/time table
route_source e.g. "azure_maps" Attribution badge on map and outputs
total_distance_m Connector total distance Accurate distance in header + exports
total_duration_s Connector total time Accurate time in header + exports

Without these, the PNG uses straight lines (labeled schematic) and the HTML calls OSRM browser-side for road routing.

4. Point fields

Field Notes
lat, lon Required (or place_lookup match)
name Display label
value Metric — "24 C", "$1.2M", CRM field, etc.
icon See icon list below
color Hex (validated — invalid values fall back to default)
order Optional sequence number (connector-assigned)

5. Call generate()

import sys; sys.path.insert(0, "scripts")
from map_generator import generate

# Minimal — stops in provided order, schematic PNG, OSRM HTML
result = generate({
    "kind": "route",
    "title": "Delivery run",
    "stops": [
        {"name": "Depot",  "lat": -33.86, "lon": 151.21},
        {"name": "Stop A", "lat": -33.90, "lon": 151.18},
        {"name": "Stop B", "lat": -33.88, "lon": 151.15},
    ],
    # Optional exports (all off by default):
    # "html": True   "csv": True   "geojson": True   "kml": True
    # "map_links": True   "qr_codes": True
})

# With connector road data — produces accurate PNG + no OSRM needed
result = generate({
    "kind": "route",
    "title": "Delivery run — Azure Maps",
    "stops": [...],
    "route_geometry": [              # connector road polyline
        {"lat": -33.860, "lon": 151.210},
        {"lat": -33.865, "lon": 151.208},
        ...
    ],
    "legs": [                        # per-leg breakdown
        {"from": "Depot", "to": "Stop A", "distance_m": 5200,
         "duration_s": 420, "summary": "via Parramatta Rd"},
        {"from": "Stop A", "to": "Stop B", "distance_m": 3100,
         "duration_s": 280, "summary": "via Church St"},
    ],
    "route_source": "azure_maps",
    "total_distance_m": 8300,
    "total_duration_s": 700,
    "html": True,
})
print(result["markdown"])

Key result keys: chart_path (PNG, always), html_path, csv_path, geojson_path, kml_path, map_links_path, qr_sheet_path, google_maps_url, apple_maps_url, bing_maps_url, has_road_geometry, route_source, generated_exports.

6. Reply — paste result["markdown"]. It always ends with an Optional exports hint. Clarify:

  • PNG = road route when route_geometry provided, else straight-line schematic
  • HTML = connector polyline embedded (no OSRM) when geometry provided, else OSRM browser-side
  • schematic_order: true — opt-in offline stop ordering (NN + 2-opt, straight-line estimate); always prefer a connector for real road order

Read the full file on GitHub · 138 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 138 lines · 149 tokens per session scan A 93ecf2d3c1ea

Subscribe to this mod's changes

route-map-visualizer is a skill published in the GitHub repository microsoft/cat-agent-skills (93 stars, last pushed today), licensed MIT. It adds 149 tokens to every session and 1,460 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens