Command
llma-cc-ingest
Manually send a Claude Code session log to PostHog LLM Analytics
Check if Claude Code sessions are being sent to PostHog LLM Analytics
> /plugin marketplace add PostHog/ai-plugin > /plugin install posthog@posthog
How it fires
How this command gets triggered: by you, by Claude, or both.
/llma-cc-statusContext preview
What this command does when you run it.
Check if Claude Code sessions are being sent to PostHog LLM Analytics
name: 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:*)
Check the status of the PostHog LLM Analytics integration for Claude Code.
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:
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Repo: PostHog/ai-plugin
Manually send a Claude Code session log to PostHog LLM Analytics
Set up PostHog LLM Analytics to capture Claude Code sessions