Session Pattern Analyzer — Development agent for Claude Code
Analyzes Claude Code session JSONL files to extract execution patterns: plan-ratio, delegation, parallel usage, handoff, repeated n-grams, tool frequency.
How to install Session Pattern Analyzer
Installs to ~/.claude/agents/henry-1981-context-first-harness-session-pattern-analyzer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/henry-1981/context-first-harness/HEAD/.claude/agents/session-pattern-analyzer.md -o ~/.claude/agents/henry-1981-context-first-harness-session-pattern-analyzer.md Restart Claude Code, or start a new session, for it to be picked up.
What Session Pattern Analyzer does
name: session-pattern-analyzer description: "Analyzes Claude Code session JSONL files to extract execution patterns: plan-ratio, delegation, parallel usage, handoff, repeated n-grams, tool frequency. Uses jq on tool_use metadata only — never reads prompt text. Scales via split+parallel when many sessions exist. Returns SESSION_REPORT JSON." tools: Read, Grep, Glob, Bash
session-pat
Alternatives in Development
- Fable Orchestrator — Staged-execution orchestrator for large, multi-part, or multi-session tasks 837 ★
- Performance Monitor — Monitor agent execution, track token usage, measure response quality, and optimize workflows 93 ★
- Serp Extract — Extracts and normalizes SERP snapshots with provider metadata, organic results, and SERP features 50 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Rea Orchestrator
Primary routing agent — enforces .rea/policy.yaml autonomy level, checks HALT before delegation, and routes no
Feedback Analyzer
Analyzes user feedback from multiple sources (reviews, tickets, surveys, interviews) to extract themes, sentim
Posting Fetcher
Retrieves one job posting from a URL the user supplied, runs the posting integrity gate on it, and returns the
Summarizer
Draft a session-handoff summary so a fresh agent can continue with zero conversation context. Locates the curr
Churn Pattern Analyst
Use this agent when you need to analyze user feedback survey responses to surface and rank churn drivers, with
Hatch3r Handoff Preparer
Prepare a canonical handoff document capturing mid-work session state. Invoked by /hatch3r-handoff prepare and
Related Skills
Morning Debrief Analyzer
This prompt transcribes morning debrief audio recordings using OpenAI Whisper and analyzes the transcript to e
Analyze Patterns
Analyze ~/.claude/tool_logs/operations.jsonl operation logs to identify repeated patterns across sessions and
Catalyst Stats
Show a compact read-only report of the current session — approximate token usage (exact when transcript usage