By copeeetang
Claude Code Session Manager — query, search, resume and manage Claude Code sessions across projects
Resume a previous Claude Code session with full context preview before entering. Unlike the built-in /resume which shows a simple picker, this skill first displays what the session was about (goal, progress, breakpoint, next steps) so you know exactly what you're going back to. Use whenever user says "resume session", "继续上次", "回到之前的会话", "恢复工作", "pick up where I left off", "re-enter that conversation", or wants to return to any previous Claude Code session with context awareness.
Search and locate past Claude Code sessions across all projects and worktrees. Use this skill whenever the user mentions finding old sessions, searching conversation history, locating previous work, asking "what did I work on", "find my session about X", "之前做过什么", "找回会话", "搜索历史", "哪个会话在做X", or any reference to past Claude Code conversations they want to find. Also use when user asks about work from a specific time period ("last week", "yesterday", "上周").
Initialize or rebuild the CCSM session index. Scans all Claude Code sessions, builds a SQLite search index, and optionally generates AI summaries. Use when first installing CCSM, after "初始化 CCSM", "rebuild index", "重建索引", "setup ccsm", or when CCSM tools return empty results suggesting the index needs building.
Show a dashboard overview of all Claude Code sessions — active work, recent history, session counts, and status breakdown across projects. Use whenever the user asks "show my sessions", "what's active", "会话列表", "session dashboard", "有哪些活跃任务", "我在做什么", "list all sessions", "会话概览", "project status", or wants to see a summary of their Claude Code work across all projects and worktrees.
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.
TUI + MCP plugin for browsing, searching, and resuming Claude Code sessions.
⬡ CCSM — Claude Code Session Manager
WORKTREES │ SESSIONS · GUI/panel │ DETAIL
─────────────────── │────────────────────────────── │──────────────────────────
▶ PROJECTS │[ 🟢 ACTIVE 3 ] 🔵 BACK 0 ...│── 📋 SESSION ──────────
▼ GUI (432) │ │ Title 整理GPT5.2数据
main (329) │ ● 整理GPT5.2数据并对比分析 │ Status ● ACTIVE Duration 2h
panel (4) │ 📝 "整理GPT5.2在subset..." │ Branch memory Last 5h ago
memory (73) │ ● CCSM架构设计 23h ago│── 🧭 MILESTONES ────────
streamIT (3) │ 📝 "重构数据库..." 💬 42 │ ✓ Data Cleanup & Analysis
▼ VLM-Router (0) │ │ ✓ Multi-Model Comparison
│ │ ▶ Eval Mode Analysis
↑↓ Navigate Tab Panel 1-4 Status / Search r Resume s AI D Archive q Quit
ACTIVE | BACK | IDEA | DONE, switch with 1/2/3/4/ for fuzzy search across title, intent, content, branch, tags (powered by in-memory SessionIndex, no count limits)g to toggle DAG visualization showing session relationships (fork=◆, compact=◇, duplicate=◉)lock_title() stores titles in CCSM sidecar, immune to Claude Code's 64KB tail window crashesr to jump back into a session via claude --resumeD to mark sessions as DONE# From the project root
cd /path/to/GUI
source ml_env/bin/activate
# Run the TUI
PYTHONPATH=projects/ccsm:$PYTHONPATH python3 -m ccsm
# Or install as a package
pip install -e projects/ccsm
ccsm
ccsm/
├── core/ # Backend logic (no UI dependencies)
│ ├── discovery.py # Scan ~/.claude/projects/ for sessions & worktrees + detect_duplicates()
│ ├── parser.py # JSONL parser + XML sanitization + parse_session_timestamps()
│ ├── lineage.py # NEW: Fork/compact/dup detection, DAG construction
│ ├── index.py # NEW: Persistent full-text fuzzy search index (SessionIndex)
│ ├── status.py # Auto-classify sessions: ACTIVE/BACK/IDEA/DONE/NOISE
│ ├── milestones.py # Rule-based milestone extraction (6 signal types)
│ ├── summarizer.py # Dual-mode summarizer (extract / LLM via haiku)
│ └── meta.py # Sidecar metadata read/write (~/.ccsm/) + lock_title(), lineage serialization
├── models/
│ └── session.py # Dataclasses: SessionInfo, SessionMeta, Milestone, Breakpoint + LineageType, SessionLineage
├── tui/
│ ├── app.py # Textual App entry point
│ ├── screens/main.py # MainScreen — panel layout, keybindings, async workers
│ ├── widgets/
│ │ ├── worktree_tree.py # Left panel: project/worktree tree
│ │ ├── session_list.py # Middle panel: tab bar + session cards
│ │ ├── session_card.py # 2-line compact card with right-aligned metadata
│ │ ├── session_detail.py # Right panel: SESSION/MILESTONES/BREAKPOINT/LAST REPLY
│ │ └── session_graph.py # NEW: DAG visualization widget (lineage graph)
│ └── styles/
│ └── claude_native.tcss # Stone/Orange theme inspired by Claude's design language
├── mcp/
│ └── server.py # MCP server with 30s TTL cache
└── cli/
└── main.py # Click CLI (placeholder for `ccsm list`, `ccsm resume`)
| Key | Action |
|---|---|
1 2 3 4 | Switch to ACTIVE / BACK / IDEA / DONE tab |
/ | Full-text fuzzy search (backed by SessionIndex) |
g | Toggle session lineage graph view |
r | Resume selected session (claude --resume) |
s | Trigger AI summary (haiku LLM) |
D | Archive selected session (mark as DONE) |
h | Toggle NOISE session visibility |
Tab / Shift+Tab | Cycle panel focus |
q | Quit |
npx claudepluginhub copeeetang/ccsm12 productivity skills for Claude Code: interview-mode, spawn, save-session, source-first, codex-review, experiment-runner, claw-guru, github-kb, code-simplifier, ultra-plan, init-project, handoff (compact conversation to OS tmp dir for fresh-agent pickup; complements save-session)
Memory compression system for Claude Code - persist context across sessions
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Streamline people operations — recruiting, onboarding, performance reviews, compensation analysis, and policy guidance. Maintain compliance and keep your team running smoothly.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.