
Tracks AI chatbot performance without storing conversation content, which matters if you're dealing with sensitive data. You get the 13 metrics that actually matter: session counts, message volumes, token usage for cost tracking, response times, and error rates. The implementation is smart about HIPAA compliance by deriving categories from metadata flags rather than analyzing message text. The aggregation queries are ready to use for building dashboards, and the alert configuration catches concerning patterns like crisis spikes or abandonment rates. This is basically the analytics layer you'd build yourself after your first month of running a chatbot in production, except someone already thought through the privacy implications.
$ npx -y skills add erichowens/some_claude_skills --skill chatbot-analytics --agent claude-codeInstalls into .claude/skills of the current project.
This skill helps you implement analytics for the AI coaching chat feature while maintaining HIPAA compliance.
Based on industry best practices, track these 13 key metrics:
| Metric | Description | HIPAA Safe? |
|---|---|---|
| Total Sessions | Number of chat sessions | Yes |
| Avg Messages/Session | Messages per conversation | Yes |
| Avg Session Duration | Time spent in chat | Yes |
| Engagement Rate | % users who use chat | Yes |
| Completion Rate | Sessions ended naturally | Yes |
| Abandonment Rate | Sessions ended early | Yes |
| Response Time | AI response latency | Yes |
| Token Usage | Total/avg tokens consumed | Yes |
| Error Rate | Failed responses | Yes |
| Fallback Rate | "I don't understand" responses | Yes |
| Topic Categories | What users discuss | Metadata only |
| Sentiment Trend | Emotional direction | Derived only |
| Crisis Triggers | Emergency detection | Metadata only |
Sponsors