跳到正文
Skillpedia
智能体30k · #9352

recap

它能做什么

这项技能为你在某个项目上最近的工作会话提供简短的汇总。它按日期分组,并突出显示每次会话的主要要点。

适用场景

  • ✓当你想了解自己今天、本周或最近都做了什么,并要求汇总时。
  • ✓当你想汇总智能体在某个项目上的近期工作时。
  • ✓当你想查看某个时间段内发生了多少次会话和改动时。

技能链接

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/recap/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/recap/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Parse $ARGUMENTS: today = current local date; this week = last 7 days; last <n> or bare numeric = most recent N; empty = last 10.
  2. Call memory_sessions with the exact recorded project identifier when known and the requested agentId. Follow nextCursor with the same filters until the requested window is covered or pages end. When the project identifier is unknown, match normalized cwd by directory boundary across pages before applying the time/count window. Sort by startedAt descending.
  3. Group survivors by local calendar date (YYYY-MM-DD).
  4. 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.
  5. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能