Agentscript — Development skill for Claude Code
CLI for Claude Code + Codex JSONL transcript searching, reading, and slicing.
How to install Agentscript
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open amxv/agentscript and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentscript does
CLI for Claude Code + Codex JSONL transcript searching, reading, and slicing.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Memory Gc — Inspect or rotate the autopilot ledger JSONL files (findings.jsonl, negatives.jsonl) 3.8k ★
- Tail Claude — A Go Bubble Tea TUI for reading Claude Code session JSONL files 154 ★
README
agentscript
`agentscript` is a terminal-first handoff, search, and transcript reader for Claude Code and Codex JSONL sessions.
The Go module stays at the repository root, the Astro site lives in `docs/`, and the npm CLI package is assembled from `npm/` (including a Go source-build fallback).
It makes agent-to-agent context transfer a one-command workflow, while also turning local transcripts into readable indexed blocks for search, inspection, slicing, file/command activity, and export.
Install
npm i -g @amxv/agentscript
agentscript --help
For local development:
make build
./dist/agentscript --help
Agent handoff — the primary workflow
When you give a new agent a transcript path and ask it to continue the work, the first command should be:
agentscript handoff /path/to/transcript.jsonl
`handoff` produces continuation-ready Markdown with the current task requests, a compact recent work trace, files changed during the task (or relevant earlier edits), Git/validation/failure activity, and exact drill-down commands. It deliberately treats the transcript as historical context and reminds the receiving agent to verify the live filesystem before making changes.
The natural alias and bare-path shortcut work too:
agentscript continue /path/to/transcript.jsonl
agentscript /path/to/transcript.jsonl
You can also use a full Claude/Codex session UUID instead of a path, or paste a `file://` URL:
agentscript handoff 019f91bc-123f-7692-8a78-21e54d6677e6
agentscript handoff 'file:///Users/me/.codex/sessions/.../rollout.jsonl'
Useful handoff controls:
agentscript handoff transcript.jsonl --last 80
agentscript handoff transcript.jsonl --format json
agentscript handoff transcript.jsonl --out HANDOFF.md
The default handoff repeats terse continuation turns such as `keep going` together with nearby substantive requests, hides thinking and bulky tool results, keeps stable block indexes, and limit
Related Skills
Reddit Skill
Claude Code Agent Skill for searching and reading Reddit via OAuth2 API
Claude Notes
Transform Claude Code transcript JSONL files into readable terminal and HTML formats.
Cjm Harness Transcripts
Parse agent-harness session transcripts (Claude Code JSONL first): the append-only record DAG, derived active
Continuity Recover
Recover continuity state from a past session transcript (JSONL). Use when a session ended without a clean wrap
Mindmap From Transcript
You are reading a rich transcript of a video. The transcript was produced from the original audio and on-scree
AllSessions
A local-first desktop workspace for browsing, searching, and managing Codex, Claude Code, and Gemini CLI sessi
Related Agents
Backend Format Expert
Domain advisor for AI CLI transcript formats (Claude, Codex, Pi, Hermes, agy), SQLite stores, Protobuf wire fo
Codex Analyst
Token-heavy READ-ONLY analysis, codebase surveys, audits and inventories, executed by the Codex CLI rather tha
Context Memory Manager
Context Window & Token Optimization Specialist. Manages token budgets, compresses prompts (RTK/Caveman), imple