| name | agent-parser |
| description | Codex JSONL, Gemini JSON, Claude transcript 출력을 파싱하여 구조화 요약을 생성할 때 사용한다. parse-only 작업에만 직접 사용. full workflow(review → parse → save)가 필요하면 cross-agent-bridge를 먼저 사용하라. |
Agent Parser
cross-agent-bridge family의 parse specialist. 출력 파싱만 필요할 때 직접 호출한다.
Full workflow가 필요하면 cross-agent-bridge를 먼저 사용하세요. 이 skill은 parse-only direct call 전용입니다.
지원 포맷
| 에이전트 | 입력 형식 | 시그니처 키 |
|---|
| Codex | JSONL | type: thread.started/item.started |
| Gemini | JSON | stats + response |
| Claude | JSONL | type: user/assistant + message |
워크플로우
- --file 또는 stdin으로 에이전트 출력을 전달
- 자동 감지: 첫 유효 JSON 라인의 시그니처 키 분석
- 해당 파서로 구조화 파싱 (이벤트 집계, 토큰 통계 등)
- summary(텍스트) 또는 json 형식으로 출력
사용법
python3 scripts/parse.py --file output.jsonl
python3 scripts/parse.py --file codex.jsonl --agent codex
python3 scripts/parse.py --file gemini.json --agent gemini
python3 scripts/parse.py --file transcript.jsonl --agent claude
python3 scripts/parse.py --file output.jsonl --format json
python3 scripts/parse.py --file transcript.jsonl --agent claude --last-n 10
python3 scripts/parse.py --file output.jsonl --save
사전 요구사항
- Python 3.10+
- 외부 패키지 불필요 (표준 라이브러리만 사용)