Extract conversation transcripts from AI coding session logs (Clawdbot, Claude Code, Codex). Use when asked to export prompt history, session logs, or transcripts from .jsonl session files.
Downloads
1.3k
Stars
1
Versions
1
Updated
2026-02-24
Install
npx clawhub@latest install prompt-log
Documentation
Prompt Log
Quick start
Run the bundled script on a session file:
scripts/extract.sh <session-file>
Inputs
- -Session file: A
.jsonlsession log from Clawdbot, Claude Code, or Codex. - -Optional filters:
--afterand--beforeISO timestamps. - -Optional output:
--outputpath for the markdown transcript.
Outputs
- -Writes a markdown transcript. Defaults to
.prompt-log/YYYY-MM-DD-HHMMSS.mdin the current project.
Examples
scripts/extract.sh ~/.codex/sessions/2026/01/12/abcdef.jsonl
scripts/extract.sh ~/.claude/projects/my-proj/xyz.jsonl --after "2026-01-12T10:00:00" --before "2026-01-12T12:00:00"
scripts/extract.sh ~/.clawdbot/agents/main/sessions/123.jsonl --output my-transcript.md
Dependencies
- -Requires
jqin PATH. - -Uses
gdateif available on macOS; otherwise falls back todate.
Launch an agent with Prompt Log on Termo.