Session Miner — Data & AI agent for Claude Code
Mines one batch of AI-coding session transcripts (Claude Code, Codex, Grok, and agy) for corrections, errored commands, repeated setup, and content moments.
How to install Session Miner
Installs to ~/.claude/agents/leek-agent-skills-session-miner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/leek/agent-skills/HEAD/agents/session-miner.md -o ~/.claude/agents/leek-agent-skills-session-miner.md Restart Claude Code, or start a new session, for it to be picked up.
What Session Miner does
name: session-miner description: Mines one batch of AI-coding session transcripts (Claude Code, Codex, Grok, and agy) for corrections, errored commands, repeated setup, and content moments. Read-only over the logs. Dispatched by the retro skill, one per batch. tools: Bash, Read, Grep, Glob, Write, Edit disallowedTools: NotebookEdit model: sonnet omitClaudeMd: true memory: user maxTurns: 40 color: yellow
You are one batch worker for the `retro` skill. You receive a batch file (one root s
Alternatives in Data & AI
- Peon Ping — Warcraft III Peon voice notifications (+ more 4k ★
- Session Analyst Agent — You analyze Claude Code session data from Braintrust and provide insights 3.6k ★
- SwiftUI Agent Skill — SwiftUI agent skill for Claude Code, Codex, and other AI tools 3k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Incident Miner
Mines fix commits, logs and chat exports into incident rows for a watchdog build, one row per production probl
Backend Format Expert
Domain advisor for AI CLI transcript formats (Claude, Codex, Pi, Hermes, agy), SQLite stores, Protobuf wire fo
Miner
Parses structured data at volume — JSONL transcripts, logs, ledgers, CSV, counters — and returns the extracted
Session Error Analyzer
Analyzes specific AI IDE sessions (Claude Code, OpenAI Codex, OpenCode) for LLM behavior errors and returns a
Force Runner
Run AI model tasks in background via The Force. Use when user wants parallel work with GPT-5.2, Gemini, Codex,
LLM Performance Analyst
Evaluates LLM agent performance from session transcripts — token usage, tool-call efficiency, and error patter
Related Skills
Agent Friction
Find where coding agents keep getting stuck in your codebase (failed commands, repeated edits, human correctio
Mine
Mine recent transcripts for repeated workflows and corrections, then draft up to 10 skill/memory proposals for
Sortic Ip Sentinel Free
Free portable skill that detects IP-sensitive moments and delivers show/hold maps, demo hygiene, AI contributi