From posthog-pack
Install and configure PostHog SDK/CLI authentication. Use when setting up a new PostHog integration, configuring API keys, or initializing PostHog in your project. Trigger with phrases like "install posthog", "setup posthog", "posthog auth", "configure posthog API key".
How this skill is triggered — by the user, by Claude, or both
Slash command
/posthog-pack:posthog-install-authThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up PostHog SDK/CLI and configure authentication credentials.
Set up PostHog SDK/CLI and configure authentication credentials.
set -euo pipefail
# Node.js
npm install @posthog/sdk
# Python
pip install posthog
# Set environment variable
export POSTHOG_API_KEY="your-api-key"
# Or create .env file
echo 'POSTHOG_API_KEY=your-api-key' >> .env
// Test connection code here
| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in PostHog dashboard |
| Rate Limited | Exceeded quota | Check quota at https://docs.posthog.com |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
import { PostHogClient } from '@posthog/sdk';
const client = new PostHogClient({
apiKey: process.env.POSTHOG_API_KEY,
});
from posthog import PostHogClient
client = PostHogClient(
api_key=os.environ.get('POSTHOG_API_KEY')
)
After successful auth, proceed to posthog-hello-world for your first API call.
npx claudepluginhub terrylica/claude-code-plugins-plus --plugin posthog-packGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.
4plugins reuse this skill
First indexed Jul 11, 2026