Smart session boot: loads project context, recent handoffs, and warnings. Use when the user says "session start", "catch me up", "where were we", or "/session-start". Reads pre-gathered context from cache (populated by SessionStart hook) and supplements with vault reads for a comprehensive briefing.
Two-phase boot: show what exists (Phase 1), then load deep context for the chosen focus (Phase 2).
Read ~/.claude/cache/session-context.json (written by session-context-preloader hook).
Extract:
detectedProject -- project matched from cwd (may be null)vaultProjectPath -- vault path for detected projectrecentSessions -- previews of last 3 session notesprojectIndex -- all scanned vault directories with name, vault, status, codebase, summary, lastSessionIf cache is missing, unreadable, or lacks projectIndex, fall back:
<vaultPath>/Projects/*/README.md (vault path from agent-os.config.json)Skip straight to Phase 2 (Step 3) for the detected project. After showing the deep briefing, append a condensed "Other Projects" list:
Display the full index. Sort all entries by lastSession date descending (most recently worked on first). Items with no session date go to the bottom.
Format:
For each key in projectIndex (e.g., "projects", "ventures"), show a table:
Session Context Loaded
## Projects
| Project | Last Worked | Summary |
|---------|------------|---------|
| {name} | {M/D or --} | {summary} |
...
## Ventures (if present in index)
| Venture | Last Worked | Summary |
|---------|------------|---------|
| {name} | {M/D or --} | {summary} |
...
## Dormant
{comma-separated list of items with status complete/deprecated/planned}
Recent Sessions:
- {M/D} -- {title extracted from session filename} ({project tag})
- ...
What are we working on?
Rules for the index:
When the user names a project to work on (or when auto-detected from cwd):
vault field<vaultPath>/{vault}/README.md
<vaultPath>/Sessions/* for files containing the project name. Also check the lastSessionFile from the index. Read first 20 lines of the 2 most recent matches.CODEBASE.md -- mention "CODEBASE.md available" if it exists (don't read unless asked)STATUS.md -- read if exists, include key points<memoryDir>/error-patterns.md and surface any entries that mention the project name or its key technologiesDeep Context: {Project Name}
Status: {status}
Codebase: {codebase path}
Last Session: {date} -- {topic from session filename}
Current State:
- {bullet from README}
- {bullet from README}
- {bullet from README}
{If blockers exist:}
Blockers: {list}
{If CODEBASE.md exists:}
CODEBASE.md available for architecture reference.
{If relevant error patterns:}
Watch out for: {brief warning}
What's the focus?
After loading deep context, quickly compare:
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer