2026-11-26 15:48 UTC

App Map adds code-linked architecture maps for mobile coding agents

state: seedheat: lowuncertainty: mediumrelevance: mediumcoding-agents mobile-development code-visualizationYoni Vav

What is this?

App Map is a free, MIT-licensed agent skill by Yoni Vizel, published in the yonivav GitHub repository. Its available release supports Flutter, native iOS (Swift/Objective-C), and Android (Kotlin/Java), and can be used with several coding agents, including Claude Code, Cursor, Codex, Gemini CLI, and Copilot. It generates clickable architecture diagrams linked to source code, with optional screenshots of screens and widgets. Its setup can prompt agents to update maps as they edit code and configure pull-request workflows to update and check maps. The supplied evidence is the project’s GitHub documentation and a DEV post by the author; no independent evaluation or adoption evidence is provided. React Native is described as a future phase, not current support.

Why it matters

This is a practical developer tool, not a new model: it uses existing coding agents to turn mobile-app code into browsable, code-linked architecture documentation and help keep it synchronized. That could make onboarding, code review, and cross-platform refactoring easier, especially for teams whose architecture docs go stale. Its significance is bounded by the need to inspect AI-generated maps, configure agent access and API credentials for PR automation, and keep private maps private because they include source excerpts. The project’s capability and cost descriptions are its own claims, not independently verified results.

Current assessment

New: App Map is presented as an available open-source skill for Flutter, iOS, and Android projects. The first-party GitHub documentation says it parses code into module diagrams, links diagram elements to source, can associate UI elements with simulator screenshots, and provides commands to detect and update maps after code changes. It supports multiple coding agents; optional PR automation uses a chosen provider’s action and requires a repository secret. The author reports example mapping times and AI usage costs measured with Claude Opus 5.5; these are project-reported figures and may differ by agent, model, and codebase. The repository lists three mapped open-source examples, but that does not establish broad adoption or independent accuracy. Important caveats: screenshots require platform-specific simulator or emulator setup; screenshots are not automatically refreshed in CI; generated maps contain source excerpts and should not be publicly hosted for private code. React Native is a stated future phase, while plain web is on hold. The evidence supports availability and described functionality, not claims of productivity gains or consistently correct maps.

Measured heat

now 0 pts/hpeak 1 pts/hcomments 0/hpeers p34momentum: steady2 platformsage 24h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-25 16:33 (minted)⭐ origin echo-reconstructedThe repository is the original project artifact, not an intermediary repost. Its README describes “App Map — an AI agent skill for mobile ap
Yoni Vizel (yonivav) on github (echo) · attributed from hn.story.50643269 · published time unknown
—
11-25 15:25first on hacker news · published · lag ?App Map: your AI coding agent draws clickable UML of your mobile app
yonivav
—
11-25 15:25amplified on hacker news 👑hn.story.50643269
yonivav
peak 1 · 1 comments · 103% of case engagement
11-25 16:21our radar first saw it · lag ?discovery anchor: hn.story.50643269—
pace: p41 vs 1444 stories at the 12h mark (now 24h old) — ahead of 42loop-agent-operated-product-experiment (2.0x), behind agentfx-agent-animation-tool (0.7x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnApp Map: your AI coding agent draws clickable UML of your mobile app
Retrieved article excerpt

Open article · Retrieved 2026-11-25T16:22:21.099387+00:00

# App Map — an AI agent skill for mobile apps

[Check](https://github.com/yonivav/app-map/actions/workflows/check.yml) [Release](https://github.com/yonivav/app-map/releases) [License: MIT](https://github.com/yonivav/app-map/blob/main/LICENSE) · [Site](https://yonivav.github.io/app-map/) · [Live examples](https://yonivav.github.io/app-map/examples/) · [The story on dev.to](https://dev.to/yonivav/i-gave-my-ai-coding-agent-one-skill-and-now-it-draws-and-updates-my-apps-architecture-85m)

**Your AI coding assistant draws a map of your app's code, and keeps it up to date.**

Each part of your app gets a page of diagrams. Click any box or arrow to see the real code behind
it, and a picture of how that screen looks in the app. For **Flutter, iOS and Android** apps, with
**Claude Code, Cursor, Codex, Gemini CLI or GitHub Copilot**.

## How to use it

> **1. Install it once.** In Claude Code, one line: `/plugin marketplace add yonivav/app-map`. Any other agent, in a terminal inside your app's folder:
>
> ```
> git clone https://github.com/yonivav/app-map ~/.app-map
> ~/.app-map/install.sh --auto
> ```
>
> **2. Ask your AI assistant:** *"Build an app map of this repo"*
>
> **3. Open `docs/app-map/index.html`** in your browser.

## Make it automatic

> **Already done by step 1.** From now on, whenever your AI assistant changes your code, it
> updates the map too. You write code; the map follows.
>
> **Optional: also on GitHub, for every pull request** (even code written by hand). Add one key
> to your repository, once: `gh secret set ANTHROPIC_API_KEY`, or on GitHub: your repository →
> **Settings → Secrets and variables → Actions → New repository secret**.
>
> No Claude key? A [Gemini key](https://aistudio.google.com/apikey) is free: install with
> `--agent gemini` and name the secret `GEMINI_API_KEY`. Other assistants:
> [details](https://github.com/yonivav/app-map#automatic-updates-in-detail).

[Demo: click a module, a widget's popup shows how it looks and its exact code; "Appears in" links to every diagram that draws a class; an arrow opens the method it calls; search finds any class or file](https://github.com/yonivav/app-map/blob/main/docs/demo.gif)

**Live examples**, each mapped by this skill from a real open-source app (if one saved you time, a ⭐ helps others find the project):

| App | Platform | Open the map |
| --- | --- | --- |
| Wonderous — the Flutter team's showcase app by gskinner (~31k lines, MIT) | Flutter | [▶ Wonderous](https://yonivav.github.io/app-map/examples/wonderous/) |
| NetNewsWire — Brent Simmons' RSS reader (~25k lines, MIT) | iOS · Swift, Objective-C | [▶ NetNewsWire](https://yonivav.github.io/app-map/examples/netnewswire/) |
| Now in Android — Google's Compose showcase app (~29k lines, Apache-2.0) | Android · Kotlin | [▶ Now in Android](https://yonivav.github.io/app-map/examples/now-in-android/) |

[The Wonderous App Map: one card per module, with a screenshot of each](https://github.com/yonivav/app-map/blob/main/docs/overview.jpg)

[Clicking a widget opens its crop from the running app and its exact source, linked to GitHub](https://github.com/yonivav/app-map/blob/main/docs/popup.jpg)

## Automatic updates, in detail

`install.sh --auto` sets up three layers, so nobody has to remember the map:

| When | What happens | Set up by `--auto` |
| --- | --- | --- |
| **While you code with an agent** | Every change the agent makes to a mapped module includes the map update: it runs `app-map changes`, edits only the affected lines of that module's page, rebuilds and verifies. | A short rule in `AGENTS.md` and `CLAUDE.md` (read by Codex, Cursor, Copilot, Gemini CLI and Claude Code) |
| **On every pull request** | An AI agent compares the PR's code with the map, updates the pages it affects and commits the map to the PR's branch — also for code written by hand. Reviewers see the map change next to the code change. | [`.github/workflows/app-map-update.yml`](https://github.com/yonivav/app-map/blob/main/skills/app-map/assets/app-map-update.yml) — with the agent of your choice (below) |
| **On every pull request** | The map is rebuilt and checked: the PR fails if a diagram stops rendering or names code that no longer exists, and the PR summary lists what changed since the map was synced. | [`.github/workflows/app-map-check.yml`](https://github.com/yonivav/app-map/blob/main/skills/app-map/assets/app-map-check.yml) |

**The pull-request agent is yours to pick** with `--agent` (default `claude`); add its key once
as a repository secret:

| `--agent` | Runs | Secret |
| --- | --- | --- |
| `claude` | [Claude Code action](https://github.com/anthropics/claude-code-action) | `gh secret set ANTHROPIC_API_KEY` |
| `codex` | [OpenAI Codex action](https://github.com/openai/codex-action) | `gh secret set OPENAI_API_KEY` |
| `gemini` | [Gemini CLI action](https://github.com/google-github-actions/run-gemini-cli) | `gh secret set GEMINI_API_KEY` |
| `cursor` | [Cursor CLI](https://cursor.com/docs/cli/github-actions), headless | `gh secret set CURSOR_API_KEY` |
| `copilot` | [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions), headless | `gh secret set COPILOT_GITHUB_TOKEN` (a token of a user with Copilot) |

Switch later by editing `AGENT:` in `.github/workflows/app-map-update.yml`. `--map <folder>`
puts the map somewhere other than `docs/app-map`. Running `--auto` again updates the rule in
place, never twice.

Still yours to ask for: **new screenshots** after a screen's look changes (they need a simulator,
so they don't run in CI): *"retake the app map screenshots for the settings module"*.

## Install, in detail

App Map is an [Agent Skill](https://agentskills.io): a `SKILL.md` with scripts, in the open
format that most coding agents now read.

```
git clone https://github.com/yonivav/app-map ~/.app-map
cd your-app && ~/.app-map/install.sh          # into this repo (commit it to share with your team)
~/.app-map/install.sh --auto                  # …and keep the map current by itself (above)
~/.app-map/install.sh --user                  # or once, for every repo on your machine
```

| Agent | Reads it from |
| --- | --- |
| OpenAI Codex | `.agents/skills/app-map` |
| Gemini CLI | `.agents/skills/app-map` |
| GitHub Copilot (CLI, VS Code, JetBrains, cloud agent) | `.agents/skills/app-map` |
| Cursor | `.cursor/skills/app-map`, plus a `.cursor/rules/app-map.mdc` pointer |
| Claude Code | `.claude/skills/app-map` (or, inside Claude Code: `/plugin marketplace add yonivav/app-map`) |
| Anything else | point it at `.agents/skills/app-map/SKILL.md` (e.g. from `AGENTS.md`) |

`--link` symlinks instead of copying, so `git -C ~/.app-map pull` updates every repo.

### What you need

|  | Maps (diagrams, code popups, updates) | Screenshots |
| --- | --- | --- |
| **Any app** | Python 3.9+, git, Chrome (for `verify`); macOS or Linux (CI builds the examples on Linux) | — |
| **Flutter** | the Dart SDK recommended (reads every syntax; works without it) | macOS with Xcode (an iOS simulator) |
| **iOS** (Swift, Objective-C) | nothing more | macOS with Xcode; the app builds for the simulator |
| **Android** (Kotlin, Java) | nothing more | the Android SDK with an emulator image; tested on macOS, not yet on Linux |

The map's Python environment sets itself up on first use (`~/.cache/app-map/venv`).

### How long it takes, what it costs

App Map is free and open source. What costs money is the AI usage, paid to your AI provider
through your own agent's plan or API key. Measured with Claude Code (Claude Opus 5.5), each a fresh agent given only the prompt a user
would type, on open-source apps it had never seen:

| Task | App | Time | AI usage cost |
| --- | --- | --- | --- |
| *"Build an app map of this repo"* | [Sunflower](https://github.com/android/sunflower) (Kotlin, ~4.8k lines) | 3.6 min | $1.26 |
| *"Build an app map of this repo"*, with screenshots | [Now in Android](https://github.com/android/nowinandroid) (Kotlin, ~29k lines) | 12.8 min | $3.26 |
| *"Update the app map"* after renaming a method | Sunflower | 50 s | $0.30 |

Other agents and models will differ.

## Ask your agent

Once installed, talk to your agent in plain words. For example:

| Ask | What happens |
| --- | --- |
| *"Build an app map of this repo"* | It proposes the modules, then writes one page each, builds the site and checks every page |
| *"Update the app map"* | It lists what changed in the code since the map was synced and edits only those pages |
| *"Is the app map up to date?"* | It reports, per module, the classes that changed, the names that no longer exist, and new classes not on the map |
| *"Where is `WondersLogic` on the map?"* or *"…`lib/logic/wonders_logic.dart`?"* | It lists every diagram that draws that class, or that file's classes |
| *"Add the new Settings screen to the app map"* | It adds the screen to the right module (or a new one) and to the overview |
| *"Take screenshots for the app map"* | It runs the app on a simulator, adds each module's screenshots, and crops every page and widget for the popups |
| *"Using the app map, explain how the timeline works"* | It reads the module's page and code to answer, with links to the exact lines |

**Before you publish a map:** the built site includes excerpts of your source code (that's what
the popups show). Keep a private app's map private — commit it to the app's own repo, don't host
it on public GitHub Pages.

The skill's own tools also work on their own:

| Command | What it does |
| --- | --- |
| `app-map build <map>` | Markdown → the clickable site: pages, code popups, search |
| `app-map changes <map>` / `sync <map>` | what changed in the code since the map was synced, per module; mark it current |
| `app-map where <map> <Class or file>` | code → map: every diagram that draws it |
| `app-map facts <map> <Class>…` | what each class builds and uses, by role: the raw material for its diagrams (Dart, with the Dart SDK; role/`extends`/`implements` only for Swift, Kotlin, Java, Objective-C, or Dart without an SDK) |
| `app-map verify <map>` | renders every page in headless Chrome; flags Mermaid pitfalls, leftover placeholders and names that won't click |
| `app-map shots [ios|android] …` | runs a screenshot scenario on a simulator or emulator of its own (Flutter, iOS or Android) |
| `app-map crop <shots> <map>` | crops each page/widget from its best shot (nothing covering it) |

## Why

Architecture docs go stale the day they're written, and UML tools draw boxes nobody can check.
An App map is different:

- **Grounded in the code.** Each diagram is drawn from the classes the code actually builds and
  calls (`app-map facts`). Each name is checked against the source (`app-map verify`).
- **Clickable down to the line.** Class names, members, relation labels and sequence calls open
  the exact code in a popup, with an "open in VS Code" link.
- **Shows the real UI.** A simulator run logs where every page and widget sits on screen. Each
  popup then shows a crop of that widget from the running app.
- **Markdown in your repo.** Each module is a Markdown file GitHub renders as it is (Mermaid
  included); `app-map build` makes the clickable site from it. Map changes are reviewable diffs.
- **Both directions.** From a box to its code, and from code to the map: every popup says where
  else the class appears, the overview finds any class or file, `app-map where` does it in the
  terminal.
- **Stays current.** The map remembers the commit it describes; `app-map changes` lists, per
  module, what changed since. With `--auto`, your agent and a PR bot update it as the code
  changes.

## When to use it

- **Onboarding** — point a new engineer, or an AI agent working on the codebase for the first
  time, at the map before the code. It's faster to correct a wrong diagram than to re-derive the
  architecture from scratch.
- **Before a refactor, a platform port or a native rewrite** (a Flutter screen going native, or
  t
yonivav11
🟧 echo.github ⭐The repository is the original project artifact, not an intermediary repost. Its README describes “App Map — an AI agent skill for mobile apYoni Vizel (yonivav)——

Interpretation history

Decision trace