axiom-mapkit-diag

axiom-mapkit-diag is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 32 tokens per session (3,788 once invoked), scanned A, original, MIT.

A symptom-based guide for finding and fixing common Apple MapKit problems, such as missing pins, broken clustering, search failures, and map overlays that do not render.

In plain words
What is it for?
Use it to troubleshoot annotations, map regions, clustering, overlays, location display, and local search in an iOS app.
Why use it?
It gives you a short diagnostic path instead of making you guess which MapKit setting or delegate method is wrong.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to troubleshoot annotations, map regions, clustering, overlays, location display, and local search in an iOS app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/axiom-mapkit-diag
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 ComeOnOliver/skillshub --skill axiom-mapkit-diag
Clone the repo
git clone --depth 1 https://github.com/ComeOnOliver/skillshub

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 axiom-mapkit-diag

README.md
[![agentmods](https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-mapkit-diag/github.svg)](https://agentmods.dev/skills/comeonoliver/skillshub/axiom-mapkit-diag)
Your own site
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-mapkit-diag"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-mapkit-diag/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 axiom-mapkit-diag

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-mapkit-diag"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-mapkit-diag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,788 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.00032 $0.03788
Opus 5 $0.00016 $0.01894
Sonnet 5 $0.00006 $0.00758
Haiku 4.5 $0.00003 $0.00379

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

Security

Grade A, and why

axiom-mapkit-diag 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 9d 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/CharlesWiltgen/Axiom/axiom-mapkit-diag/SKILL.md · 464 lines

How it starts

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

MapKit Diagnostics

Symptom-based MapKit troubleshooting. Start with the symptom you're seeing, follow the diagnostic path.

  • axiom-mapkit — Patterns, decision trees, anti-patterns
  • axiom-mapkit-ref — API reference, code examples

Quick Reference

Symptom Check First Common Fix
Annotations not appearing Coordinate values (lat/lng swapped?) Verify coordinate, check viewFor delegate
Map region jumps/loops updateUIView guard Add region equality check
Slow with many annotations Annotation count, view reuse Enable clustering, implement view reuse
Clustering not working clusteringIdentifier set? Set same identifier on all views
Overlays not rendering renderer delegate method Return correct MKOverlayRenderer subclass
Search returns no results resultTypes, region bias Set appropriate resultTypes and region
User location not showing Authorization status Request CLLocationManager authorization first
Coordinates appear wrong lat/lng order MapKit uses (latitude, longitude) — verify data source

Symptom 1: Annotations Not Appearing

Decision Tree

Q1: Are coordinates valid?
├─ 0,0 or NaN → Data source returning default/empty values
│   Fix: Validate coordinates before adding annotations
│   Debug: print("\(annotation.coordinate.latitude), \(annotation.coordinate.longitude)")
│
└─ Valid numbers → Check next

Q2: Are lat/lng swapped?
├─ YES (common with GeoJSON which uses [longitude, latitude]) → Swap values
│   GeoJSON: [lng, lat] — MapKit: CLLocationCoordinate2D(latitude:, longitude:)
│   Fix: CLLocationCoordinate2D(latitude: json[1], longitude: json[0])
│
└─ NO → Check next

Q3: (MKMapView) Is mapView(_:viewFor:) delegate returning nil for your annotations?
├─ Not implemented → System uses default pin (should appear)
├─ Returns nil → System uses default pin (should appear)
├─ Returns wrong view → Check implementation
│
└─ Check delegate is set

Q4: (MKMapView) Is delegate set?
├─ NO → mapView.delegate = self (or context.coordinator in UIViewRepresentable)
│   Without delegate: default pins appear. But if viewFor returns nil, check annotation type
│
└─ YES → Check next

Q5: (SwiftUI) Are annotations in Map content builder?
├─ NO → Annotations must be inside Map { ... } content closure
│   Fix: Map(position: $pos) { Marker("Name", coordinate: coord) }
│
└─ YES → Check next

Q6: Is the map region showing the annotation coordinates?
├─ Map centered elsewhere → Adjust camera/region to include annotation coordinates
│   Debug: Compare mapView.region with annotation coordinates
│   Fix: Use .automatic camera position or set region to fit annotations
│
└─ Region includes annotations → Check displayPriority

Q7: (MKMapView) Is displayPriority too low?
├─ .defaultLow → System may hide annotations at certain zoom levels
│   Fix: view.displayPriority = .required for must-show annotations
│
└─ .required → Annotation should appear — file a bug report with minimal repro

Read the full file on GitHub · 464 lines

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. 9d ago First seen · 464 lines · 32 tokens per session scan A 2766a69106b4

Subscribe to this mod's changes

axiom-mapkit-diag is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 3,788 once invoked, about $0.0002 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-09-03.