Connect PostHog to Your AI Agent

Compare recorded activity, explain an insight, or clarify what a tracked event means.

57 tools OAuth / API key

Try a PostHog Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill PostHog

Review your event dictionary

See which tracked events are unclear or missing descriptions.

/oo PostHog: Review the event definitions in PostHog project [project ID]. List events with missing descriptions and summarize what the documented events mean. Do not infer meanings for undocumented events.

Clarify a tracked event

Save your team’s definition where others can find it.

/oo PostHog: In PostHog project [project ID], find the event [exact event name]. Update its description to [agreed meaning and when it fires], keeping other metadata unchanged.

Compare product activity

Get a focused comparison using the event and time window you choose.

/oo PostHog: In PostHog project [project ID], compare the number of unique users who triggered [event name] in [date range] with the previous equal-length period. Show both counts and the change; if the query runs in the background, check it until the result is ready.

Explain a saved insight

Understand what an existing report measures and what its returned results show.

/oo PostHog: Read PostHog insight [insight ID] in project [project ID]. Explain its filters, measured events, and returned results. Identify questions the data does not answer.

Start Working with PostHog

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect PostHog

    Connect through PostHog OAuth, or provide a personal API key and the correct instance base URL.

    Connect PostHog →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • Access to the target PostHog organization and project event definitions.
  • Specify project ID and event definition ID or exact name. Event definitions describe tracking metadata; they are separate from captured event rows.

PostHog Tools

Read project event and property definitions, run product queries, and inspect saved insights. AI can summarize results, add release annotations, and update tracking descriptions from your instructions.

Review Event Definitions

List event definitions for a project and inspect one by ID.

Clarify an Event Description

Read a definition by name before applying a specified description change.

Product queries and insights

Compare recorded activity and read the context of a saved insight.

57 tools

Get Current User

Get the current user associated with the PostHog personal API key.

posthog.get_current_user

List Projects

List PostHog projects for the current or specified organization.

posthog.list_projects

Get Project

Get a PostHog project from the current or specified organization.

posthog.get_project

List Event Definitions

List event definitions for a PostHog project.

posthog.list_event_definitions

Get Event Definition

Get a PostHog event definition by ID.

posthog.get_event_definition

Create Event Definition

Create an event definition for a PostHog project.

posthog.create_event_definition

Update Event Definition

Partially update a PostHog event definition by ID.

posthog.update_event_definition

Delete Event Definition

Delete a PostHog event definition by ID.

posthog.delete_event_definition

Get Event Definition By Name

Get a PostHog event definition by exact event name.

posthog.get_event_definition_by_name

Get Event Definition Primary Properties

Get primary properties configured for PostHog event definitions.

posthog.get_event_definition_primary_properties

Bulk Update Event Definition Tags

Bulk add, remove, or set tags on PostHog event definitions.

posthog.bulk_update_event_definition_tags

List Property Definitions

List property definitions for a PostHog project.

posthog.list_property_definitions

Get Property Definition

Get a PostHog property definition by ID.

posthog.get_property_definition

Update Property Definition

Partially update a PostHog property definition by ID.

posthog.update_property_definition

Delete Property Definition

Delete a PostHog property definition by ID.

posthog.delete_property_definition

Bulk Update Property Definition Tags

Bulk add, remove, or set tags on PostHog property definitions.

posthog.bulk_update_property_definition_tags

List Annotations

List annotations for a PostHog project.

posthog.list_annotations

Get Annotation

Get a PostHog annotation by ID.

posthog.get_annotation

Create Annotation

Create an annotation in a PostHog project.

posthog.create_annotation

Update Annotation

Partially update a PostHog annotation by ID.

posthog.update_annotation

Delete Annotation

Mark a PostHog annotation as deleted using the official soft-delete contract.

posthog.delete_annotation

List Cohorts

List cohorts for a PostHog project.

posthog.list_cohorts

Get Cohort

Get a PostHog cohort by ID.

posthog.get_cohort

Create Cohort

Create a cohort in a PostHog project.

posthog.create_cohort

Update Cohort

Partially update a PostHog cohort by ID.

posthog.update_cohort

Delete Cohort

Mark a PostHog cohort as deleted using the official soft-delete contract.

posthog.delete_cohort

Add Persons To Static Cohort

Add person UUIDs to a static PostHog cohort.

posthog.add_persons_to_static_cohort

Get Cohort Persons

List persons that belong to a PostHog cohort.

posthog.get_cohort_persons

Get Cohort Calculation History

Get the raw calculation history payload for a PostHog cohort.

posthog.get_cohort_calculation_history

List Insights

List insights for a PostHog project.

posthog.list_insights

Get Insight

Get a PostHog insight by ID with a stable top-level connector shape.

posthog.get_insight

Run Query

Run a PostHog query and return a stable top-level query result shape.

posthog.run_query

Get Async Query Status

Retrieve the status and available result payload for a PostHog async query.

posthog.get_async_query_status

Cancel Query

Cancel a PostHog async query by project ID and query ID.

posthog.cancel_query

Create Insight

Create a saved PostHog insight in a project.

posthog.create_insight

Update Insight

Update a saved PostHog insight by ID.

posthog.update_insight

Delete Insight

Delete a saved PostHog insight by ID.

posthog.delete_insight

List Dashboards

List dashboards for a PostHog project.

posthog.list_dashboards

Get Dashboard

Get a PostHog dashboard by ID with a stable top-level connector shape.

posthog.get_dashboard

Create Dashboard

Create a PostHog dashboard in a project.

posthog.create_dashboard

Update Dashboard

Partially update a PostHog dashboard by ID.

posthog.update_dashboard

Delete Dashboard

Mark a PostHog dashboard as deleted using the official soft-delete contract.

posthog.delete_dashboard

Run Dashboard Insights

Run all insights on a PostHog dashboard and return their results.

posthog.run_dashboard_insights

Copy Dashboard Tile

Copy an existing PostHog dashboard tile to another dashboard.

posthog.copy_dashboard_tile

Move Dashboard Tile

Move a PostHog dashboard tile to another dashboard.

posthog.move_dashboard_tile

Reorder Dashboard Tiles

Reorder tiles on a PostHog dashboard.

posthog.reorder_dashboard_tiles

List Dashboard Collaborators

List collaborators for a PostHog dashboard.

posthog.list_dashboard_collaborators

Add Dashboard Collaborator

Add a collaborator to a PostHog dashboard.

posthog.add_dashboard_collaborator

Remove Dashboard Collaborator

Remove a collaborator from a PostHog dashboard.

posthog.remove_dashboard_collaborator

List Feature Flags

List feature flags for a PostHog project.

posthog.list_feature_flags

Get Feature Flag

Get a PostHog feature flag by ID.

posthog.get_feature_flag

Create Feature Flag

Create a feature flag in a PostHog project.

posthog.create_feature_flag

Update Feature Flag

Partially update a PostHog feature flag by ID.

posthog.update_feature_flag

Delete Feature Flag

Soft delete a PostHog feature flag by setting deleted to true.

posthog.delete_feature_flag

Get Feature Flag Status

Get the computed status for a PostHog feature flag.

posthog.get_feature_flag_status

Get Feature Flag Dependent Flags

List the feature flags that depend on a PostHog feature flag.

posthog.get_feature_flag_dependent_flags

Get Feature Flags Local Evaluation

Get the local evaluation payload for PostHog feature flags.

posthog.get_feature_flags_local_evaluation

Frequently Asked Questions

Does editing an event description change the collected data?

It changes the event’s metadata, such as its description. It does not create captured events or rewrite historical event rows.

Can I connect without a personal API key?

OAuth authorization is supported as an alternative to a personal API key.

Can I compare product usage over two periods?

Yes. Specify the project, event, dates, and whether you want event counts or unique users. The assistant can run a query and explain the returned results; a change in usage alone does not establish its cause.

Connect PostHog

About PostHog ↗