Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ChamHerryv1.0.0MITIn 1 marketplace
Saves a session's progress, decisions and file changes, then resumes it in a new session from a Markdown summary. Full transcripts are kept locally in ./.claude-sessions/ within each project.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
会话管理插件 - 智能保存和恢复 Claude Code 会话,支持进度跟踪和工作连续性
Session Manager 是一个强大的 Claude Code 插件,解决了会话临时性和工作连续性问题。它提供了两个核心命令,让您可以轻松保存和恢复工作进度。
双层信息架构:
项目本地存储:
./.claude-sessions/,Windows/Linux/macOS 通用优势:
克隆或下载此插件到 Claude Code 插件目录:
cd ~/.claude/plugins
git clone https://github.com/your-repo/session-manager.git
重启 Claude Code 或重新加载插件配置
验证安装:
# 在 Claude Code 中输入
/session-manager:save
/session-manager:save
输出示例:
✅ 会话已成功保存!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 保存位置(项目本地)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
存储目录: ./.claude-sessions/summaries/abc-123/
├── summary.json (2.3 KB)
└── details.jsonl (156 KB)
📊 会话信息
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
会话标题: 实现用户认证功能
项目名称: my-app
进度: 5/8 已完成
💡 使用 /session-manager:continue 在新会话中继续工作
/session-manager:continue
系统会展示已保存的会话列表,您可以:
选择后,系统会生成 Markdown 格式的会话摘要,包含:
/session-manager:save - 保存会话功能: 总结并保存当前会话到本地存储
执行流程:
~/.claude/projects/{project}/{session-uuid}.jsonl)summary.json - 快速查询用的摘要details.jsonl - 完整对话记录存储位置:
项目根目录/
├── .claude-sessions/
│ └── summaries/
│ └── {session-uuid}/
│ ├── summary.json # 摘要索引
│ └── details.jsonl # 完整对话备份
└── ...
最佳实践:
/session-manager:continue - 继续工作功能: 搜索并恢复之前保存的会话
执行流程:
~/.claude/session-exports/导出文件内容:
# 会话恢复:{标题}
> 会话信息、时间、进度等元数据
## 工作概述
{会话内容概述}
## 项目进度
- [x] 已完成任务
- [ ] 待办任务
## 实施方案
{方案文档要点}
## 关键决策
{用户做出的重要选择}
## 文件变更
{创建/修改/删除的文件}
## 后续行动建议
{根据进度生成的建议}
## 详细对话记录
完整对话保存在:{路径}/details.jsonl
(包含 AI 可读的隐藏指引)
智能数据访问机制:
导出文件中包含一个 HTML 注释部分(用户不可见),专门指引 AI:
AI 会根据以下场景自主决策:
AI 会读取完整对话:
AI 不会读取完整对话:
使用导出文件:
方式 1(推荐):
在新会话中输入:
继续之前的工作:{标题}
@~/.claude/session-exports/2025-11-03-16-30-abc123.md
{描述你要继续做的具体工作}
方式 2:
打开导出文件,复制需要的部分粘贴到新会话
# 第一天
开始项目,使用 TodoWrite 规划任务
/session-manager:save
# 第二天
/session-manager:continue
→ 选择昨天的会话
→ 在新会话中继续工作
# 项目 A
cd ~/project-a
工作一段时间...
/session-manager:save
# 切换到项目 B
cd ~/project-b
工作一段时间...
/session-manager:save
# 回到项目 A
cd ~/project-a
/session-manager:continue
→ 选择"按项目过滤" → "project-a"
→ 恢复项目 A 的工作
# 当前会话接近 token 限制
/session-manager:save
# 开启新会话
/session-manager:continue
→ 选择刚才的会话
→ 在新会话中继续,重置 token 计数
# 正在做任务 A
工作中...
/session-manager:save
# 紧急任务 B 来了
处理任务 B...
# 完成任务 B,回到任务 A
/session-manager:continue
→ 搜索任务 A 的会话
→ 恢复上下文继续
{
"version": "1.0",
"sessionId": "abc-123-def-456",
"projectPath": "/Users/user/project",
"projectName": "my-app",
"savedAt": "2025-11-03T16:00:00Z",
"startTime": "2025-11-03T14:00:00Z",
"endTime": "2025-11-03T16:00:00Z",
"messageCount": 45,
"userMessageCount": 15,
"assistantMessageCount": 30,
"overview": {
"title": "实现用户认证功能",
"description": "添加 JWT 认证,实现登录、注册、权限验证",
"keywords": ["认证", "JWT", "登录"]
},
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub chamherry/claude-code-third-party-plugins --plugin session-managerPlugins from other owners that cover similar ground