/you-are-here:you-are-herefrom you-are-here
Generates a one-file HTML project map of a git repo showing parts, status, dependencies, and blockers. Useful for checking progress after unattended agent runs or before milestones.
Ships in you-are-here. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The script does the deterministic work: collecting facts, diffing and rendering. You do the
judgment: what the parts are, where they stand, what blocks what. Write the map in map.json;
optional conversation statistics come from the log reader below.
The map should explain where the project is, what blocks delivery, and how the remaining work connects. Keep milestones above the main dependency graph, parts below it, and actions beside it. Evidence and long tables may collapse; the main path and bottleneck stay visible. A neat set of status cards alone is not a map when the project has known delivery dependencies.
PMAP below means python3 <skill-dir>/scripts/pmap.py, where <skill-dir> is the directory that
contains this SKILL.md. Python 3.8+ only, no dependencies. gh is optional (issues, PRs, CI).
What the script does, so you don't need to read it: read-only git (log, status, rev-parse,
for-each-ref; run with GIT_OPTIONAL_LOCKS=0, never fetch) and read-only gh (repo view; issue,
pr and run list). It writes only inside the output dir and holds a lock there while it runs.
<repo>/.project-map/, which
ignores itself via its own .gitignore). Use --out DIR if the user wants it elsewhere.collect makes only read-only gh calls. Pass --no-gh when the user wants no network.
Extra read-only lookups such as gh run view <id> --log-failed are fine for explaining a stuck node.paths must not overlap. Use directories or globs (src/sync, src/**/*.ts; * stays inside one
directory, ** crosses directories).in_progress, and its open field says what is left.
Keep earlier verified completion unless new evidence contradicts it; not rerunning a check today
is an evidence-age note, not unfinished work. Distinguish technical verification from user acceptance.waiting_on names that thing.from → to means from has to finish first. Keep parallel branches and
joins as separate edges; do not flatten them into an invented sequence. Mark a bottleneck only when
evidence connects unfinished work to the goal. A version mismatch or suggested sequence alone
is not a blocker; inferred-only paths are shown as suggested order. An empty chain is valid
when no dependency is established. Read the relevant plan before reaching that conclusion;
missing analysis is not evidence of independent work.#123, a short SHA, `path`, run:123456, or
a URL. If you have none, mark the part "inferred": true."proposed": true, and only current or future milestones can be proposed.Unreleased changelog section, a release doc), an open GitHub milestone, or an epic issue or plan.
If there are several, pick the one the most recent commits work toward. A blocker in another repo
(an upstream PR, a dependency release) is a node on the chain, not a different milestone.
If no next goal is established, keep the completed milestones with no current; the page says
"next goal undecided". Do not invent a milestone or backlog to fill the layout.label describing what is counted. A changed
label is a changed measure, not numerical progress.ids even when renamed. Mark verified completion done before
removing it in a later update; removal alone never means completion.deadline) must be reversible and local
("reversible": true). Merging, pushing, releasing, deleting and spending never get a deadline;
they wait for the user.PMAP style. If it says "not set yet" and the user is
available, ask once: dark or light, one accent color, zh or en. Save with
PMAP style --theme dark --accent '#2dd4bf' --lang zh. In an unattended run, use the defaults
and say so in your report.PMAP collect <repo> [--out DIR]. It prints the mode and writes facts.json:
commits (incl. upstream), changed files, worktree, branches, tags, doc hints, plan files, open
issues and PRs with check counts, default-branch CI runs, and collector warnings.initial mode: read facts.json, the README, the doc hints, and the plan files it found
(plans: spec-kit and Kiro tasks.md, Taskmaster tasks.json, ExecPlans, checklists). Plans
are the best source for milestones, remaining items and progress: cite their path as evidence.
Skim the source layout; you need enough to name the parts, not every file.incremental mode: read the previous map.json and facts.json → delta. It lists
touched_parts (new commits and uncommitted edits mapped onto each part's paths),
unmapped_files, worktree_changed, new_tags, plans (progress changes) and github
(PRs opened, merged or changed, issues, new CI runs). Re-examine what the delta names, plus a
chain node whose state lives elsewhere. Carry everything else over; don't re-read the repo.facts.json → answers holds the user's answers to decisions since the last map.
Apply each one: drop or update the decision, and follow the answer in the chain and next step.map.json in the output dir, following references/schema.md:
project.summary: explain what the project does and who uses it, in plain language. A repo
name or slogan alone is not enough; keep progress in headline.headline: one sentence for the morning. What changed since the last map and what needs the
user, e.g. "Search shipped; sync is stuck on your clock decision; PDF export is next."current), and remaining with stable ids for that goal;chain and any evidenced bottleneck, or no chain when no dependency is established;paths, evidence and, when a node or remaining item is the same work, part on it;
keep their logical order stable across updates. Use short names and a concise summary;
the map keeps every part visible and opens full details and evidence on click.next_step with owner (user or agent), action (the command, link or concrete step) and
unblocks (what it frees up);decisions: each with a default. A real fork can list options and chain nodes can hang off
an option with if, so the page can show the other path;uncertain: at most 5 short items that would change a decision;panels that fit this project. Panels are for the human: project facts, not notes about
how you made the map.PMAP render <repo> [--out DIR]. It validates first: fix every error: and re-run.
For presentation-only changes, render the saved map directly. Repeated renders preserve the
last content change; a new mapping invocation starts with collect.
It also prints warning: lines where the map breaks the meanings above or the text budget.
Fix them unless you have a reason; say the reason in your report.
Check the actual page: the goal, current position, dependency branches and bottleneck should
be understandable before expanding details. Inspect a narrow window and node/evidence links.
When changing the renderer, compare the same map data before and after; schema validity and
successful rendering alone do not establish that the diagram is useful.Only when the user asks how many tokens the session or this run used: read references/usage.md and follow it. Routine maps leave usage out.
Whether they answer in chat or paste a line copied from the page, record it so every agent and
background refresh sees it: PMAP answer <repo> --id <decision id or d0, d1…> --answer "<answer>"
(or --question "<text>"). Then act on it.
PMAP index <folder> writes one page over every repo under the folder that has a map, with the
repos that need the user first. Use it when the user asks about all their projects.
Run PMAP status <repo> (git only, no network, no model). fresh → answer from
<out>/map.json. stale or none → update the map first (incremental), then answer from it.
By default, one new commit or one changed file makes the map stale. When it says severely behind
(20+ commits, or 3+ days with changes), do not quote the old map at all; refresh first. Background updates retain
their existing interval limit; accurate freshness does not mean invoking the model on every edit.
fresh describes only the Git check. If the answer depends on current PR, CI or issue status,
run collect and reconcile those facts even when Git is fresh. The page displays separate Git
and GitHub collection times; collector warnings still limit what was verified.
Draw a map before starting and update it after each milestone (PMAP status tells you when the
map is stale). When the you-are-here plugin is installed, start its you-are-here subagent in the
background so the main session keeps working. Put anything that needs the user's call into
decisions with a default, and go ahead with the default when the deadline passes, but only for
reversible, local choices.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
project-map, progress-tracking, git-visualization, status-page
npx claudepluginhub majiayu000/you-are-here --plugin you-are-hereOther plugins' skills for the same job