Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add GuangminJu/mellos-mapping/plugin install mellos-mappingWrote 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.
[](https://agentmods.dev/commands/guangminju/mellos-mapping/mmap)<a href="https://agentmods.dev/commands/guangminju/mellos-mapping/mmap"><img src="https://agentmods.dev/badge/commands/guangminju/mellos-mapping/mmap.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.01601 |
| Opus 5 | $0.00007 | $0.00800 |
| Sonnet 5 | $0.00003 | $0.00320 |
| Haiku 4.5 | $0.00001 | $0.00160 |
Grade A, and why
mmap 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
If $ARGUMENTS contains setup, do NOT open the pane. Run the setup
questionnaire instead: call mmap_setup (no arguments) to read the current
policy — the reply names the USER-level choice, this project's override if it
has one, and which of them is in effect. Then ask the user which mode they
want — always (map every structured task: workflows, designs, architecture,
technical dependencies), complex (only medium or complex tasks),
on-request (only when explicitly asked) — using AskUserQuestion where
available, mentioning whatever is already set.
Persist with mmap_setup {policy, scope}. scope defaults to user, which
is almost always right: the question is about how this person works, so it is
answered once and applies to every project they open. Use
scope: "project" only when they say they want THIS project to differ from
that — ask which they mean if $ARGUMENTS does not make it obvious. Confirm
what was saved, at which scope, and where. Then stop.
Otherwise: open the live Mellos map watcher for this project in a separate terminal pane.
The mmap_open tool does exactly this and is the shorter route — pass the page
this conversation is working on (mmap_open {page: "<slug>"}), or window: true
for the dedicated window. It reports whether a pane actually came up afterwards.
Use the platform routes below when the mmap tools are not available in this
session, or when the tool reports it could not open one. (You do not need this
command to keep the map visible day to day: every write answers with a pane:
line, and a pane: CLOSED is the assistant's cue to call mmap_open itself.)
The watcher is at ${CLAUDE_PLUGIN_ROOT}/dist/watch.mjs. The store is
MULTI-PAGE: the default page lives at .mellos/map.json and named
pages at .mellos/pages/<slug>.json — the watcher takes the
default path as its base, polls ALL of these files, and redraws on change.
The default file is optional; a project whose work lives on named pages has
no .mellos/map.json at all. So never probe that single file to
decide whether a map exists — call mmap_view, which reads the real store
and ends every response with a pages: line naming the pages that exist
(marking the default page absent when it is) and the one it just rendered.
Follow the platform-appropriate route:
-
Windows with Windows Terminal (
wtavailable — the usual case): runnode "${CLAUDE_PLUGIN_ROOT}/scripts/open-pane.mjs" "<PROJECT_DIR>" --page <PAGE_SLUG>replacing
<PROJECT_DIR>with the absolute project directory and<PAGE_SLUG>with the page THIS conversation's effort lives on — the same slug you pass to the mmap tools. Care about what the pane actually shows: without--pageit opens on the most recently written page, which after a gap or in a multi-effort project may not be the one under discussion. Omit--pageonly when no particular page is the subject (the user just wants the map open), or for the default page. The launcher identifies the Windows Terminal window hosting THIS session (console-title nonce probe), brings it to the foreground, and splits it vertically — the map lands beside the conversation even with several terminal windows open. If the session window cannot be identified or focused (session tab inactive, screen locked, not hosted in Windows Terminal), it deterministically falls back to a dedicated window named "mellos-mapping" — never a random window — and its output says which mode it used and why; relay that to the user.Flags:
--page <slug>names the page to show first. Once open, the pane AUTO-FOLLOWS the page being written (the map the agent is operating on), so it tracks the work by itself; the user can toggle that with thefkey, and--no-followstarts it off. When a watcher for the project is ALREADY running, the launcher does not open another pane — it retargets the existing one (output saysrefocused=<slug>, picked up within a poll tick); rerun with--pagewhen the user asks to see a specific page.--windowskips the split and opens the map in the dedicated window on purpose — use it when the user prefers the map separate from the chat (second monitor, small screens).--asciifor fonts without box-drawing characters.--forceopens another pane even though a watcher for this project is already running (default is to skip). The remaining watcher flags are forwarded verbatim:--no-color,--no-mouse,--interval <ms>(default 250, floored at 50). An unknown flag is a usage error, never dropped in silence — relay the message rather than retrying blind.
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.
- 8d ago First seen · 110 lines · 14 tokens per session scan A 72aad243f80a
mmap is a command published in the GitHub repository GuangminJu/mellos-mapping (10 stars, last pushed 10d ago), licensed MIT. It adds 14 tokens to every session and 1,601 once invoked, about $0.0001 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.
Other commands, from other repositories
sdd-init
Initialize SDD context — detects project stack and bootstraps persistence backend.
init
Install the formatters this repository needs, with every command visible before it runs.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.
capture-feedback
Quick feedback capture with structured signals.
audit-plugin
Audit plugin skills, commands, and agents for structure, size, and naming issues.