Session History

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

Show what happened in recent past sessions on this project as a clean timeline. Use when the user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.

AI 產生的概覽

使用 memory_sessions 工具,依時間倒序呈現專案近期工作階段的時間軸。

功能
此技能會引導代理以 limit 為 20 呼叫 memory_sessions 工具,並把回傳的工作階段整理成清楚的時間軸。它會顯示每個工作階段的編號、專案、開始時間、狀態與觀察數量,以及決策和程式碼觀察等重點。若有工作階段摘要,也會呈現其標題與關鍵決策。此技能僅為說明文件,不附帶指令碼。
適用情境
當使用者詢問上次做了什麼、要求查看工作階段歷史或過去的工作階段,或想了解專案先前工作的概況時使用。
執行需求
需要 memory_sessions 工具可用;不附帶指令碼。若該工具無法使用,技能會指向一份共用的疑難排解文件。

The user wants an overview of recent sessions on this project.

Quick start

json
memory_sessions { "limit": 20 }

Expected output:

text
7f3a9c2 · app · 2026-06-07 09:00 · completed · 14 obs  - decision: Rotate refresh tokens on every useb21d004 · app · 2026-06-05 14:00 · completed · 9 obs  - code: limit.ts counts per-IP

Why

Only show sessions and observations the tool returned. An empty history is a real answer, never a cue to invent past work.

Workflow

  1. Call memory_sessions with limit: 20 for a meaningful window.
  2. Present in reverse chronological order: session id (first 8), project, start time, status.
  3. For sessions with observations, show the key highlights (type plus title).
  4. Note the total observation count per session.
  5. When a session summary exists, surface its title and the key decisions.

Anti-patterns

WRONG: the tool returns two sessions, you describe "several sessions of steady progress" and add ones you remember from the conversation.

RIGHT: show exactly the two sessions returned, each with its real id, status, and observation count.

Checklist

  • Every session shown came from the tool response.
  • Order is reverse-chronological.
  • Per-session observation counts match the response.
  • No session or highlight was invented or merged.

See also

  • recap: same data grouped by date with highlights.
  • handoff: jump straight into the most recent session.
  • recall: search across all sessions by topic.

Troubleshooting

See ../_shared/TROUBLESHOOTING.md if memory_sessions is not available.

來源與署名

來源:rohitg00/agentmemory位於plugin/skills/session-history提交007a1a7

授權條款: 無授權條款

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

檢舉或申請下架