Skip to content

/recap

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.

From plugin
agentmemory
30k17 skills2 commands1 MCP

Claude Code

$ npx -y skills add rohitg00/agentmemory --skill recap --agent claude-code

SKILL.md

recap.SKILL.md
name: recap
description: 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.
argument-hint: "[last N | today | this week]"
user-invocable: true

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](TROUBLESHOOTING.md) if `memory_sessions` or `memory_recall` is not available.

Read more
@rohitg00
Ships withagentmemory

#1 Persistent memory for AI coding agents based on real-world benchmarks

Stars on GitHub

Momentum

stars in total
30.2k
Star history of rohitg00/agentmemory on GitHub, a chart by star-history.com

Other skills on agentmemory.

agentmemory-agents
Auto-invoked

agentmemory-agents

How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent,…

agentmemory-architecture
Auto-invoked

agentmemory-architectu…

How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning…

agentmemory-config
Auto-invoked

agentmemory-config

Set up and diagnose local agentmemory, including MCP, environment variables, ports, and feature flags. Use when getting started,…

agentmemory-hooks
Auto-invoked

agentmemory-hooks

The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how…

agentmemory-mcp-tools
Auto-invoked

agentmemory-mcp-tools

Map of every agentmemory MCP tool, what each does, and its parameters. Use when choosing which memory tool to call, when a tool…

agentmemory-rest-api
Auto-invoked

agentmemory-rest-api

The agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem05d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog11d41k
@posthog@posthogInstall Skill

Questions about recap.

Which coding agents can use recap?
recap installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.