session-recap
v0.6.1Recap AI coding sessions (Claude Code, Codex, dsh, OpenCode): intent, decisions, open threads.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_sessions List AI coding sessions
Lists saved sessions of Claude Code, Codex, dsh and OpenCode on this machine, newest first: agent, id, title, project folder, last activity. Filter by words in the title, by project folder, or by agent.
| Parameter | Type | Description |
|---|---|---|
agent | string | Only this agent; "any" for all (default) |
cwd | string | Only sessions of this project folder (absolute path) |
limit | number | At most this many (default 20) |
query | string | Words in the title, or a session id |
recap_session Recap a session
Recaps a coding session: intent, key decisions, what changed, open threads, where to resume. With no session given, the newest session of the calling agent in `cwd`. Returns a stored recap when the session has not changed since. Otherwise, if session-recap has a model configured it writes the recap; if not, it returns the condensed transcript and instructions, and you write the recap yourself and store it with save_recap.
| Parameter | Type | Description |
|---|---|---|
agent | string | The agent whose sessions to look in; default: the caller |
cwd | string | The project folder you are working in (absolute path) |
format | string | "recap" (default: intent, decisions, changes, open threads, resume), "standup", "handoff" or "pr" |
mode | string | "agent": you write it; "model": session-recap writes it; "auto" (default): model if configured |
refresh | boolean | Write it again even if a stored recap is current |
session | string | A session id or words in its title; empty for the current session |
save_recap Store a recap you wrote
Stores the recap you wrote for a session after recap_session returned its transcript, so the next recap of that session is reused or updated from it. Pass the agent, id and prompts recap_session gave you.
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
id * | string | |
markdown * | string | The recap, in the format recap_session asked for |
prompts * | number | The prompt count recap_session reported |