fleet-telemetry

Capture Claude Code session metrics and forward them to PostHog.

Updated May 30, 2026
One-click install
npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill fleet-telemetry
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fleet-telemetry
Source: https://github.com/InnerScopeHearing/otchealth-claude-tools/tree/main/skills/fleet-telemetry
Command: npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill fleet-telemetry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides observability into Claude Code sessions, turning the agent fleet into a measurable system that tracks costs, tokens, and usage across all sessions.

Core Features & Use Cases

  • Session Telemetry: Collects detailed metrics on Claude Code sessions, including cost, tokens, model used, tool usage, errors, and duration.
  • PostHog Integration: Sends telemetry data to a PostHog project for analysis, visualization, and monitoring.
  • Session End Hook: Automatically captures session data when the session ends.

Quick Start

Wire up the fleet-telemetry skill as a Stop hook in your Claude Code session to start collecting telemetry data.

Frequently Asked Questions about fleet-telemetry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture Claude Code session metrics for LLM observability?▼

You can capture Claude Code session metrics by wiring up a Stop hook that automatically collects telemetry data, including cost, tokens, model usage, and tool interactions, when a session ends.

What is agent fleet observability and why do I need it for Claude Code?▼

Agent fleet observability turns your Claude Code sessions from a black box into a measurable system by tracking costs, tokens, model usage, and errors across all sessions.

Does the fleet-telemetry skill work with PostHog for session analysis?▼

Yes, this skill forwards captured Claude Code session metrics and events directly to a PostHog project, enabling analysis, visualization, and monitoring of your agent fleet.

What data points are captured when monitoring Claude Code sessions?▼

Session telemetry captures detailed metrics including cost, tokens, model used, tool usage, errors, and duration, then generates events for cost, tokens, model usage, and tool interactions.

How do I set up automated session data capture in Claude Code?▼

Automated session data capture is set up by wiring the telemetry skill as a Stop hook in your Claude Code environment, which triggers data collection automatically when sessions end.