plugin/skills/recap/SKILL.md
Summarize the last N agent sessions for the current project, grouped by date. Use when the user asks "recap", "what have we been doing", "this week", "today", or wants a rollup of recent work.
npx skillsauth add rohitg00/agentmemory recapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The user wants a recap. Time window args: $ARGUMENTS
Parse $ARGUMENTS to determine the window:
today -> sessions started on the current local datethis week -> sessions started in the last 7 dayslast <n> -> the most recent N sessionslast <n>last 10Call the memory_sessions MCP tool, then filter to the current project (match by cwd against the working directory). Apply the time window. Sort by startedAt descending.
Group the surviving sessions by their local calendar date (YYYY-MM-DD). For each date:
memory_recall with a per-session query, limit 3End with a one-line total: "N sessions across M days, K observations."
If MCP tools are unavailable, fall back to HTTP: GET $AGENTMEMORY_URL/agentmemory/sessions and POST $AGENTMEMORY_URL/agentmemory/recall with Authorization: Bearer $AGENTMEMORY_SECRET when set. Do not invent sessions; if the window is empty, say so.
data-ai
Resume the most recent agent session for the current working directory. Use when the user says "where were we", "resume", "handoff", "pick up where I left off", or starts a session with no fresh context.
data-ai
List recent git commits that are linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", or wants a list of commits with their session context.
development
Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks "why is this code here", "what was the agent doing when this changed", or wants context on a specific location in the codebase.
tools
Show what happened in recent past sessions on this project. Use when user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.