# Pm Posthog

> PostHog connector knowledge and safe action guide.

- Skill: `polymetrics-ai/pm-posthog` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add polymetrics-ai/pm-posthog`
- Raw SKILL.md: https://api.skillmd.com/api/skills/polymetrics-ai/pm-posthog/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: polymetrics-ai (https://skillmd.com/u/polymetrics-ai)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/polymetrics-ai/pm-posthog

---


# pm-posthog

## Purpose

Reads PostHog events and persons for a project via the PostHog REST API. Read-only.

## Icon

- id: posthog
- asset: icons/posthog.svg
- source: official
- review_status: official_verified
- review_url: https://posthog.com/docs/api

## Capabilities

- check=true catalog=true read=true write=false query=false
- Integration type: api

## Authentication

- Use pm credentials add with --from-env or --value-stdin for secret fields.

## Configuration

- base_url
- mode
- page_size
- project_id (required)
- start_date
- api_key (secret)

## ETL Streams

- events:
  - primary key: id
  - cursor: timestamp
  - fields: distinct_id(string), event(string), id(string), properties(object), timestamp(string)
- persons:
  - primary key: id
  - fields: created_at(string), distinct_id(string), id(string), properties(object)

## Sync Modes

- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

## Security

- read risk: external PostHog API read of project event and person data
- approval: none; read-only analytics API
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

## Commands

### Inspect as a manual

```bash
pm connectors inspect posthog
```

### Inspect as structured JSON

```bash
pm connectors inspect posthog --json
```

## Agent Rules

- Run pm connectors inspect posthog before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.

