AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

querying-posthog-data

Explains how to query PostHog data, defaulting to typed runners for supported product analytics. Read it before you write HogQL/SQL. Also read it before you call execute-sql against PostHog. Use it to find or aggregate PostHog entities. These entities include insights, dashboards, cohorts, feature flags, experiments, surveys, hog flows, warehouse data, and persons. Use it for trends, funnels, retention, lifecycle, paths, stickiness, web analytics, error tracking, logs, sessions, and LLM traces. Before you calculate a governed business or telemetry measure, check system.information_schema.metrics for an approved definition. Examples include MRR, activation, billable usage, active organizations, and failure rates. Use the approved definition before you derive a measure from raw events or use a typed domain tool. It also covers HogQL differences, system table schemas, functions, query examples, and schema discovery.

Original source
posthog
License
MIT
Pinned revision
cac7c80a9e5b73484d18eda1bffb47297c938e0c

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read posthog--querying-posthog-data at revision cac7c80a9e5b73484d18eda1bffb47297c938e0c, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 65

references/models-autoresearch.md

Autoresearch

AutoresearchPipeline (system.autoresearch_pipelines)

A standing prediction question: a target event, a population, and a horizon ("who will download a file in the next 30 days?"). An agent searches for a model that answers it, and the product scores the population on a cadence.

Columns

Column | Type | Nullable | Description --- | --- | --- | --- id | UUID | NOT NULL | Pipeline UUID. team_id | Integer | NOT NULL | Team the pipeline belongs to. name | String | NOT NULL | Human-readable name. description | String | NOT NULL | Free-text description; blank when unset. target_event | String | NOT NULL | Event the pipeline predicts, for example '$pageview'. horizon_days | Integer | NOT NULL | Number of days ahead the prediction looks for the target event. status | String | NOT NULL | One of draft, bootstrapping, running, converged, paused, archived. iteration_budget | Integer | NOT NULL | Maximum training iterations the agent loop may spend. agent_model | String | NULL | Model override for the training agent (NULL uses the autoresearch default model). agent_reasoning_effort | String | NULL | Reasoning effort override for the training agent (NULL uses the autoresearch default). iteration_budget_remaining | Integer | NULL | Training iterations still available to spend (NULL when unset). output_person_property | String | NOT NULL | Person property the champion model's score is written to; blank when unset. last_scored_at | DateTime | NULL | When inference last ran (NULL before the first run). created_at | DateTime | NOT NULL | When the pipeline was created. updated_at | DateTime | NOT NULL | When the pipeline was last modified.

Key Relationships

  • Pipelines belong to a Team (team_id)
  • A pipeline owns its training runs, iterations, trained models, operational runs, and suggestions. None of those are exposed as system tables, and there is no read path for them yet.