Session History

rohitg00/agentmemory/plugin/skills/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 从公开仓库中收录这些内容。

举报或申请下架