mcpField
P
posthog-cli

posthog-cli

github.com/timschochCloud & DevOps1157 installsUpdated today
Repository

About posthog-cli

posthog-cli is a skill for using PostHog’s `@posthog/cli` to upload sourcemaps for error tracking, often as part of a release process.

Key features

  1. 01Upload sourcemaps with `posthog-cli`
  2. 02Authenticate with `POSTHOG_CLI_TOKEN`
  3. 03Check available commands with `--help`

Use cases

  1. 01Upload sourcemaps during a release
  2. 02Use the CLI instead of handwritten API calls

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/timschoch/skilly --skill posthog-cli

After installing, type/posthog-cliin Claude Code to confirm it loaded.

Details

From the project README

PostHog CLI

PostHog ships @posthog/cli (binary: posthog-cli). Use it instead of hand-written API calls.

  • Upload sourcemaps for error tracking: posthog-cli sourcemap upload
  • Discover more: posthog-cli --help

Auth via POSTHOG_CLI_TOKEN (or the repo's configured env). Check the repo's build scripts — sourcemap upload is usually part of the release step.

Comments

Markdown supported