Help us improve
Share bugs, ideas, or general feedback.
From sessionlog
Identifies current Claude Code session ID, JSONL log path, message count, project directory, and lists all project sessions with counts. For session log queries.
npx claudepluginhub florianbuetow/claude-code --plugin sessionlogHow this skill is triggered — by the user, by Claude, or both
Slash command
/sessionlog:infoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Identify the current Claude Code session and report its log file location.
Locates, lists, filters, and extracts structured data from Claude Code native session logs. Supports both single and multiple session analysis.
Retrieves previous Claude Code or Codex CLI session transcripts, printing recent turns and metadata to resume work. Supports UUID lookup and automatic detection of most recent session.
Analyzes Claude Code session history JSONL files to extract insights, summaries, and patterns from conversations. Processes current project or all sessions with bash, jq, and subagents.
Share bugs, ideas, or general feedback.
Identify the current Claude Code session and report its log file location.
project_dir="$HOME/.claude/projects/$(pwd | sed 's|/|-|g')"
echo "Project session directory: $project_dir"
current_session=$(ls -t "$project_dir"/*.jsonl 2>/dev/null | head -1)
session_id=$(basename "$current_session" .jsonl)
echo "Session ID: $session_id"
echo "Session file: $current_session"
jq -r 'select(.type == "user") | {sessionId, version, entrypoint, cwd, gitBranch, timestamp} | to_entries[] | "\(.key): \(.value)"' "$current_session" | head -6
echo "Messages: $(jq -c 'select(.type == "user" or .type == "assistant")' "$current_session" | wc -l | tr -d ' ')"
echo ""
echo "All sessions in this project:"
ls -lt "$project_dir"/*.jsonl 2>/dev/null | awk '{print $NF}' | while read f; do
sid=$(basename "$f" .jsonl)
msgs=$(jq -c 'select(.type == "user" or .type == "assistant")' "$f" | wc -l | tr -d ' ')
echo " $sid ($msgs messages)"
done
Present results as a clean summary: