Agent skill · Data & Analytics

enhanced-telemetry

Comprehensive Claude Code telemetry via 10 hooks capturing sessions, conversations, tools, subagents, context, permissions, and repository analytics. Use when analyzing detailed usage patterns beyond default OTEL.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill enhanced-telemetry --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/enhanced-telemetry/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Enhanced Telemetry v2 Captures comprehensive Claude Code metrics via ALL 10 available hooks, providing deep observability beyond default OTEL telemetry. ## What It Captures ### Session Analytics - Session lifecycle (start/end) - Session duration - Session source (startup/resume/clear/compact) - Session termination reason - Permission mode ### Conversation Analytics - Turn count per session - Prompt patterns (question/debugging/creation/ultrathink) - Prompt length and token estimates - Conversation style distribution ### Tool Analytics - Tool call frequency - Tool sequences (previous → current) - Tool error rates - Response sizes and token estimates - File types accessed ### Subagent Analytics - Subagents spawned per session - Subagent types (Explore, Plan, general-purpose, etc.) - Subagent completion tracking ### Context Analytics - Estimated token usage - Context window utilization percentage - Context compaction events (manual vs auto) - Token accumulation tracking ### Repository Analytics - Activity per repository - Tool usage by project - Branch-level tracking ### Permission Analytics - Permission requests - Permission types - Notification tracking ## 10 Hooks Instrumented |

What's inside
Steps it walks through
  1. What It Captures
  2. Session Analytics
  3. Conversation Analytics
  4. Tool Analytics
  5. Subagent Analytics
  6. Context Analytics
  7. Repository Analytics
  8. Permission Analytics
  9. 10 Hooks Instrumented
  10. Configuration
  11. Viewing Data
  12. Grafana Dashboards
  13. LogQL Queries
  14. Event Schemas
Ships with 1 file
  • metadata.json
Commands it runs
cat .claude/settings.json | grep enhanced-telemetry
echo '{"tool_name":"Test"}' | python3 .claude/hooks/enhanced-telemetry.py PreToolUse
curl -s "http://localhost:3100/loki/api/v1/labels"
curl -s "http://localhost:3100/loki/api/v1/query?query={job=\"claude_code_enhanced\"}&limit=5"
More from claude-skill-registry
All skills →
About this skill
What does the enhanced-telemetry skill do?

Comprehensive Claude Code telemetry via 10 hooks capturing sessions, conversations, tools, subagents, context, permissions, and repository analytics. Use when analyzing detailed usage patterns beyond default OTEL.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill enhanced-telemetry --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going