Skip to content
anyai.fyi

installing-posthog-in-a-codebase

Skill from PostHog/ai-plugin

Development Worth a look curated codesdkanalytics

Install

npx skills add PostHog/ai-plugin --skill installing-posthog-in-a-codebase

Runs the open skills CLI and installs the skill for your agent (Claude Code, Codex, Cursor …). Alternatively copy the skill folder into .claude/skills/ or upload it in Claude.ai under Settings → Skills.

As a Claude Code plugin

/plugin marketplace add anthropics/claude-plugins-official /plugin install posthog@posthog

This skill is part of the plugin “posthog”. In Claude Code the plugin installs it together with the plugin’s other skills, commands and hooks.

What does the installing-posthog-in-a-codebase skill do?

Install and configure a PostHog SDK in a repository you can read and edit, following PostHog's docs for the framework. Use when a user working in their codebase asks to add, install, or set up PostHog, product analytics, session replay, or a PostHog SDK. Covers finding the right docs page, installing the latest package, getting the project token and ingestion host from project-get, keeping them in the env file, server-side setup, identifying users, and verifying the change. If you can't access the user's code, as is common in ChatGPT on the web or Claude on the web, use installing-posthog-from-chat instead.

Description from the SKILL.md in the source repository.

Works with PostHog

Questions about installing-posthog-in-a-codebase

What does the installing-posthog-in-a-codebase skill do?

Install and configure a PostHog SDK in a repository you can read and edit, following PostHog's docs for the framework. Use when a user working in their codebase asks to add, install, or set up PostHog, product analytics, session replay, or a PostHog SDK. Covers finding the right docs page, installing the latest package, getting the project token and ingestion host from project-get, keeping them in the env file, server-side setup, identifying users, and verifying the change. If you can't access the user's code, as is common in ChatGPT on the web or Claude on the web, use installing-posthog-from-chat instead.

How do I install installing-posthog-in-a-codebase?

In a terminal: npx skills add PostHog/ai-plugin --skill installing-posthog-in-a-codebase. The skills CLI asks which agents to install it for. In Claude.ai you can upload the skill folder as a ZIP under Settings → Skills.

Which agents can use installing-posthog-in-a-codebase?

Skills use the open SKILL.md format, which Claude Code, Claude.ai, the Claude API, OpenAI Codex, Cursor, Gemini CLI and other agents support.

Is installing-posthog-in-a-codebase safe to use?

Our automatic check found patterns worth a look (see “Check”). That is not proof of anything bad – read the SKILL.md and scripts before installing.

Which tool is installing-posthog-in-a-codebase for?

installing-posthog-in-a-codebase comes from the makers of PostHog and helps your agent work with it.

More skills from PostHog/ai-plugin

setting-up-ai-visibility
PostHog/ai-plugin

Set up AI visibility (AI citation tracking) for a PostHog project over the PostHog MCP: confirm the project's own site and brand, review competitor brands, choose which AI answer engines run and …

Design & Media curated
No risky patterns found
migrating-from-fivetran
PostHog/ai-plugin

Move a user's Fivetran connectors into PostHog data warehouse sources. Use when the user says "migrate from Fivetran", "import my Fivetran setup", "replace Fivetran with PostHog", or asks what of their Fivetran …

Data & Databases curated
No risky patterns found
measuring-email-performance
PostHog/ai-plugin

Reports how a PostHog workflow email performs, read-only over MCP: sends, deliveries, opens, clicks, bounces and spam complaints per email step, version comparisons, clicked links, product outcomes after the send, and one …

Writing & Marketing curated
No risky patterns found
managing-llm-prompts
PostHog/ai-plugin

Create, version, release, and wire up LLM prompts with PostHog prompt management. Use when a user asks to create or edit a prompt in PostHog, move hardcoded prompts out of their code …

Development curated
Worth a look
instrument-reverse-proxy
PostHog/ai-plugin

Route PostHog's browser traffic through the app's own domain, so ad blockers don't drop events, session replays, and feature flag calls.

Frontend & UI curated
Worth a look
writing-streamlit-apps
PostHog/ai-plugin

Write Streamlit app source code that runs well in a PostHog sandbox — the posthog_apps.query() bridge for reading PostHog data, the packages baked into the sandbox image, caching and session state across …

Data & Databases curated
No risky patterns found
writing-simplified-technical-english
PostHog/ai-plugin

Write English that a reader cannot misread: one meaning per word, active voice, simple tenses, one idea per sentence, short sentences.

Writing & Marketing curated
No risky patterns found
working-with-task-comments
PostHog/ai-plugin

Read and use comments attached to the current PostHog task, its artifacts, and any canvas through the PostHog MCP exec dispatcher.

Design & Media curated
No risky patterns found

Related skills in Development

improve-codebase-architecture
mattpocock/skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

Development 1289k installs curated
No risky patterns found
diagnosing-bugs
mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

Development 954k installs curated
No risky patterns found
code-review
mattpocock/skills

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what …

Development 915k installs curated
No risky patterns found
research
mattpocock/skills

Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.

Development 826k installs curated
No risky patterns found
appinsights-instrumentation
microsoft/azure-skills

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references.

Development 748k installs curated
No risky patterns found
azure-resource-visualizer
microsoft/azure-skills

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group …

Development 748k installs curated
No risky patterns found
azure-aigateway
microsoft/azure-skills

Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection …

Development 747k installs curated
No risky patterns found
azure-messaging
microsoft/azure-skills

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems.

Development 739k installs curated
No risky patterns found