/posthog-all:omnibus-instrument-logsfrom posthog-all
Adds PostHog log capture with structured properties and OTLP exporter setup. Use after implementing features or reviewing PRs.
Ships in posthog-all. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to add PostHog log capture for new or changed code. Use it after implementing features or reviewing PRs to ensure meaningful log events are captured with structured properties. If PostHog log export is not yet configured, this skill also covers initial OTLP exporter setup. Supports any platform or language.
Supported platforms: Next.js, Node.js, Python, Go, Java, Datadog, and any language via OpenTelemetry.
Follow these steps IN ORDER:
STEP 1: Analyze the codebase and detect the platform.
STEP 2: Research log capture. (Skip if PostHog log export is already configured.) 2.1. Find the reference file below that matches the detected platform — it is the source of truth for OTLP exporter configuration and integration with existing logging. Read it now. 2.2. If no reference matches, use the "Other Languages" reference as a fallback — it covers the generic OpenTelemetry approach.
STEP 3: Install dependencies. (Skip if PostHog log export is already configured.)
STEP 4: Configure the OTLP exporter. (Skip if PostHog log export is already configured.)
STEP 5: Integrate with existing logging.
STEP 6: Add structured properties.
STEP 7: Set up environment variables.
references/nextjs.md - Next.js logs installation - docsreferences/nodejs.md - Node.js logs installation - docsreferences/python.md - Python logs installation - docsreferences/go.md - Go logs installation - docsreferences/java.md - Java logs installation - docsreferences/datadog.md - Datadog logs installation - docsreferences/other.md - Other languages logs installation - docsreferences/start-here.md - Getting started with logs - docsreferences/search.md - Search logs - docsreferences/best-practices.md - Logging best practices - docsreferences/troubleshooting.md - Logs troubleshooting - docsreferences/link-session-replay.md - Link session replay - docsreferences/debug-logs-mcp.md - Debug logs with mcp - docsEach platform reference contains specific OTLP configuration, SDK setup, and integration patterns. Find the one matching the user's stack.
references/best-practices.md (opens in a new tab)references/datadog.md (opens in a new tab)references/debug-logs-mcp.md (opens in a new tab)references/go.md (opens in a new tab)references/java.md (opens in a new tab)references/link-session-replay.md (opens in a new tab)references/nextjs.md (opens in a new tab)references/nodejs.md (opens in a new tab)references/other.md (opens in a new tab)references/python.md (opens in a new tab)references/search.md (opens in a new tab)references/start-here.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
posthog, log-capture, structured-logging, otlp-exporter, observability
posthog@bokendell-skills is listed by aaronkendell/skills-marketplace — review the source before installing
npx claudepluginhub aaronkendell/skills-marketplace --plugin posthog79 skills in this plugin
/error-tracking-androidPostHog error tracking for Android/error-tracking-angularPostHog error tracking for Angular/error-tracking-flutterPostHog error tracking for Flutter/error-tracking-goPostHog error tracking for Go/error-tracking-honoPostHog error tracking for Hono/error-tracking-nextjsPostHog error tracking for Next.jsOther plugins' skills for the same job