Start
Quickstart
Open Claude Code and Codex JSONL transcripts in a readable terminal format.
Install
npm i -g @amxv/agentscript
agentscript --help
For local development from a clone:
make build
./dist/agentscript --help
Open a transcript
agentscript open ~/.claude/projects/<project>/<session>.jsonl
agentscript open ~/.codex/sessions/<year>/<month>/<day>/<session>.jsonl
open is the main entry point. Running agentscript by itself shows help instead of opening anything.
Open a recent transcript
agentscript open --latest 1
agentscript list --latest 20
By default, agentscript discovers transcripts in:
~/.claude/projects
~/.codex/sessions
Use a custom discovery root when needed:
agentscript list --roots ./fixtures,~/Desktop/transcripts
Hide noisy blocks
agentscript open transcript.jsonl --hide-thinking
agentscript open transcript.jsonl --messages-only
agentscript open transcript.jsonl --hide-tool-results
Flags can appear before or after the transcript path.