/session:session-map [full|update|render] [--map-dir <path>] [--project <id>|--session <id>] [--root <path>] [--herdr-session <name>] [--source <name>] [--no-open]from session
Build and maintain a saved HTML map of projects and agent sessions, showing related work, current owners, progress, closure candidates, and copyable tab-navigation commands. Use for "map my sessions", "build a project and session dashboard", "update the session map", or "regenerate the map from its inventory". Supports full inventory, incremental updates, and rendering saved data. Not for a quick session listing (session-agent-list), orientation inside one conversation (session-recap), or executing cleanup (session-loose-ends).
Ships in session. 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.
Keep a local, browsable inventory that explains which sessions belong to each project, where the work stands, and how to return to the right tab.
| Request | Action |
|---|---|
| No mode | Create the first inventory, otherwise update the existing map. |
full | Recollect the configured sources; retain identities and user corrections. |
update | Refresh discovery and liveness; parse changed evidence and reassess affected records. |
render | Generate HTML using saved data only, without inspecting source sessions or projects. |
--map-dir selects an existing map or the directory for a new one. Otherwise
use the default reported by the helper. Never replace a corrupt or unsupported
inventory with an empty map. Project and session scopes use the persistent IDs
shown in the saved inventory, not table positions or abbreviated native IDs.
SKILL.md to its real
path, then locate the bundled scripts/session-map.
Run its --help if you need the current flags. Use Python 3.11 or newer on macOS or Linux.
Reuse a map path supplied by the user, the HTML's update prompt, or the
conversation. Otherwise use the helper's default. Resolve paths before
showing commands to the user.render,
run the helper and go directly to step 6. For an initial map or an update,
run the helper with --no-open while assessments are being prepared.
Keep any explicit scope and source configuration. Use repeatable --root
for requested project search roots and --herdr-session for explicitly
selected Herdr instances; never borrow an ambient focused instance. Read
references/update-protocol.md when updating,
importing an earlier map, or recovering from an interrupted run.inventory.json and
assessment-queue.json in the map directory. A failed source can leave
useful partial results. State its gap and retain prior observations.
Read changed or queued evidence, not every historical transcript again.
Use the recorded source paths, bounded excerpts, and plan links to resolve
material uncertainty. A shared working directory alone does not establish
shared work.assess.
Preserve user corrections through the helper's annotation interface rather
than rewriting collected facts. Use annotate only for a correction the
user actually supplied. A changed generation requires rereading
the queue before applying an assessment.render after accepted assessments, keeping
--no-open if the user requested it. The
output includes the new evidence, unchanged assessments with their original
timestamps, pending work, source errors, and changes since the last update.
Do not conceal incomplete assessment behind a successful HTML build.index.html unless
called with --no-open; do not open a second copy. Report the map path,
collection scope, additions/changes,
unresolved assessments, and source gaps. Distinguish a successful open
command from an actual browser inspection. Keep the report concise; the
page carries the inventory details.Links to references and the helper resolve from this skill directory. Native
discovery reuses
../session-agent-list/scripts/session-inventory.
Normal file reads follow a skill placement's symlink before resolving ...
For lexical path calculations, resolve SKILL.md with realpath first, then
derive its parent directory.
The helper resolves the sibling collector and supported installed fallbacks.
A standalone copy should include session-agent-list beside this skill, or
provide its collector on PATH. If no collector resolves, retain the partial
map and report the missing native-discovery capability. Do not recreate native
store parsers in the conversation. The adapter boundaries and coverage rules
are in references/adapter-contract.md.
session-recap — return to one session.session-loose-ends — inspect and
execute separately authorized cleanup.session-handoff — create a handoff;
the map only records handoff relationships.references/adapter-contract.md (opens in a new tab)references/assessment-rules.md (opens in a new tab)references/inventory-schema.md (opens in a new tab)references/update-protocol.md (opens in a new tab)scripts/session-map (opens in a new tab)scripts/session_map/__init__.py (opens in a new tab)scripts/session_map/cli.py (opens in a new tab)scripts/session_map/collect.py (opens in a new tab)scripts/session_map/migrate.py (opens in a new tab)scripts/session_map/projects.py (opens in a new tab)scripts/session_map/render.py (opens in a new tab)scripts/session_map/state.py (opens in a new tab)templates/index.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/session-agent-listList Claude Code, Codex, Muse, OpenCode, Antigravity (agy), and borg1 sessions on this machine as action-ready cards with resume commands, filterable by tool and by what is running now. Use when the user asks to list, find, or resume a past session, which sessions touched a repo, or which sessions are in use. Not for a saved HTML project/session map or its incremental updates (session-map), or orienting inside the current session (session-recap)./session-handoffPackage the current session into a self-contained handoff that a fresh session, possibly on another machine, can act on cold. Use when the user says "hand this off", "write a handoff", or wants to continue this work in a new session or on another machine. Not for recapping the current session (session-recap), launching a side idea in a new Rex tab (session-spinoff), or moving this same conversation to another Rex session (session-move)./session-loose-endsSweep the session for loose ends such as uncommitted or unpushed work, stale worktrees, zombie background jobs, unkept promises, and tracking drift. Reports each with a recommendation and cleans up only what the user approves. Use when the user asks "any loose ends?", "anything to clean up?", or "tie this off". Not for a full recap (session-recap) or for cleaning up objects registered in brot (brot)./session-moveMove a Rex window (a tab in the Rex app) from one Rex session to another on the same computer. Rex cannot move a window between sessions, so this recreates it in the destination with the same agent (Claude Code, Codex, Muse, Antigravity, or borg1), the same conversation resumed by ID, the same working directory, and the same window name, then closes the old window. Use when the user says "move this window to <session>", "move this tab to another session", "session move", or wants a running agent conversation relocated between Rex sessions. Not for launching a new side idea in a fresh agent (session-spinoff), continuing work in a new conversation or on another machine (session-handoff), copying a conversation into a new worktree (agent-fork), or general Rex tab and session control (rex)./session-recapOrient in a session that was left idle, compacted, or reopened cold, covering what it is about, done versus open, live git and PR state, and ranked next steps. Use when the user asks "catch me up", "where was I", or "what was I doing", or returns to a repo unsure where things stand. Not for mid-flight progress of active work (session-status) or cleanup (session-loose-ends)./session-spinoffSpin an idea that came up mid-session (a bug, feature, or fix, often in another repo) off into a fresh Claude Code, Codex, Muse, Antigravity (agy), or borg1 agent in a Rex tab, on a new worktree, with a self-contained brief as its first prompt, monitoring kickoff in Rex to clear early trust and permission blockers so the current session keeps its focus and context. Use when the user says "spin this off", "launch this in Rex", "start a new session for this in <repo>", or wants a side idea worked on separately. Not for continuing the current work elsewhere (session-handoff), forking this conversation (agent-fork), moving a running conversation to another Rex session (session-move), or general Rex tab and session control (rex).npx claudepluginhub smorinlabs/smorinlabs-skills --plugin session