working-with-autoresearch
यह क्या करती है
यह स्किल PostHog Autoresearch सेट करती है, जो किसी सवाल के लिए predictive मॉडल बनाती है, जैसे कौन अगले कुछ दिनों में कोई खास काम करेगा। यह प्रोडक्ट और ग्रोथ टीमों के लिए है जो लोगों को इस संभावना के आधार पर लक्षित करना चाहती हैं कि वे कार्रवाई करेंगे।
कब इस्तेमाल करें
- ✓जब आप जानना चाहें कि कौन से उपयोगकर्ता जल्द छोड़ सकते हैं, लौट सकते हैं, या कोई फ़ीचर अपना सकते हैं।
- ✓जब आप किसी अनुमान को फ़ीचर फ़्लैग, कोहॉर्ट या वर्कफ़्लो में इस्तेमाल करना चाहें।
- ✓जब आप जाँचना चाहें कि कोई मौजूदा अनुमान मॉडल कितना सटीक रहा है।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/autoresearch/skills/working-with-autoresearch/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ऐसा मॉडल बनाइए जो अगले 7 दिनों में यह अनुमान लगाए कि कौन से सक्रिय उपयोगकर्ता रिपोर्ट खोलेंगे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप वह काम, लोगों का समूह और समय-सीमा बताते हैं। एक ट्रेनिंग एजेंट मॉडल के विकल्प आज़माता है, अलग रखे गए डेटा पर सबसे अच्छा प्रदर्शन करने वाला मॉडल रखता है, फिर रोज़ के शेड्यूल पर लोगों को स्कोर करता है और नतीजे दर्ज करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Working with autoresearch
Autoresearch answers one standing question per model: who in a population will do a target within a horizon? For example, "which active users will open a report in the next 7 days?".
- The user names a target (an event or a PostHog action), a population and a horizon in days.
- A training agent runs in a PostHog sandbox. It writes feature SQL and a model, scores each experiment on a holdout set, keeps what improves holdout AUC and discards the rest.
- The server picks the champion from the kept experiments. The agent proposes; the backend decides.
- Every cadence (daily by default, at 02:00 UTC), the champion scores the inference population.
Each scored person gets an
autoresearch_predictionevent with their probability. When the model'swrite_person_propertyis on, a person who resolves to a current distinct ID also gets the model's output person property, for examplepredicted_p_adopt_insights_14d. It is off by default for new models. Turn it on withautoresearch-partial-updatebefore you target people by score in a flag, cohort, workflow or insight. Turning it off removes the property from the people the model scored. Changing the setting needs theperson:writescope. - When a prediction date's horizon has passed, online validation checks the scores against what really happened and records realized AUC.
- Training keeps going on a schedule. On each scoring day the model starts a research run (explore) until a run does not promote a better model, or until 5 research runs have run.
After that it starts one research run every
research_interval_days(maintain, default 7) after the latest training run, so a run started by hand resets the clock. Withresearch_interval_daysnull the model trains only when someone asks. A champion that cannot score still gets a short rescue run.training_phaseandnext_research_atonposthog:autoresearch-retrievesay where the model is.
In the PostHog UI the entity is a model. The API and tools call it a pipeline. Use "model" when you talk to people.
Autoresearch is behind the autoresearch feature flag.
Training runs in a cloud sandbox, so it also needs PostHog Desktop access.
If the autoresearch-* tools are missing, the project probably does not have access yet.
Pick the job
| The user wants to | Start with | Reference |
|---|---|---|
| Create a model | posthog:autoresearch-resolve-template-create or a custom definition, then posthog:autoresearch-validate-create |
defining-a-question.md |
| Know if a model is any good | posthog:autoresearch-retrieve, then posthog:autoresearch-online-performance-retrieve |
reading-model-quality.md |
| Use the predictions | The output person property, or posthog:execute-sql on autoresearch_prediction |
using-predictions.md |
| Fix or steer a model | posthog:autoresearch-training-runs-list, posthog:autoresearch-runs-list, posthog:autoresearch-suggestions-create |
troubleshooting-and-steering.md |
| See what models exist | posthog:autoresearch-list |
This page |
Create, train, score
The usual path is short. Each tool's description names its prerequisites and refusals, so read it with info before the first call.
- Resolve or define. Templates cover the common questions (activity, inactivity risk, return after first use, feature adoption, repeat behavior). A custom definition works when none fits. See defining-a-question.md.
- Validate.
posthog:autoresearch-validate-createwith the same target, horizon
अक्सर पूछे जाने वाले सवाल
लोगों को कितनी बार स्कोर किया जाता है?
डिफ़ॉल्ट रूप से चुना गया मॉडल हर दिन 02:00 UTC पर लोगों को स्कोर करता है।
क्या यह लोगों की प्रोफ़ाइल बदलता है?
केवल तब, जब आप मॉडल की प्रॉपर्टी सेटिंग चालू करें, जो मेल खाने वाले हर व्यक्ति में एक अनुमानित स्कोर जोड़ती है।
मुझे कैसे पता चलेगा कि मॉडल सटीक है?
हर अनुमान अवधि खत्म होने के बाद PostHog स्कोर की तुलना वास्तव में हुई बातों से करता है और नतीजा दर्ज करता है।
जानकारी
लेखक का मूल विवरण
Use PostHog Autoresearch, agent-driven predictive models: ask "who will do X in the next N days?", let an agent train a model, then score people daily into a person property and `autoresearch_prediction` events. Use when a user wants to predict churn, activity, return, feature adoption, conversion or any event or action per person; create or validate a model from a template; start training or score now; read model quality (holdout vs realized AUC, lift, calibration, likelihood segments, coverage); steer training with suggestions; act on predictions with cohorts, feature flags, workflows or SQL
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6835
- लाइसेंस
- —
- अपडेट की गई
- 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
pytorch-patterns
280kआपके एजेंट को machine learning models के लिए PyTorch इस्तेमाल करने में मदद करता है। कुशल model training के best practices लागू करता है और नतीजों को दोहराने लायक रखता है।
evm-token-decimals
280kयह आपके एजेंट को अलग-अलग blockchain networks पर decimal numbers की गलतियों से बचने में मदद करता है। यह transactions और calculations में token values सही रखने का ध्यान रखता है।
ito-inference
280kआपके एजेंट को AI models की उपलब्धता जाँचने देता है। यह compute request को तैयार model service से जोड़ता है।