signals
What it does
This skill explains how to read the raw signals PostHog generates from your product data, using HogQL queries. It is for analysts who want to search or count signals directly, beyond the curated inbox.
When to use it
- βWhen you want to search PostHog signals by meaning rather than by exact text.
- βWhen you want every signal that contributed to a specific report.
- βWhen you want to list or count the types of signals your project has.
Skill link
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βFind all the raw signals that contributed to this report and list their types.β
5 new skills a week. 1 minute to read.
How it works
It explains that signals are stored in an embedding table, which can be queried with HogQL for semantic search, grouping and listing. To browse reports, the inbox skill is used first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Querying Signals
What Are Signals?
Signals are automated observations that PostHog generates by monitoring a customer's product data across multiple sources β error tracking, web analytics, experiments, session replay, and more. Each signal is a short natural-language description of something noteworthy (e.g. "Error rate spiked 3Γ on /checkout").
Signals are grouped into Signal Reports. When a report accumulates enough weight it gets summarized and assessed for actionability. A signal report represents a cluster of related observations that together describe a meaningful issue or trend.
Signals and their embeddings are stored in the document_embeddings ClickHouse table, queryable via HogQL through the posthog:execute-sql MCP tool. They may provide a useful way to semantically query for recent things that happened in the user's product.
When to use this skill vs. inbox-exploration
The two skills cover different layers of the same product:
inbox-explorationβ curated report layer via dedicated MCP tools (inbox-reports-list,inbox-reports-retrieve,inbox-source-configs-list,inbox-source-configs-retrieve). Use for "what's in my inbox?", "what's actionable?", filtering reports by status / source / suggested reviewer, looking up a specific report by ID or URL.- This skill (
signals) β raw signal layer via HogQL ondocument_embeddings. Use when the curated report layer is not enough: semantic search over signal text, fetching every signal that contributed to a specific report, listing what kinds of signals exist, or any ad-hoc analytics that the report tools don't expose.
The typical pattern is to start with inbox-exploration, get a report_id or a sense of the area the user cares about, then drop into this skill when the user wants to see the raw observations.
Table and Column Reference
The HogQL table alias is document_embeddings. HogQL automatically constrains queries to the current team β you never need to filter on team_id. Key columns for signals:
| Column | Type | Description |
|---|---|---|
product |
String | Product bucket β always 'signals' for signals |
document_type |
String | Document type β always 'signal' for signals |
model_name |
String | Embedding model β always 'text-embedding-3-small-1536' |
document_id |
String | Unique signal ID (UUID) |
timestamp |
DateTime64(3) | When the signal was created |
inserted_at |
DateTime64(3) | When this row version was inserted (used for deduplication and soft deletes) |
content |
String | The signal description text |
metadata |
String | JSON string with report_id, source info, weight, deleted flag, etc |
embedding |
Array(Float64) | 1536-dimensional embedding vector |
Mandatory Filters
Every signals query MUST include all four of these filters. Missing any of them can cause the query to fail with an invalid model error, return wrong data, or trigger unnecessarily expensive scans:
WHERE model_name = 'text-embedding-3-small-1536'
AND product = 'signals'
AND document_type = 'signal'
AND timestamp >= now() - INTERVAL 30 DAY
The model_name filter is especially critical β the HogQL engine uses it to route to the correct underlying ClickHouse table. If the WHERE model_name = ... equality filter is missing or uses an unknown model, the query will fail with an "Invalid model name" error (you cannot use IN or other expressions here).
The product and document_type filters are equally important β the same model contains data from multiple products (e.g. error tracking, AI memory). Without these filters you will get unrelated data mixed in.
The timestamp filter is required for performance β the table is partitioned by week and has a 3-month TTL. Always include a time bound using now() - INTERVAL N DAY (or WEEK, MONTH, etc.). Default to 30 days unless you have a reason to look further back. Gene
FAQ
What is a signal?
A signal is a short automatic observation about your product, such as an error rate spike, and several signals together make up a report.
When should I use the inbox skill instead?
Use the inbox skill to list reports, filter them or look up one report. Use this skill for the raw signal data.
Do I need to know SQL?
Yes. The queries are written in HogQL, which is a SQL-style language.
Details
Original description by the author
How to query the document_embeddings table for raw signal data using HogQL. Use when you need to perform semantic search over signals, fetch every signal that contributed to a specific report, or list signal types. For browsing the curated report layer (the Inbox) β listing reports, filtering by status/source, drilling into a single report by ID β use the `inbox-exploration` skill first; drop into this skill afterwards if the user wants the underlying observations.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6950
- License
- β
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.