sessionlog:info

Installation
SKILL.md

Session Log Info

Identify the current Claude Code session and report its log file location.

Steps

  1. Determine the project session directory. Run:
project_dir="$HOME/.claude/projects/$(pwd | sed 's|/|-|g')"
echo "Project session directory: $project_dir"
  1. Find the current session (most recently modified JSONL file):
current_session=$(ls -t "$project_dir"/*.jsonl 2>/dev/null | head -1)
session_id=$(basename "$current_session" .jsonl)
echo "Session ID: $session_id"
Related skills
Installs
2
GitHub Stars
9
First Seen
Apr 15, 2026