working-with-autoresearch
Что он делает
Этот скилл настраивает PostHog Autoresearch, который строит прогнозную модель для вопроса вроде того, кто совершит определённое действие в ближайшие дни. Он предназначен для продуктовых и ростовых команд, которые хотят нацеливаться на людей по вероятности их действия.
Когда использовать
- ✓Когда вы хотите знать, каких пользователей скоро можно ожидать с оттоком, возвратом или освоением функции.
- ✓Когда вы хотите использовать прогноз во флаге функции, когорте или workflow.
- ✓Когда вы хотите проверить, насколько точной была существующая прогнозная модель.
Ссылка на скилл
https://github.com/PostHog/posthog/blob/master/products/autoresearch/skills/working-with-autoresearch/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Построй модель, которая предсказывает, какие активные пользователи откроют отчёт в ближайшие 7 дней.”
5 новых скиллов в неделю. 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
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
depot-ci
41kПомогает агенту настроить и запускать workflow в Depot CI, альтернативе GitHub Actions, включая перенос существующих workflow и чтение логов запусков.
depot-container-builds
41kПомогает агенту собирать Docker-образы на удалённых сборщиках Depot, включая мультиплатформенные образы, отправку в реестры и исправление ошибок сборки.
depot-github-runners
41kПомогает агенту переносить задачи GitHub Actions на раннеры Depot: выбирать размер и метки раннера и устранять проблемы настройки.
editing-agents-md
41kПомогает агенту решить, нужно ли правило в файле AGENTS.md или CLAUDE.md, и записать его так, чтобы оно работало, не раздувая файл.
Похожие скиллы
pytorch-patterns
280kПомогает агенту использовать PyTorch для моделей машинного обучения: эффективное обучение и воспроизводимые результаты.
evm-token-decimals
280kПомогает агенту избегать ошибок с десятичными знаками в разных блокчейн-сетях, чтобы суммы токенов были точными.
ito-inference
280kАгент проверяет доступность моделей ИИ и связывает запрос на вычисления с готовым сервисом модели.