| name | session-update |
| description | Add notes and progress to the current session. Use when tracking changes, issues, or accomplishments. |
| argument-hint | ["notes"] |
| disable-model-invocation | true |
| allowed-tools | Bash(date:*),Read,Write |
Context
- Date and Time: !
date -Idate -Ihours -Iminutes -Iseconds
Task
CRITICAL: NEVER modify or edit existing session content - ONLY append!
- Check if
.sessions/.current-session exists to find the active session
- If no active session, inform user to start one with
/session:session-start
- If session exists, append to the session file with:
- Current timestamp
- The update: $ARGUMENTS (or if no arguments, summarize recent activities)
- Git status summary:
- Files added/modified/deleted (from
git status --porcelain)
- Current branch and last commit
- Todo list status:
- Number of completed/in-progress/pending tasks
- List any newly completed tasks
- Any issues encountered
- Solutions implemented
- Code changes made
- Documentation updates
- Online resources or references used
Keep updates concise but comprehensive for future reference.
Example format:
### Update - 2025-06-16 12:15 PM
**Summary**: Implemented user authentication
**Git Changes**:
- Modified: app/middleware.ts, lib/auth.ts
- Added: app/login/page.tsx
- Current branch: main (commit: abc123)
**Todo Progress**: 3 completed, 1 in progress, 2 pending
- ✓ Completed: Set up auth middleware
- ✓ Completed: Create login page
- ✓ Completed: Add logout functionality
**Details**: [user's update or automatic summary]