Recap

rohitg00/agentmemory/plugin/skills/recap

作者 rohitg00007a1a7fe864無授權條款29K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

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.

AI 產生的概覽

依日期彙整目前專案最近的代理工作階段,並列出每個工作階段的重點。

功能
透過 memory_sessions 與 memory_recall 工具讀取工作階段歷史,將工作階段篩選到目前專案的工作目錄,並套用由參數解析出的時間範圍(today、this week、last N,預設為 10)。它把留存下來的工作階段依本機日曆日期分組,列出每個工作階段的短 id、標題或首個提示、觀察數量與狀態,並附上兩到三則來自 memory_recall 的高重要性重點。最後以一行總計說明工作階段數、天數與觀察數。
適用情境
當使用者要求回顧、詢問最近在做什麼,或需要今天、本週、最近 N 個工作階段的彙總時使用。它用於檢視目前專案過去的代理活動,而非規劃後續工作。
執行需求
需要 memory_sessions 與 memory_recall 工具可用;若無法使用,會引用一份共用的疑難排解檔案。不附帶指令碼,僅為指示文件。

The user wants a recap. Time window args: $ARGUMENTS

Quick start

json
memory_sessions { "limit": 30 }

Then per surviving session: memory_recall { "query": "<top concepts>", "limit": 3 }.

Expected output:

text
2026-06-07  7f3a9c2 · "Auth refresh rework" · 14 obs · completed    - [8] Rotate refresh tokens on every use3 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, filter to the current project (match cwd against the working directory), apply the 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. Indent 2-3 highlights (importance >= 7) from memory_recall.
  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 ../_shared/TROUBLESHOOTING.md if memory_sessions or memory_recall is not available.

來源與署名

來源:rohitg00/agentmemory位於plugin/skills/recap提交007a1a7

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架