omnibus-instrument-error-tracking

Configure PostHog SDKs to capture exceptions with stack traces across applications.

58|5|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/PostHog/skills --skill omnibus-instrument-error-tracking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omnibus-instrument-error-tracking
Source: https://github.com/PostHog/skills/tree/main/skills/posthog/all/skills/omnibus-instrument-error-tracking
Command: npx skills add https://github.com/PostHog/skills --skill omnibus-instrument-error-tracking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Organizations often struggle to instrument error tracking across multiple languages and runtimes, resulting in missed exceptions and scattered debugging context. This Skill provides a unified, guided process to install, configure, and verify PostHog error tracking across web, server, and mobile stacks, ensuring stack traces and source maps are correctly captured.

Core Features & Use Cases

  • End-to-end instrumentation guidance including platform detection, SDK installation, and enabling exception autocapture.
  • Supports manual error captures, environment variable integration, and centralized visibility in PostHog.
  • Use cases include PR reviews, feature rollouts, production debugging, and onboarding teams to error-tracking practices.

Quick Start

Instrument error tracking across your app by following the numbered steps to analyze the codebase, install and configure the SDKs, enable autocapture, add manual captures, and verify results.

Frequently Asked Questions about omnibus-instrument-error-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instrument error tracking across web, backend, and mobile stacks?

PostHog error tracking instrumentation works by automatically detecting platforms, installing SDKs, and enabling exception autocapture to capture stack traces across web, backend, and mobile stacks. It integrates environment variables and source maps for centralized visibility.

How do I set up source maps for error tracking in PostHog?

Source map guidance is included in the error tracking setup workflow to ensure stack traces are correctly captured and mapped. You configure source maps alongside SDK installation and environment variable integration to maintain debugging context across deployments.

Does PostHog error tracking support manual exception capture and autocapture?

PostHog error tracking supports both exception autocapture and manual capture hooks. You can enable autocapture during SDK configuration for automatic exception collection, and add manual capture hooks for specific error handling scenarios across your application stack.

Can I use PostHog error tracking for PR reviews and feature rollouts?

PostHog error tracking supports PR reviews, feature rollouts, and production troubleshooting use cases. You instrument SDKs across your application stack to capture exceptions with stack traces, providing centralized visibility for debugging during code reviews and deployments.

What is the best way to configure PostHog SDKs for exception tracking across multiple environments?

The best way to configure PostHog SDKs for exception tracking is using a guided end-to-end workflow that handles platform detection, SDK installation, autocapture enabling, and environment variable integration. This ensures stack traces and source maps are correctly captured across multiple languages and runtimes.

Why are my PostHog stack traces missing source maps in production?

Missing source maps in PostHog production stack traces typically occur when source map guidance is not followed during SDK setup. The instrumentation workflow includes source map configuration steps to ensure stack traces are correctly captured and mapped across your deployment environments.