session-storylisted
Install: claude install-skill nalaj/session-story
# Session Story
Turn the current (or a named) Claude Code session transcript into one
shareable HTML file: git tells you what changed, this tells you what
happened.
The commands below run the `session-story` CLI from npm through `npx`
(Node.js 18.18 or newer). The version is pinned to match this skill. Run
every command from the user's project directory, so the session is found
by the project's cwd.
## When to use
The user asks for a session recap, a changelog of what Claude did, a
review artifact for a teammate, or literally "make a story of this
session" / "/session-story".
## Steps
1. **Extract.** Run the CLI to pull the session transcript (and any
subagent transcripts) into a Story IR JSON file:
```bash
npx -y session-story@0.6.0 extract -o <scratch>/story.json --brief
```
Use `--session <id>` for a specific session or omit it (defaults to
`--latest`) for the current one. Pass `--cwd <dir>` if the project
differs from the current working directory. Sessions split by `/clear`
are joined into one story automatically (`--no-chain` opts out), so the
brief may carry turns from before the clear — `session.chain` lists the
session ids included, oldest first. The `--brief` flag also
prints a projection to stdout — **read only this projection, never the
full story.json's hunks.** It carries, per turn: `prompt`,
`edits[].{rel, kind, stats}`, `commands[].{command, category, ok,
exit_code}`, `replies` (Claude's text replies, the last on