cyberneticlibrary

Extract and display agent final report

agent-reportskillsetup L1381
majiayu000/claude-skill-registry
What it does

Extract and display the final message from a Claude agent JSONL file

Best for

Viewing results from completed subagent runs in a readable format

Inputs
  • · agent short ID (e.g. ad42ecb)
  • · optional output filename
Outputs
  • · formatted markdown report with agent's final message
Requires
  • · jq or similar JSON parser
  • · bash
Preconditions

Agent JSONL file exists with path resolvable from ID

Failure modes

Agent file not found if ID incorrect or storage location differs

Trust signals
  • · simple script with no parsing risk
  • · handles optional output file gracefully