working-with-autoresearch
Skill by PostHog
Builds predictive models in PostHog that score each person on how likely they are to do a target event or action within a set number of days. It is for product and growth teams who want to predict churn, return, feature adoption or conversion.
Install working-with-autoresearch
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/autoresearch/skills/working-with-autoresearch ~/.claude/skills/working-with-autoresearchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install working-with-autoresearch in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/autoresearch/skills/working-with-autoresearch ~/.gemini/antigravity-cli/skills/working-with-autoresearchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install working-with-autoresearch in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Autoresearch answers one question per model: who in a population will do a target within a horizon? A user names a target, a population and a horizon in days. A training agent runs in a PostHog sandbox, writes feature SQL and a model, and keeps experiments that improve holdout AUC. The server then picks a champion model.
The champion scores the population on a daily schedule, by default at 02:00 UTC. Each scored person gets an autoresearch_prediction event. If enabled, the model also writes a person property. Once a prediction's horizon passes, the model records realized AUC against real outcomes. The skill is for users who want to create, validate, train, score, read quality for, or troubleshoot these models.
Written from the project's SKILL.md and checked against it.
What it can do
- posthog:autoresearch-resolve-template-createCreates a model from one of the built-in question templates.
- posthog:autoresearch-validate-createChecks a model definition and returns base rate, counts and warnings before creation.
- posthog:autoresearch-createCreates a model, which stays a draft until training starts.
- posthog:autoresearch-train-createStarts an agent training run for a model. Costs sandbox and LLM time.
- posthog:autoresearch-retrieveReturns a model's status, training phase, next research time and output property name.
- posthog:autoresearch-online-performance-retrieveReturns realized AUC and other performance results for a model.
- posthog:autoresearch-training-runs-listLists training runs and the model each run used.
- posthog:autoresearch-score-createScores the population for today on demand.
- posthog:autoresearch-suggestions-createAdds suggestions to steer future training runs.
- posthog:autoresearch-listLists the models that exist in the project.
What you need
- Access to the autoresearch feature flag in PostHog
- PostHog Desktop access for training runs
Try asking
- Predict which active users will open a report in the next 7 days
- Validate a churn model for paid users before I create it
- Show the realized AUC and lift for my champion model
Good to know
- Training runs cost sandbox and LLM time, so confirm before starting one.
- Changing the target, horizon or populations needs a new model.
- Autoresearch trains on identified users only.
- Pausing a model stops scoring and new training runs in the UI.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/autoresearch/skills/working-with-autoresearch/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/defining-a-question.md9 KB -
references/reading-model-quality.md6 KB -
references/troubleshooting-and-steering.md10 KB -
references/using-predictions.md7 KB
Alternatives to working-with-autoresearch
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
working-with-autoresearch: common questions
What does autoresearch predict?
It predicts who in a population will do a target event or action within a horizon in days. Each person gets a probability score.
Where do the predictions show up?
Each scored person gets an autoresearch_prediction event. If the model's write_person_property setting is on, the person also gets an output person property.
What is the difference between holdout AUC and realized AUC?
Holdout AUC is measured on held-back training data. Realized AUC is measured against real outcomes after the horizon passes, and it takes priority when it exists.
How do I install working-with-autoresearch?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is working-with-autoresearch free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is working-with-autoresearch safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to working-with-autoresearch?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
