recap
它能做什么
这项技能为你在某个项目上最近的工作会话提供简短的汇总。它按日期分组,并突出显示每次会话的主要要点。
适用场景
- ✓当你想了解自己今天、本周或最近都做了什么,并要求汇总时。
- ✓当你想汇总智能体在某个项目上的近期工作时。
- ✓当你想查看某个时间段内发生了多少次会话和改动时。
技能链接
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/recap/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我一份本周我们在这个项目上做过什么的汇总。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会列出该项目最近的会话,从每次会话中提取最重要的记忆,并按日期分组。它会报告会话数量和观察记录总数,并且不会添加没有被记录的活动。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
The user wants a recap. Time window args: $ARGUMENTS
Quick start
memory_sessions { "project": "<current-project-id>", "limit": 30 }
Then per surviving session: memory_recall { "query": "<top concepts>", "project": "<current-project-id>", "limit": 3 }.
When an agent is requested, pass the same agentId to both calls.
Expected output:
2026-06-07
7f3a9c2 · "Auth refresh rework" · 14 obs · completed
- [8] Rotate refresh tokens on every use
3 sessions across 2 days, 41 observations.
Why
Only summarize sessions and observations the tools returned. An empty window is a real answer, not a prompt to invent activity.
Workflow
- Parse
$ARGUMENTS:today= current local date;this week= last 7 days;last <n>or bare numeric = most recent N; empty =last 10. - Call
memory_sessionswith the exact recorded project identifier when known and the requestedagentId. FollownextCursorwith the same filters until the requested window is covered or pages end. When the project identifier is unknown, match normalizedcwdby directory boundary across pages before applying the time/count window. Sort bystartedAtdescending. - Group survivors by local calendar date (YYYY-MM-DD).
- Per session list id (first 8), title or first prompt, observation count,
status. Obtain highlights with
memory_recall, retaining project/agent scope, and verify each result belongs to that session before including it. - End with "N sessions across M days, K observations."
Anti-patterns
WRONG: window is empty, so you summarize "a productive week of auth work" from memory of the conversation.
RIGHT: "No sessions in the last 7 days for this project."
Checklist
- Window parsed correctly from the argument.
- Sessions filtered to the current project's cwd.
- Highlights come from
memory_recall, not paraphrase. - Totals line reflects the actual counts shown.
See also
handoff,session-history,recall: same session data, different lens.
Troubleshooting
See TROUBLESHOOTING.md if memory_sessions or memory_recall is not available.
常见问题
时间范围指的是什么?
你可以要求今天、本周,或最近设定数量的会话。如果没有指定时间范围,默认显示最近十次。
如果时间范围内什么都没发生呢?
技能会把空的时间范围作为真实结果报告,而不会编造活动。
它只涵盖一个智能体吗?
如果你要求,它可以只关注某一个智能体,否则会涵盖整个项目。
详情
作者的原始描述
Summarize the last N agent sessions for the current project, grouped by date, with highlight observations per session. Use when the user asks "recap", "what have we been doing", "today", "this week", or wants a rollup of recent work.
repo: rohitg00/agentmemory
热度
- GitHub 星标
- 30k
- 排名
- #9352
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agentmemory-agents
30k帮你的智能体把 agentmemory 记忆服务器连接到 Claude Code、Cursor 和 Codex 等编程工具。
agentmemory-architecture
30k解释 agentmemory 如何为编程智能体存储、搜索和管理记忆,从记录到回忆的整个过程。
agentmemory-config
30k帮你的智能体设置并检查 agentmemory 记忆服务器,包括端口、配置和功能开关。
agentmemory-hooks
30k帮你的智能体自动从编程会话中记录有用的笔记,而不需要你逐条手动保存。