signals
यह क्या करती है
यह स्किल बताती है कि HogQL क्वेरी से PostHog द्वारा आपके प्रोडक्ट डेटा से बनाए गए कच्चे सिग्नल कैसे पढ़ें। यह उन एनालिस्ट के लिए है जो चुने हुए इनबॉक्स से आगे जाकर सिग्नल सीधे खोजना या गिनना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप सटीक टेक्स्ट के बजाय अर्थ के आधार पर PostHog सिग्नल खोजना चाहें।
- ✓जब आपको किसी खास रिपोर्ट में योगदान देने वाले सभी सिग्नल चाहिए।
- ✓जब आप अपने प्रोजेक्ट में मौजूद सिग्नल के प्रकार सूचीबद्ध या गिनना चाहें।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस रिपोर्ट में योगदान देने वाले सभी कच्चे सिग्नल खोजिए और उनके प्रकार सूचीबद्ध कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह समझाती है कि सिग्नल एक embedding टेबल में संग्रहीत होते हैं, जिसकी HogQL से क्वेरी की जा सकती है, अर्थ-आधारित खोज, समूहन और सूची के लिए। रिपोर्ट ब्राउज़ करने के लिए पहले इनबॉक्स स्किल इस्तेमाल होती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
सिग्नल क्या है?
सिग्नल आपके प्रोडक्ट के बारे में एक छोटा स्वचालित अवलोकन है, जैसे त्रुटि दर में उछाल, और कई सिग्नल मिलकर एक रिपोर्ट बनाते हैं।
इनबॉक्स स्किल कब इस्तेमाल करूँ?
रिपोर्ट सूचीबद्ध करने, उन्हें फ़िल्टर करने या एक रिपोर्ट देखने के लिए इनबॉक्स स्किल इस्तेमाल करें। कच्चे सिग्नल डेटा के लिए यह स्किल।
क्या मुझे SQL जानना ज़रूरी है?
हाँ। क्वेरी HogQL में लिखी जाती है, जो एक SQL-जैसी भाषा है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6950
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
clickhouse-io
280kआपके एजेंट को ClickHouse databases में queries और schemas optimize करने में मदद करता है। high-performance analytical workloads के लिए best practices लागू करता है। जब analytical queries बहुत धीमी हों, तब इसका उपयोग करें।
scientific-db-pubmed-database
280kआपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।