Session read

From the-agency-ai/the-agency · View interactive version

Session read is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Read a past session and produce a structured summary (messages, tool calls, files, decisions)

How to use this skill

Skill file

<!--

Flag #62/#63: allowed-tools removed. Inherits Bash(*) from

.claude/settings.json. Restricting to specific subcommand patterns at the

skill level silently blocks agents on permission prompts the agent cannot

see — see dispatch #171 for the devex incident that surfaced this trap.

-->

Session Read

Extract a structured summary from a Claude Code session JSONL file.

Arguments

$ARGUMENTS is a session ID (full UUID or partial prefix) or a session index from /session-list.

Steps

  1. Find the JSONL file matching the ID in ~/.claude/projects/.
  1. Read the file (use offset/limit for large files).
  1. Parse and extract a structured summary:

Session Metadata

User Messages (chronological)

Tool Activity Summary

Files Modified

Key Decisions

Git Operations

  1. Output the summary in markdown format.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.