Development
Command
/llma-cc-status
Check if Claude Code sessions are being sent to PostHog LLM Analytics
> /plugin marketplace add PostHog/ai-plugin
Command definition
llma-cc-status.mdname: posthog:llma-cc-status description: Check if Claude Code sessions are being sent to PostHog LLM Analytics allowed-tools: Bash(echo:*),Bash(cat:*),Bash(python3:*)
LLM Analytics — Claude Code Status
Check the status of the PostHog LLM Analytics integration for Claude Code.
Steps
1. Check if `POSTHOG_API_KEY` is set:
echo "POSTHOG_LLMA_CC_ENABLED=${POSTHOG_LLMA_CC_ENABLED:-(not set, defaults to false)}"
echo "POSTHOG_API_KEY=${POSTHOG_API_KEY:-(not set)}"
echo "POSTHOG_HOST=${POSTHOG_HOST:-(not set, defaults to US)}"
echo "POSTHOG_LLMA_PRIVACY_MODE=${POSTHOG_LLMA_PRIVACY_MODE:-(not set, defaults to false)}"
echo "POSTHOG_LLMA_CUSTOM_PROPERTIES=${POSTHOG_LLMA_CUSTOM_PROPERTIES:-(not set)}"2. Check the last send status:
cat ~/.claude/posthog-llma-status.json 2>/dev/null || echo "No sessions sent yet"
3. Summarize the results for the user:
- If API key is not set: explain they need to run `/posthog:llma-cc-setup`
- If API key is set but no status file: explain that data will be sent after the next session ends
- If status file exists: show when the last session was sent, how many events, and whether it succeeded
Stats
100
Stars
21
Forks
Active
Maintenance
Python
Language
Last commit
Created
Ships withai-plugin
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
95180 skills1 agent1 MCP
Other commands on ai-plugin.
More commands from other plugins.
Auto-invoked
Auto-invoked
build
CommandImplement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

