amxv

Agentscript — Development skill for Claude Code

Development community

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