The Handoff Problem
When you start a new Claude Code session, all context is lost. You need to re-explain what you were working on, which files matter, and what’s left to do.
/note-context solves this by creating a pinned blue note with everything the next session needs.
Output Sections
| Section | Content |
|---|---|
| Header | project @ branch | N uncommitted changes |
| Working On | Current task, specific and clear |
| Key Files | 3-5 most important files with 5-word annotations |
| State | Branch purpose, uncommitted summary, loop progress |
| Key Decisions | Decisions made this session only |
| Open Questions | Unresolved items and unknowns |
| Resume With | Exact instructions for the next session |
Key Files Format
Each file gets a short annotation:
src/auth.ts — JWT validation middleware (refactoring)
src/api/users.ts — New endpoint, needs tests
tests/auth.test.ts — 3 tests failing on refresh
Maximum 5 files. Only the most relevant ones.
The “Resume With” Section
This is the critical section. Quality bar:
Reading ONLY “Resume With” should tell a fresh session exactly what to do next.
Good:
Resume With: Fix the refresh token flow in src/auth.ts:45.
The validateToken function needs to check token expiry
and call refreshToken() before returning 401.
Run tests with: npm test -- auth
Bad:
Resume With: Continue working on auth.
Always Pinned
The context note is always:
- Blue color
- Pinned over all windows
- Replaces the previous context note
Only one context note exists at a time — always the latest snapshot.
Non-Git Mode
Works without a git repository. Skips git-related sections (branch, uncommitted changes) and focuses on note state and provided context.
Timestamp
Each context note includes the exact time:
Context Feb 19, 2026 23:15