Help us improve
Share bugs, ideas, or general feedback.
From tools
Discover and list recent AI coding sessions across Claude Code, Claude Desktop, and OpenCode on Windows, macOS, and Linux. Scripts extract project paths, session IDs, and timestamps from session artifacts. PowerShell for Windows, Bash for macOS/Linux. Use when: finding recent coding sessions, reviewing AI session history, exporting session logs to CSV, troubleshooting missing sessions, or auditing Claude Code/OpenCode usage across environments.
npx claudepluginhub evolv3-ai/vibe-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/tools:session-scoutThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Status**: Production Ready
Searches Claude Code session history using full-text search on summaries, commits, projects, and branches. Use for queries like 'find where I discussed X' or 'search for Y'.
Searches, recovers, and analyzes sessions from Claude Code, AI Studio, and Gemini CLI using Bash. Invoke with /ar:ai-session-tools (renamed from claude-session-tools).
Discovers, searches, and selectively restores Claude desktop app sessions hidden across multiple accountIds on Mac/Windows. Use for recovering lost sessions after account switches.
Share bugs, ideas, or general feedback.
Status: Production Ready Last Updated: 2026-02-13 Dependencies: PowerShell 7+ (Windows) or Bash 4+ (macOS/Linux)
Script path resolution: When Claude Code loads this file, it provides the full
path. All scripts/ references below are relative to this file's directory.
Derive SKILL_DIR from this file's path and prepend it when running scripts.
macOS / Linux:
# Show recent sessions (default: top 12)
scripts/session-scout.sh
# Show more sessions
scripts/session-scout.sh --top 20
Windows (PowerShell):
# Show recent sessions (default: top 12)
pwsh -ExecutionPolicy Bypass -File scripts/Session-Scout.ps1
# Show more sessions
pwsh -ExecutionPolicy Bypass -File scripts/Session-Scout.ps1 -Top 20
Output columns:
macOS / Linux:
# Export to default location (~/.admin/logs/session-scout-YYYY-MM-DD.csv)
scripts/session-scout.sh --csv
# Export to custom path
scripts/session-scout.sh --file ~/exports/sessions.csv
Windows (PowerShell):
# Export to default location (~/.admin/logs/session-scout-YYYY-MM-DD.csv)
pwsh -ExecutionPolicy Bypass -File scripts/Session-Scout.ps1 -Csv
# Export to custom path
pwsh -ExecutionPolicy Bypass -File scripts/Session-Scout.ps1 -File "D:\exports\sessions.csv"
%USERPROFILE%\.claude\projects\*\*.jsonl~/.claude/projects/*/*.jsonl~/.claude/projects/*/*.jsonl%APPDATA%\Claude and %LOCALAPPDATA%\Claude~/Library/Application Support/Claude/ and ~/Library/Application Support/Anthropic/~/.config/Claude/ and ~/.config/Anthropic/%USERPROFILE%\.local\share\opencode\log\*.log~/.local/share/opencode/log/*.logpwsh (PowerShell 7+), not Windows PowerShell 5.1-ExecutionPolicy Bypass when running directlysession-scout.sh (requires Bash 4+ for associative arrays).jsonl files directlyThis skill prevents 3 documented issues:
Error: No sessions found despite active Claude Code usage
Why It Happens: Claude Code changed from chat_*.jsonl to UUID-based filenames
Prevention: Script uses *.jsonl pattern (excluding agent-*.jsonl)
Error: WSL sessions not detected, distro names show as U b u n t u
Why It Happens: wsl.exe -l -q outputs UTF-16LE with null bytes
Prevention: Get-WSLDistros function strips null bytes properly
Error: All OpenCode sessions showing as same type Why It Happens: Desktop opens multiple projects, CLI opens one Prevention: Script detects pattern - multiple dirs = Desktop, single = CLI
PowerShell (Session-Scout.ps1):
| Parameter | Type | Default | Description |
|---|---|---|---|
-Top | int | 12 | Maximum sessions to display |
-Csv | switch | - | Export to default path: ~/.admin/logs/session-scout-YYYY-MM-DD.csv |
-File | string | - | Export to specified CSV path |
Bash (session-scout.sh):
| Parameter | Type | Default | Description |
|---|---|---|---|
--top, -t | int | 12 | Maximum sessions to display |
--csv | flag | - | Export to default path: ~/.admin/logs/session-scout-YYYY-MM-DD.csv |
--file, -f | string | - | Export to specified CSV path |
Claude Code (Windows):
%USERPROFILE%\.claude\projects\{project-slug}\{uuid}.jsonl
Claude Code (macOS/Linux):
~/.claude/projects/{project-slug}/{uuid}.jsonl
Claude Desktop (Windows):
%APPDATA%\Claude\
%LOCALAPPDATA%\Claude\
Claude Desktop (macOS):
~/Library/Application Support/Claude/
~/Library/Application Support/Anthropic/
Claude Desktop (Linux):
~/.config/Claude/
~/.config/Anthropic/
OpenCode (Windows):
%USERPROFILE%\.local\share\opencode\log\{timestamp}.log
OpenCode (macOS/Linux):
~/.local/share/opencode/log/{timestamp}.log
Solution: Check expected locations manually:
# macOS / Linux
find ~/.claude/projects -name '*.jsonl' 2>/dev/null | wc -l
# Windows
dir $env:USERPROFILE\.claude\projects -Recurse -Filter *.jsonl | measure
Solution: Ensure WSL is running and distros are accessible:
wsl -l -q
Solution: Path extraction is best-effort. The session file may not contain a cwd field in the first 100 lines.
Tool When ProjectPath Project SessionId
---- ---- ----------- ------- ---------
Claude Code (Windows) 1/26/2026 5:39:03 PM D:\admin D--admin bdeb38c1-98a8-...
Claude Code (WSL:Ubuntu-24.04) 1/26/2026 1:47:28 PM /home/wsladmin/dev/vibe-skills -home-wsladmin-dev-v 3cd316dc-c168-...
OpenCode CLI 1/26/2026 5:30:37 PM D:\rlm-project 2026-01-26T203036
OpenCode Desktop 1/26/2026 1:53:00 PM D:\wireframe-kit 2026-01-26T190547
Claude Desktop 1/26/2026 10:10:18 AM sentry session
macOS / Linux:
bash --version)chmod +x session-scout.sh)Windows:
pwsh --version)