本文へスキップ
Skillpedia
機械学習41k · #6835

working-with-autoresearch

できること

このスキルは、PostHog Autoresearchを設定します。これは、今後数日以内に特定の行動を起こす人を予測するモデルを作るものです。行動しそうな人を基準に対象を絞りたい、プロダクトやグロースのチーム向けです。

使う場面

  • ✓近いうちに解約、再訪、機能の採用をしそうなユーザーを知りたいとき。
  • ✓予測結果を、フィーチャーフラグ、コホート、ワークフローで使いたいとき。
  • ✓既存の予測モデルがどれくらい正確だったかを確認したいとき。

スキルのリンク

https://github.com/PostHog/posthog/blob/master/products/autoresearch/skills/working-with-autoresearch/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/PostHog/posthog/blob/master/products/autoresearch/skills/working-with-autoresearch/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“過去7日間に有効だったユーザーのうち、今後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?".

  1. The user names a target (an event or a PostHog action), a population and a horizon in days.
  2. 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.
  3. The server picks the champion from the kept experiments. The agent proposes; the backend decides.
  4. Every cadence (daily by default, at 02:00 UTC), the champion scores the inference population. Each scored person gets an autoresearch_prediction event with their probability. When the model's write_person_property is on, a person who resolves to a current distinct ID also gets the model's output person property, for example predicted_p_adopt_insights_14d. It is off by default for new models. Turn it on with autoresearch-partial-update before 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 the person:write scope.
  5. When a prediction date's horizon has passed, online validation checks the scores against what really happened and records realized AUC.
  6. 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. With research_interval_days null the model trains only when someone asks. A champion that cannot score still gets a short rescue run. training_phase and next_research_at on posthog:autoresearch-retrieve say 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.

  1. 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.
  2. Validate. posthog:autoresearch-validate-create with 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
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル