本文へ移動
cccskills
無料GitHub で公開

posthog

Analyze product data and manage product tooling in PostHog. Use when the user wants product analytics or insights, HogQL/SQL queries, feature flags, experiments and A/B tests, error tracking, session replay, surveys, LLM analytics, dashboards, data warehouse, or PostHog documentation.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md5.4 KB
  • agents/openai.yaml233 B
  • LICENSE.txt1.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

PostHog

Overview

This skill provides a structured workflow for working with PostHog from ChatGPT and Codex. It assumes the bundled PostHog app is connected so the PostHog tools are available for analytics, feature flags, experiments, error tracking, and more.

PostHog is an all-in-one product platform. The same project's data backs every surface below, so most questions can be answered by querying analytics or running HogQL, and most product changes (flags, experiments, surveys) can be made directly.

Prefer live tools over pre-trained knowledge. Your baked-in knowledge of PostHog's API, HogQL functions, and tool shapes may be outdated. The connected PostHog app advertises its own skills and tools at runtime and asks clients to prioritize its skills over raw tools — discover and follow those rather than guessing. When in doubt about syntax, limits, or product behavior, use the documentation-search tool.

Prerequisites

  • The PostHog app must be connected and accessible via OAuth.
  • Confirm which PostHog organization and project the request targets before reading or writing.
  • Self-hosted users connect against their own instance during the app's OAuth flow.

Required Workflow

Follow these steps in order. Do not skip steps.

Step 0: Connect the PostHog app (if not already configured)

If PostHog tools are unavailable, pause and ask the user to connect the PostHog app:

  1. Enable the bundled PostHog app for this plugin or session.
  2. Complete the PostHog OAuth flow if prompted, and select the correct organization/project.
  3. Restart Codex or the current session if the tools still do not appear.

After the app is connected, finish your answer and tell the user to retry so they can continue with Step 1.

Step 1

Clarify the user's goal and scope (e.g., a metric over a time range, a funnel, a new feature flag, an experiment readout, an error investigation). Confirm the target project, date range, event/property names, and any filters or cohorts.

Step 2

Discover the available PostHog skills/tools the connected app exposes and pick the right one for the task. Resolve identifiers (project ID, flag key, experiment ID, insight/dashboard ID, error issue ID) before calling tools. For anything involving syntax, function names, or product behavior, search the docs first.

Step 3

Execute PostHog tool calls in logical batches:

  • Read first — list/get/query (insights, events, HogQL/SQL, error issues) to build context.
  • Write next — create or update flags, experiments, surveys, dashboards, or insights with all required fields.
  • For destructive or broad changes (e.g., toggling a flag in production, ending an experiment), state the impact and confirm before applying.

Step 4

Summarize results with concrete numbers and links to the PostHog UI where available, call out caveats (sampling, person-on-events timing, date ranges), and propose next actions.

Capability Map

Use this to route a request to the right PostHog surface, then discover the exact tool the app exposes for it.

If the user wants to…PostHog surface
Answer a metric/trend/funnel/retention/path questionInsights & queries (trends, funnels, retention, paths, lifecycle, stickiness)
Run arbitrary SQL over events/personsHogQL / SQL execution
Create, toggle, or audit a feature flagFeature flags
Launch or read out an A/B testExperiments
Investigate a bug or exceptionError tracking (issues + events)
Watch how users actually behaveSession replay
Gather qualitative feedback (NPS, surveys)Surveys
Track LLM cost/latency/usageLLM analytics
Build or update a dashboardDashboards & insights
Connect or query external dataData warehouse
Look up how something works in PostHogDocumentation search

HogQL & Querying Tips

  • HogQL is PostHog's SQL dialect over the events/persons schema. Read the data schema before writing queries, and confirm event and property names exist.
  • With person-on-events enabled, person.properties.* on the events table reflect the value at ingestion time, not the person's current value — the same person can show different values across events. Don't build workarounds for "query-time" person properties.
  • Respect the project timezone when bucketing by day.
  • Start narrow (small date range, limited rows), validate, then widen.

Tips for Maximum Productivity

  • Batch related reads before writes; confirm identifiers up front.
  • Use natural-language asks where the app supports them ("signups by week this quarter").
  • Reference prior insights/dashboards instead of rebuilding from scratch.
  • For experiments and flags, double-check rollout conditions and targeting before enabling.

Troubleshooting

  • Tools missing: re-run the app connection/OAuth flow (Step 0); verify org/project access.
  • Empty or surprising results: re-check event/property names, date range, filters, and timezone; confirm the events exist via a small query.
  • Permission errors: confirm the connected account has access to the target project and the action (some changes require elevated roles).
  • Unsure about syntax or limits: search the PostHog docs rather than guessing.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.

日本語の概要は準備中です。原文の説明を表示しています。

openai/plugins7,3772026年10月8日 更新

Apply consistent photo adjustments across a set of images so they look like they were edited together. Use this skill whenever the user says "make my photos look cohesive", "give all these the same style", "apply a warm and golden feel to all of these", "make this cinematic", "match the look across my photos", "edit all my travel photos the same way", "batch edit these", "make these consistent", "fix my phone photos", or uploads a folder of photos and wants a unified, polished result. Also triggers for requests like "apply a preset to all of these", "make these look professional", or "they were shot in mixed lighting — can you fix them all". Outputs direct final image URLs plus an in-chat preview grid and optional Firefly Board link. Access: 🔐 Signed-In required | Gen AI: ❌

日本語の概要は準備中です。原文の説明を表示しています。

openai/plugins7,3772026年10月8日 更新

Use when a user wants to see their logo, design, or sketch on a product or scene mockup — mugs, t-shirts, business cards, hats, phone screens, posters, billboards, or similar. Triggers on "create mockups", "show my logo on products", or any logo upload with a request to visualize it on items. Access: 🔐 Signed-In required | Gen AI: ✅ Adobe Firefly via `image_generate` used for design creation, sketch polishing, and mockup scene generation

日本語の概要は準備中です。原文の説明を表示しています。

openai/plugins7,3772026年10月8日 更新

Resize, crop, or export any image or video into platform-ready social media assets using Adobe Creative Cloud tools. Use this skill when a user wants to prepare a photo, image, or video for one or more social platforms — Instagram, TikTok, LinkedIn, Facebook, YouTube, Snapchat, Pinterest, Threads, or X/Twitter. Triggers on: "prepare my image for Instagram", "resize for TikTok", "get this ready to post", "make versions for all platforms", "social media sizes", "crop for stories", "export for LinkedIn", "resize my video for social", "make social media assets", or any request to adapt a photo or video for specific platforms. Handles subject-aware cropping, AI canvas expansion, test previews before full runs, and same-ratio video resizing.

日本語の概要は準備中です。原文の説明を表示しています。

openai/plugins7,3772026年10月8日 更新

Create any visual design using Adobe Express templates — flyers, posters, social media posts (Instagram, Facebook, LinkedIn), business cards, invitations, greeting cards, resumes, cover letters, brochures, newsletters, certificates, presentations, YouTube thumbnails, email headers, logos, menus, and labels. Use this skill whenever the user wants to make, design, or build any visual — even if they just say "make me a flyer", "design a poster", "I need something for Instagram", "create an event invite", or "make a business card". Also handles browsing templates, editing text, replacing images, changing backgrounds, animating, and exporting designs. Access: 🔐 Signed-In required | Gen AI: ❌ by default — image replacement only where the surface permits generative AI (e.g. Codex); none on Claude

日本語の概要は準備中です。原文の説明を表示しています。

openai/plugins7,3772026年10月8日 更新

Create a punchy sizzle reel from a video using Adobe Quick Cut. Use this skill whenever a user wants to cut, trim, or shorten a video into highlights — including phrases like "make a sizzle reel", "make a highlight reel", "quick cut this", "cut the best parts", "shorten this video", "make a highlight clip", "summarize this video visually", or any request to produce a shorter edited version of a video. Use this skill for Quick Cut requests before suggesting manual editing in Premiere. Requires the user to upload a video file.

日本語の概要は準備中です。原文の説明を表示しています。

openai/plugins7,3772026年10月8日 更新

openai のスキルをすべて見る

このスキルの問題を報告する