Rudel: Open-source analytics for Claude Code sessions

Rudel is an open-source analytics layer for Claude Code sessions that provides visibility into how developers actually use AI coding agents. The team built it after realizing they had no insight into their own Claude Code usage patterns.
Key findings from 1,573 real sessions
The team analyzed 1,573 Claude Code sessions containing 15M+ tokens and 270K+ interactions. Some notable findings:
- Skills were only being used in 4% of sessions
- 26% of sessions are abandoned, most within the first 60 seconds
- Session success rate varies significantly by task type (documentation scores highest, refactoring lowest)
- Error cascade patterns appear in the first 2 minutes and predict abandonment with reasonable accuracy
- There is no meaningful benchmark for 'good' agentic session performance
How Rudel works
The tool consists of a CLI and dashboard. To get started:
npm install -g rudel
rudel login # authenticate via your browser
rudel enable # auto-upload sessions when Claude Code exits
For batch upload of existing sessions:
rudel upload # interactive picker for batch upload
Technical implementation
When you run rudel enable, it registers a Claude Code hook that runs when a session ends. The hook uploads the session transcript to Rudel. Transcripts are stored in ClickHouse and processed into analytics.
Data collected
Each uploaded session includes:
- Session ID & timestamps (start, last interaction)
- User ID & organization ID
- Project path & package name
- Git context (repository, branch, SHA, remote)
- Session transcript (full prompt & response content)
- Sub-agent usage
Security considerations
Rudel ingests full coding-agent session data, which may contain sensitive material including source code, prompts, tool output, file contents, command output, URLs, and secrets. The team emphasizes only enabling Rudel on projects and environments where you're comfortable uploading that data. For the hosted service at app.rudel.ai, they state they do not have access to personal data contained in uploaded transcripts.
Development and self-hosting
The project is MIT licensed and includes documentation for local development and self-hosting. See CONTRIBUTING.md for local setup and docs/self-hosting.md for running your own instance.
This type of tool is particularly useful for teams wanting to understand how their developers interact with AI coding assistants, identify patterns in successful vs. abandoned sessions, and potentially improve their workflows based on data rather than anecdote.
📖 Read the full source: HN AI Agents
👀 See Also

4-Pane iTerm2 Setup for Claude Code CLI Separates AI Roles
A developer built a four-pane iTerm2 terminal setup specifically for Claude Code CLI to address context drift and self-grading bias. Each pane is locked to a specific role with dedicated models and permissions.

SkillMesh: MCP-Friendly Router for Large Tool Catalogs Reduces Context Size by 70%
SkillMesh is an MCP-friendly router that retrieves only relevant expert cards for AI agent queries, reducing context size by 70% and improving tool selection. It supports Claude via MCP server, Codex skill bundles, and OpenAI-style function schemas.

Unsloth and NVIDIA Collaborate to Speed Up LLM Training by ~25%
Unsloth and NVIDIA release optimizations for LLM training: caching packed-sequence metadata (~14.3% speedup) and double-buffered async gradient checkpointing (~8% speedup), with no accuracy loss. Auto-enabled on RTX laptops, data center GPUs, and DGX Spark.
Voker Launches Agent Analytics Platform with Intent/Correction/Resolution Primitives
YC S24 startup Voker launches an agent analytics platform with a lightweight SDK that automatically annotates user intents, corrections, and resolutions — providing self-service dashboards without relying on LLMs for data engineering.