Session Current

View active session status with progress and context information

manastalukdar f37bd52 822 B Updated

File contents

Show the current session status by:

  1. Check if .claude/sessions/.current-session exists
  2. If no active session, inform user and suggest starting one
  3. If active session exists:
    • Show session name and filename
    • Calculate and show duration since start
    • Show last few updates
    • Show current goals/tasks
    • Remind user of available skills

Keep the output concise and informative.

Token Optimization

Expected range: 150–300 tokens (initial), 50 tokens (cache hit)

Caching: Caches active session metadata in .claude/cache/session-current/ for 7 days.

Early exit: Returns immediately if no active session is found.

Patterns used: Grep-before-Read, early exit, caching

manastalukdar/claude-devstudio/tree/main/skills/session-current commit f37bd5294a

Frequently asked questions

npx skillmds@latest add manastalukdar/session-current