Displays summaries of recent Claude Code sessions including timestamps, durations, edited files, token usage, and waste percentage for quick context recovery. Accepts optional number of sessions (default 5).
npx claudepluginhub egorfedorov/claude-context-optimizerThis skill is limited to using the following tools:
Show the user summaries of their recent sessions so they can quickly recover context.
Analyzes Claude Code session history in three modes: Handoff Document for exhaustive context extraction, Error Forensics for ignored warnings/errors inventory, Chronological Summary for dense technical timelines.
Query Claude Code session history for IDs, durations, tokens consumed, tool usage patterns, errors, permissions, and search past conversations by keyword or project. Use for usage introspection like 'tokens today' or 'find setup X'.
Recaps Claude Code sessions using claude-view tools to list recent ones, fetch details, and summarize duration, model, turns, commits, metrics. Activates on recap/summary/review requests.
Share bugs, ideas, or general feedback.
Show the user summaries of their recent sessions so they can quickly recover context.
Parse $ARGUMENTS for the number of sessions to show (default: 5).
Run:
node ${CLAUDE_PLUGIN_ROOT}/src/replay.js $ARGUMENTS
Present the output to the user. It shows recent session summaries including:
If no summaries exist yet, tell the user: "No session summaries yet. They're generated automatically at the end of each session — just keep working!"