By dreamiurg
Know what each session is about. Displays topics like '# OAuth debug: fixing schema' in your status line
"What was I working on in that other terminal?"
AI-generated topic summaries for your Claude Code sessions. See what each session is about at a glance.

# Inside Claude Code
/plugin marketplace add dreamiurg/claude-session-topics
/plugin install claude-session-topics@dreamiurg
# Restart Claude Code, then configure your status line
/claude-session-topics:setup-statusline
That's it. Topics appear automatically after a few messages.
To force a topic refresh anytime:
/claude-session-topics:regenerate-topic
Topics follow a <theme>: <activity> format with a circle progress indicator:
◔ OAuth debug: fixing validation
◑ Blog post: adding snippets
◕ API refactor: updating endpoints
The circle shows progress toward the next topic refresh:
Topics generate using an adaptive schedule:
Generation happens in the background (<50ms overhead) using Claude Haiku to summarize your session.
| Variable | Default | Description |
|---|---|---|
CLAUDE_TOPIC_THRESHOLD | 10 | Messages between regeneration |
CLAUDE_TOPIC_CONTEXT_LINES | 100 | Transcript lines to analyze |
CLAUDE_TOPIC_MAX_CHARS | 50 | Max topic length |
CLAUDE_TOPIC_DEBUG | 0 | Enable debug logging |
"waiting for conversation" — Normal. Need a few messages for context.
Topics not showing? — Run export CLAUDE_TOPIC_DEBUG=1 and check stderr.
A stop hook fires after each Claude response, triggering topic-generator. Every N messages, it spawns a background process that:
$TMPDIR/claude-topic-<session_id>.jsontopic-display reads the state file and outputs the topic with progress indicator. session-cleanup removes temp files when the session ends.
For the full story: Session Topic Summaries in Claude Code Status Line
bun install
bun run build
bun test
bun run test:watch # Watch mode
bun run lint
Built by @dreamiurg because remembering context shouldn't require context.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub dreamiurg/claude-session-topics --plugin claude-session-topicsAutomated mountain route research combining PeakBagger data, weather forecasts, avalanche conditions, and trip reports into comprehensive beta documents
Your daily dev sidekick for tracking what you ship - generates conversational end-of-day summaries from GitHub activity
Auto-generated session titles + per-session colors in the statusline, so parallel Claude Code sessions are easy to tell apart at a glance.
Topic-based automatic memory for Claude Code — never lose context across sessions or compactions.
Claudikins Automatic Context Manager - seamless context handoff for Claude Code
A comprehensive statusline dashboard for Claude Code — session summary, quota bars, agent tracker, MCP health, message history, and more. All at a glance, no slash commands needed.
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses