src/claude/skills/session-list/SKILL.md
List past Claude Code sessions with metadata (date, branch, directory, size, first message)
npx skillsauth add the-agency-ai/the-agency src/claude/skills/session-listInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
List all Claude Code sessions for this project with metadata.
--branch <pattern> — filter to sessions on a specific branch--since YYYY-MM-DD — only show sessions after this dateFind session files: Glob ~/.claude/projects/*/*.jsonl (exclude subagent files).
Extract metadata from each file's first user message line:
Filter by --branch or --since if specified.
Display as table sorted by date (newest first):
| Date | Branch | Directory | Size | First Message | Session ID |
|------------|---------------------|------------------------------|-------|------------------------|------------|
| 2026-03-20 | proto/proto-tooling | .worktrees/proto-tooling/ | 3.5MB | resume | abc123... |
Show the session ID so the user can pass it to /session-read.
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment