geolonia-google-maps-migration

geolonia-google-maps-migration is a skill for Claude Code from geolonia/geolonia-agent-skills. It costs 127 tokens per session (2,906 once invoked), scanned A, original, MIT.

A migration guide for moving Google Maps JavaScript code to Geolonia’s Google Maps-compatible library, which uses MapLibre GL JS underneath.

In plain words
What is it for?
Use it when replacing Google Maps maps, markers, information windows, clusters, lines, shapes, or circles with Geolonia Maps.
Why use it?
It helps preserve existing map code while identifying which Google Maps features are supported and which service APIs or interactions still need different handling.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the geolonia plugin — 2 skills shipped together

Good fit Use it when replacing Google Maps maps, markers, information windows, clusters, lines, shapes, or circles with Geolonia Maps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration
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 geolonia/geolonia-agent-skills --skill geolonia-google-maps-migration
Clone the repo
git clone --depth 1 https://github.com/geolonia/geolonia-agent-skills

Made for: Claude Code.

Or install geolonia, the plugin that ships this one along with the rest of its 2 skills.

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 geolonia-google-maps-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration/github.svg)](https://agentmods.dev/skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration)
Your own site
<a href="https://agentmods.dev/skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration"><img src="https://agentmods.dev/badge/skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration/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 geolonia-google-maps-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration"><img src="https://agentmods.dev/badge/skills/geolonia/geolonia-agent-skills/geolonia-google-maps-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,906 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.
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.00127 $0.02906
Opus 5 $0.00063 $0.01453
Sonnet 5 $0.00025 $0.00581
Haiku 4.5 $0.00013 $0.00291

Measured 12d ago against content hash 556b53d8e41c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

geolonia-google-maps-migration 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 12d ago.

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.

skills/geolonia-google-maps-migration/SKILL.md · 136 lines

How it starts

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

Geolonia Google Maps 移行ガイド

概要

@geolonia/maps-suite は Google Maps JavaScript API と互換性のあるクラス(Map, Marker, InfoWindow, MarkerClusterer, AdvancedMarkerElement, Polyline, Polygon, Rectangle, Circle, LatLng, LatLngBounds, Point, Size など)を提供する、 MapLibre GL JS ベースのライブラリ。既存の Google Maps 実装を「限りなくコードの変更なしで」 Geolonia Maps に移行することを目的としている。

このスキルの記述は @geolonia/maps-suite v1.2.2 時点のもの。

常に最新版を使うこと。 互換の範囲はリリースごとに広がるため、古い版を指定すると、 いまは公式 API がある機能に対して不要な回避策を書くことになる。バージョンを固定する 理由が無いかぎり、インストールでは版を指定しない(npm install @geolonia/maps-suite)。

インストールした版がこのスキルの記述より新しい場合は、このスキルではなくインストール 済みパッケージの型定義(node_modules/@geolonia/maps-suite/dist/npm/index.d.ts)を正とする。 「無い」と書かれている機能が実際には追加されていることがある。回避策を書く前に、まず その名前で型定義を検索する。

v1.2.2 時点で使える主なものは次のとおり。

  • 図形クラス(Polyline / Polygon / Rectangle / Circle
  • ベクター記号アイコン(SymbolPath
  • カメラ操作(moveCamera / setHeading / setTilt)。panTo() + setZoom() も正しく動く
  • GeoJSON レイヤー(map.datagoogle.maps.Data に相当)
  • 土台へアクセスする公開 API(map.getGeoloniaMap() / map.whenReady() / marker.getMapLibreMarker()

一方で Places/Directions/Geocoder といったサービス系 API、図形のクリックイベント、 draggable/editable/zIndex などは未実装。移行を始める前に、対象コードが何を 使っているか棚卸しし、このスキルの「既知のギャップ」を必ず確認すること。

いつ使うか(When to Use This Skill)

  • Google Maps JavaScript API(google.maps.*)で書かれたコードを Geolonia Maps へ移行したい
  • @googlemaps/js-api-loader@googlemaps/markerclusterer を使ったコードを置き換えたい
  • 既存の地図アプリを Google Maps から Geolonia Maps(MapLibre GL JS ベース)へ切り替えたい

次の場合は無理に適用しない:

  • 新規実装(Google Maps からの移行ではない)→ geolonia-map スキルを使う
  • Mapbox GL JS からの移行 → 別スキル(mapbox-maplibre-migration 等)を参照する

移行手順

  1. 棚卸し(最初にやる): 対象コードが使っている Google Maps API を洗い出す。 Geocoder/DirectionsService/Places、図形のクリックイベント、draggable/editablegestureHandling/mapTypeId 等の MapOptions は maps-suite に 存在しないため、 見つかった場合は先に回避策を確認しておく (references/known-gaps.md)。
  2. インストール: npm install @geolonia/maps-suite maplibre-glmaplibre-gl は peer dependency)。版は指定せず最新を入れる。 入った版は npm ls @geolonia/maps-suite で確認しておく。
  3. API キーの取得: app.geolonia.com のコンソールで発行する (組織内に共有のデモキーは無い)。外部の style.json を使う場合は不要。
  4. ローダーの置き換え: @googlemaps/js-api-loaderimport { geolonia } from '@geolonia/maps-suite' に置き換える (references/api-differences.md)。
  5. 地図の初期化: new geolonia.maps.Map(el, { center, zoom, style, apiKey })gestureHandling/mapTypeId 等は削除し、既定コントロールを消したい場合は disableDefaultUI: true にまとめる。center/zoom を省略すると [0, 0]/z0 の 全球表示3D 建物は既定 ON(切るなら threeDimensional: false)という既定値に 注意(references/api-differences.md)。
  6. マーカー・ポップアップ・クラスタリング: geolonia.maps.Marker/MarkerClusterer はほぼそのまま移植できる。InfoWindow.open() の引数の形が異なる点に注意 (references/api-differences.md)。
  7. マーカーアイコン: icon は画像 URL({ url })とベクター記号 ({ path: SymbolPath.CIRCLE, scale, fillColor, ... })の両方に対応。Google Maps の 記述をそのまま移せる(references/marker-icons.md)。
  8. 図形(Polyline/Polygon/Rectangle/Circle): クラス名を差し替えるだけで移植できる。 地図の読み込み完了を待つ必要も無い。ただしクリックイベントが必要な場合だけは map.getGeoloniaMap() で自前レイヤーを描く(references/shapes.md)。
  9. GeoJSON: google.maps.Data を使っているコードは map.data に移せる。 map.data.addGeoJson(featureCollection) で追加し、map.data.setStyle({ ... }) で 見た目を指定する。スタイルは関数も渡せるので、フィーチャごとの出し分けもできる。
  10. カメラ操作: panTo() の直後の setZoom() は正しく動く(同一の同期処理内の 変更は 1 回のカメラ操作にまとめられる)。await を挟むとまとまらないので、その場合は moveCamera({ center, zoom }) を使う(references/known-gaps.md)。
  11. ビルド・動作確認: npm run build/npm run dev の後、ブラウザで実際に地図・マーカー・ ポップアップ・クラスタリング・図形の動作を確認する。プレースホルダー API キーでも ベースタイルは表示される(フォントグリフの取得のみ 403 になるが無害)ため、実キーが 無くても UI ロジックの確認は進められる。ただし本番投入前には実キーでの最終確認が必要。

Read the full file on GitHub · 136 lines

Files

What ships with it

5 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. 12d ago First seen · 136 lines · 127 tokens per session scan A 556b53d8e41c

Subscribe to this mod's changes

geolonia-google-maps-migration is a skill published in the GitHub repository geolonia/geolonia-agent-skills (2 stars, last pushed 25d ago), licensed MIT. It adds 127 tokens to every session and 2,906 once invoked, about $0.0006 per session on Opus 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-08-31.

Related

Other skills, from other repositories

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens