setting-up-a-data-warehouse-source
できること
このスキルは、外部のデータソースをPostHogのデータウェアハウスに初めて接続する手順を案内します。決済や顧客データなどのビジネスデータを、プロダクトデータと並べて使いたい人向けです。
使う場面
- ✓StripeやPostgres、HubSpotなどを初めてPostHogに接続したいとき。
- ✓取り込むテーブルと同期の頻度を選びたいとき。
- ✓PostHogがどの種類のデータソースに対応しているか分からないとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Stripeアカウントを PostHogに接続し、主要なテーブルを適切な同期設定で取り込んでください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、安全なリンクからログイン情報を入力してもらい、テーブルを見つけて、適切な同期設定でまとめてオンにします。より細かく管理したい場合は、テーブルを1つずつ選ぶ手順を案内することもできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Setting up a data warehouse source
Use this skill when the user wants to connect an external data source to PostHog's data warehouse for the first time.
Default to the one-step flow: data-warehouse-source-setup validates credentials, discovers every table, enables
them with sensible sync defaults (incremental where possible), and creates the source in a single call — no
schemas array to assemble. For credentials, hand the user a secure browser link with data-warehouse-source-connect-link
instead of collecting secrets in chat. Only drop to the manual wizard → db-schema → create flow when the user wants to
hand-pick which tables sync or set non-default sync types per table.
When to use this skill
- The user wants to connect a new source: "connect Stripe", "import my Postgres orders table", "sync Hubspot contacts"
- The user isn't sure what source types PostHog supports
- The user has credentials but doesn't know how to structure the
schemaspayload - The user wants guidance on which sync method to pick per table
Available tools
| Tool | Purpose |
|---|---|
data-warehouse-source-connect-link |
Preferred for credentials — get a secure browser/OAuth link so the user authenticates without pasting secrets in chat |
data-warehouse-source-setup |
Preferred to create — one call: validate creds, discover tables, apply sync defaults, create the source |
external-data-sources-wizard |
Discover which source types exist and what fields each needs (advanced flow) |
external-data-sources-db-schema |
Validate credentials and list tables with available sync methods per table (advanced flow) |
external-data-sources-create |
Advanced create — requires a schemas array built from the db-schema response |
external-data-sources-check-cdc-prerequisites-create |
Postgres CDC pre-flight check (optional, only for Postgres CDC) |
external-data-sources-webhook-info-retrieve |
Check if a source supports webhooks and whether one has been registered |
external-data-sources-create-webhook-create |
Register a webhook with the external service after source creation |
external-data-sources-update-webhook-inputs-create |
Supply the signing secret manually when auto-registration failed |
external-data-sources-list |
After creation, confirm the source is listed and see its initial status |
external-data-schemas-list |
See per-table sync status once the source is created |
external-data-destinations-list |
See existing destinations, including the PostHog warehouse |
external-data-destinations-connect-link |
Secure browser link where the user enters a destination's credentials; returns nothing secret |
external-data-destinations-create |
Create a destination from the integration the connect page saved |
external-data-destinations-add-sources |
Attach existing sources to a destination |
external-data-sources-destinations-update |
Set a source's full destination list, for example to keep the PostHog warehouse before attaching |
external-data-destinations-test-connection |
Diagnose a destination that is failing or paused (does not resume it) |
よくある質問
パスワードをチャットに貼り付ける必要がありますか?
いいえ。エージェントが、認証情報を入力するための安全なブラウザのリンクを渡します。
同期するテーブルを選べますか?
はい。手動設定では、テーブルを選び、テーブルごとに異なる同期の種類を設定できます。
エージェントは同期設定をどう選びますか?
可能な場合は差分同期を使い、新しい行や変更された行だけを取り込みます。
詳細
作者による元の説明
Guide the user through connecting a new data warehouse source — Postgres, MySQL, Stripe, Hubspot, MongoDB, Salesforce, BigQuery, Snowflake, and so on. Use when the user wants to "connect Stripe", "import data from Postgres", "add a new data source", "sync my warehouse tables", or wants to pick sync methods for each table. Walks through source-type discovery, credential validation, table discovery, per-table sync_type selection, and the final create call. Also covers picking a good prefix, what to do right after creation, and sending a source's tables to the user's own warehouse (Snowflake, Big
repo: PostHog/posthog
人気
- GitHubのスター
- 41k
- ランキング
- #6969
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-ci
41kエージェントが、GitHub Actionsの代替であるDepot CIのワークフローを設定し実行できるよう支援します。既存のワークフローの移行や、実行ログの確認も含みます。
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
clickhouse-io
280kエージェントがClickHouseデータベースのクエリとスキーマを最適化できるようにします。高性能な分析処理向けのベストプラクティスを適用します。分析クエリが遅すぎるときに使います。
scientific-db-pubmed-database
280kエージェントが生物医学分野の科学論文を検索するのに役立ちます。特定の医療情報が必要な研究に便利です。