Claude-code-sessions session-list

install
source · Clone the upstream repo
git clone https://github.com/apappascs/claude-code-sessions
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/apappascs/claude-code-sessions "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/session-list" ~/.claude/skills/apappascs-claude-code-sessions-session-list && rm -rf "$T"
manifest: skills/session-list/SKILL.md
source content

Session List

List all sessions, optionally filtered by project and sorted.

Step 1: Run the listing script

bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-store.ts list --limit 20

To filter by project:

bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-store.ts list --project "<filter>" --limit 20

To sort by size or duration instead of recency:

bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-store.ts list --sort size --limit 20

Step 2: Present results

The script outputs a JSON array. Present as a markdown table:

#Session IDProjectDateMessagesDurationSize

Highlight the current session if it matches the working directory. Show the resume command:

claude --resume <session-id>
.

If the user asks for more detail on a specific session, use

/session-stats <session-id>
.