Skip to content
Agentmart
Submit a tool

collect-transcripts

Ingest raw session transcripts from coding-agent harnesses via vendor-specific adapters, normalize to a common event schema, triage for struggle signals, and…

Skill by jankneumann

IndexedMIT★ 4
Write a review

Chalk Labs

Need help deploying collect-transcripts?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jankneumann-collect-transcripts

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Ingest raw session transcripts from coding-agent harnesses via vendor-specific adapters, normalize to a common event schema, triage for struggle signals, and write structured findings to episodic memory

Use cases: writing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/collect-transcripts

What's inside

Skill name
collect-transcripts
Description
Ingest raw session transcripts from coding-agent harnesses via vendor-specific adapters, normalize to a common event schema, triage for struggle signals, and write structured findings to episodic memory
License
MIT
Instructions
84 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (37)

  • SKILL.md
  • config.yaml.example
  • deep_analysis_v1.md · prompts/
  • triage_v1.md · prompts/
  • event-schema.md · references/
  • __init__.py · scripts/adapters/
  • antigravity_cli.py · scripts/adapters/
  • base.py · scripts/adapters/
  • claude_code_cli.py · scripts/adapters/
  • claude_code_web.py · scripts/adapters/
  • codex_cli.py · scripts/adapters/
  • codex_web.py · scripts/adapters/
  • grok_cli.py · scripts/adapters/
  • pi_cli.py · scripts/adapters/
  • deep_analyze.py · scripts/
  • normalize.py · scripts/
  • sanitize_events.py · scripts/
  • triage.py · scripts/
  • __init__.py · tests/
  • sess-agy-001.jsonl · tests/fixtures/antigravity_cli/
  • session-abc123.jsonl · tests/fixtures/claude_code_cli/
  • rollout-1714560000-sess-xyz789.jsonl · tests/fixtures/codex_cli/
  • session-2026-05-01T10-00-grok01.jsonl · tests/fixtures/grok_cli/
  • session-2026-05-01T10-00-pi0001.ndjson · tests/fixtures/pi_cli/
  • test_adapter_base.py · tests/
  • test_antigravity_cli.py · tests/
  • test_claude_code_cli.py · tests/
  • test_claude_code_web.py · tests/
  • test_codex_cli.py · tests/
  • test_codex_web.py · tests/
  • test_deep_analyze.py · tests/
  • test_end_to_end.py · tests/
  • test_grok_cli.py · tests/
  • test_normalize.py · tests/
  • test_pi_cli.py · tests/
  • test_sanitize_events.py · tests/
  • test_triage.py · tests/

SKILL.md (first lines)

# Collect Transcripts

Ingest raw session transcripts from supported coding-agent harnesses via vendor-specific adapters, normalize them to a common event schema, triage for struggle signals, and run deep analysis on flagged sessions. Findings are written to episodic memory using the D4 tag schema with `source:transcript-mined`.

## Arguments

`$ARGUMENTS` - Optional flags:
- `--adapter <name>` (claude_code_cli, claude_code_web, codex_cli, codex_web, antigravity_cli, grok_cli, pi_cli; default: all available)
- `--threshold <float>` (composite score threshold for deep analysis; default: 5.0)
- `--dry-run` (print planned operations without API calls; default in CI)
- `--enable` (opt-in to actually run LLM analysis; required to make API calls)

## Adapters

| Adapter | Source | Schema Version |
|---------|--------|---------------|
| `claude_code_cli` | `~/.claude/projects/<encoded-cwd>/<session-id>.jsonl` | 1.0 |
| `claude_code_web` | CLI bridge via `claude --teleport <session-id>` | 1.0 |
| `codex_cli` | `$CODEX_HOME/sessions/YYYY/MM/DD/rollout-*.jsonl` | rollout-v1 |
| `codex_web` | CLI bridge via `codex cloud` | rollout-v1 |
| `antigravity_cli` | `~/.antigravity/projects/<encoded-cwd>/<session-id>.jsonl` | 1.0 |
| `grok_cli` | `~/.grok/sessions/session-*.jsonl` | grok-session-v1 |
| `pi_cli` | `~/.pi/sessions/session-*.ndjson` | pi-ndjson-v1 |

All adapters fail soft (log warning, skip) when their source is unavailable.

## Pipeline

```
1. Discover sessions (per adapter)
2. Normalize to NormalizedEvent schema
3. Sanitize (secrets, entropy, paths) — BEFORE any LLM sees content
4. Triage (score for struggle signals: retries, errors, scope violations, corrections)
5. Deep analyze (flagged sessions only — heuristic or LLM)
6. Write findings to episodic memory (D4 tag schema, source:transcript-mined)
```

## How It Works

1. **Discovery**: Each adapter enumerates available sessions from its source
2. **Normalization**: Raw vendor events -> NormalizedEvent (common schema in `references/event-schema.md`)
3. **Sanitization**: Reuses `session-log` sanitizer extended for tool-call arguments and tool-result outputs
4. **Triage**: Scores each session on retry_count, tool_error_count, scope_violation_count, user_correction_count
5. **Deep Analysis**: Runs on flagged sessions (composite score >= threshold), extracts structured findings
6. **Memory**: Findings written with D4 tags (`failure_type:*`, `capability_gap:*`, etc.) + `source:transcript-mined`

## Model Resolution

- **Triage**: archetype `analyst` (standard tier), configurable via `config.yaml: triage.archetype`
- **Deep analysis**: archetype `reviewer` (premium tier), configurable via `config.yaml: deep_analysis.archetype`
- Both resolve via `agents_config.resolve_model()` from the coordinator

## Prerequisites

- Python 3.11+
- At least one harness's sessions directory accessible on disk
- For web adapters: vendor CLI installed and authenticated

## Steps

### 1. Discover and Normalize

```bash
python3 <agent-skills-dir>/collect-transcripts/scripts/adapters/claude_code_cli.py
```

### 2. Triage

```bash
python3 <agent-skills-dir>/collect-transcripts/scripts/triage.py \
  --events-dir docs/transcripts/$(date +%Y-%m-%d)/ \
  --threshold 5.0 \
  --dry-run
```

### 3. Deep Analysis (flagged sessions only)

```bash
python3 <agent-skills-dir>/collect-transcripts/scripts/deep_analyze.py \
  --events-file docs/transcripts/2026-06-01/session-abc.jsonl \
  --dry-run
```

From jankneumann/agentic-coding-tools, MIT.

More from jankneumann/agentic-coding-tools

Signals

Stars
4
Forks
1
Open issues
129
Last commit (this folder)
Sep 18, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jankneumann

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get collect-transcripts running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying collect-transcripts?

CallGet help
Cite this page

collect-transcripts skill. Agent Mart. https://agentmart.dev/skills/jankneumann-collect-transcripts (last updated 2026-10-24)