一键导入
focus
Orient on a project or project family. Shows recent activity, milestones, and commits from event logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Orient on a project or project family. Shows recent activity, milestones, and commits from event logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Recall past work across Claude Code and Codex sessions. Finds decisions, research, fixes, and conversations by intent.
Open the Session Cartographer Explorer web UI for visual browsing of session history.
Root-cause-first diagnosis gate. Forces a written hypothesis with evidence before any bug-fix code change, and logs it to the event log for later recall.
Strategic session-end preservation. Captures decisions, discoveries, and state that the automatic hooks miss.
| name | focus |
| description | Orient on a project or project family. Shows recent activity, milestones, and commits from event logs. |
| allowed-tools | ["Bash","Read"] |
Get oriented on a project before diving in. Pulls recent activity from the event logs — no git calls, no compilation, just what the hooks already captured.
Before running commands, resolve ROOT to the Session Cartographer plugin
root. Prefer CARTOGRAPHER_ROOT, then CLAUDE_PLUGIN_ROOT or PLUGIN_ROOT.
Otherwise derive it from this skill's reported base directory (../.. from
skills/focus), with the conventional checkout as a legacy fallback.
scripts/cooccurrence-graph.js)Run the search script with --project and a broad recency query:
CARTOGRAPHER_PURPOSE=focus bash "$ROOT/scripts/cartographer-search.sh" "recent activity" --project <PROJECT> --limit 20
The <PROJECT> argument supports:
session-cartographer, scrutinizer2025devtools, scrutinizer, psychodeli — expanded via project-registry.json to match all repos in the familyIf the user gives a vague name, check project-registry.json for aliases:
jq -r '.aliases | keys[]' "$ROOT/project-registry.json"
CARTOGRAPHER_PURPOSE=focus bash "$ROOT/scripts/cartographer-search.sh" "recent activity" --project <PROJECT> --limit 20
The co-occurrence graph adds two orientation lenses the search can't: which other projects this one is worked on alongside (cross-project research threads), and which recurring technical maneuvers (release, deploy, merge, overleaf-sync…) it runs. Both resolve aliases/partial names automatically.
node "$ROOT/scripts/cooccurrence-graph.js" --related <PROJECT>
node "$ROOT/scripts/cooccurrence-graph.js" --maneuvers <PROJECT>
Skip either line silently if it prints (no co-active…) / (no maneuvers…). The maneuver map is an index, not a command store — to recover the actual command for a maneuver, grep the changelog on demand:
jq -r 'select(.project=="<PROJECT>" and (.summary|test("wrangler|gh release|netlify"))) | .summary' ~/Documents/dev/changelog.jsonl
Present a concise orientation:
/focus scrutinizer
/focus devtools
/focus psychodeli