Creating Box Plot Insights
PostHog/posthog
Creates product analytics or SQL-backed box plot insights in PostHog.
PostHog event tracking standards for Supabase Studio. An agent skill from supabase/supabase.
$ npx skills add supabase/supabase --skill telemetry-standards -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install supabase/supabase telemetry-standards --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/supabase/supabase.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/telemetry-standards .claude/skills/telemetry-standards && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "telemetry-standards" agent skill from https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standards into .claude/skills/telemetry-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telemetry-standards", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standardsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add supabase/supabase --skill telemetry-standards -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install supabase/supabase telemetry-standards --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/supabase/supabase.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/telemetry-standards .agents/skills/telemetry-standards && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "telemetry-standards" agent skill from https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standards into .agents/skills/telemetry-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telemetry-standards", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add supabase/supabase --skill telemetry-standards -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install supabase/supabase telemetry-standards --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/supabase/supabase.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/telemetry-standards .cursor/skills/telemetry-standards && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "telemetry-standards" agent skill from https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standards into .cursor/skills/telemetry-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telemetry-standards", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/supabase/supabase.git --path .agents/skills/telemetry-standards--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add supabase/supabase --skill telemetry-standards -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install supabase/supabase telemetry-standards --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/supabase/supabase.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/telemetry-standards .gemini/skills/telemetry-standards && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "telemetry-standards" agent skill from https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standards into .gemini/skills/telemetry-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telemetry-standards", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install supabase/supabase telemetry-standardsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add supabase/supabase --skill telemetry-standards -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/supabase/supabase.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/telemetry-standards .github/skills/telemetry-standards && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "telemetry-standards" agent skill from https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standards into .github/skills/telemetry-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telemetry-standards", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add supabase/supabase --skill telemetry-standards -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install supabase/supabase telemetry-standards --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/supabase/supabase.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/telemetry-standards .opencode/skills/telemetry-standards && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "telemetry-standards" agent skill from https://github.com/supabase/supabase/tree/master/.agents/skills/telemetry-standards into .opencode/skills/telemetry-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telemetry-standards", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
telemetry-standardsPostHog event tracking standards for Supabase Studio. An agent skill from supabase/supabase.
Telemetry Standards is an agent skill from supabase/supabase, published by the product's own GitHub organization. PostHog event tracking standards for Supabase Studio. Use when adding useTrack() calls, defining events in packages/common/telemetry-constants.ts, implementing tracking for a new feature, or reviewing PRs for telemetry compliance. Covers event naming, property conventions, approved patterns, and implementation guide.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Product analytics. It works with Supabase and PostHog. The repository describes itself as: The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 26c838a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Telemetry Standards loads about 2k tokens when it runs. Until then it costs about 85 tokens; SKILL.md has 734 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from supabase/supabase at commit 26c838a, republished under its Apache-2.0 licence (© supabase). 734 words, ~1,964 tokens.
.claude/skills/telemetry-standards/SKILL.md (or your agent's skills folder).Standards for PostHog event tracking in apps/studio/. Apply these when
reviewing PRs that touch tracking or when implementing new tracking.
Format: [object]_[verb] in snake_case
Approved verbs only (canonical list — derived from packages/common/telemetry-constants.ts):
opened, clicked, submitted, created, removed, updated, intended, evaluated, added,
enabled, disabled, copied, exposed, failed, converted, closed, completed, applied, sent, moved
Flag these:
click_product_card → should be product_card_clickedproductCardClicked → should be product_card_clickedGood examples:
product_card_clickedbackup_button_clickedsql_query_submittedCommon mistakes with corrections:
database_saved → save_button_clicked or database_updated (unapproved verb)click_backup_button → backup_button_clicked (wrong order)dashboardViewed → don't track passive views on page loadcomponent_rendered → don't track — no user interactionCasing: camelCase preferred for new events. The codebase has existing snake_case properties (e.g., schema_name, table_name) — when adding properties to an existing event, match its established convention.
Names must be self-explanatory:
{ productType: 'database', planTier: 'pro' }{ assistantType: 'sql', suggestionType: 'optimization' }Flag these:
label, value, name, dataassistantType in one event, aiType in a related event)dashboard_viewed, sidebar_appeared, page_loaded)DO track: user clicks, form submissions, explicit opens/closes, user-initiated actions.
Exception: _exposed events for A/B experiment exposure tracking are valid even though they fire on render.
Never track PII (emails, names, IPs, etc.) in event properties.
Import useTrack from @/lib/telemetry/track (within apps/studio/).
import { useTrack } from '@/lib/telemetry/track'
const MyComponent = () => {
const track = useTrack()
const handleClick = () => {
track('product_card_clicked', {
productType: 'database',
planTier: 'pro',
source: 'dashboard',
})
}
return <button onClick={handleClick}>Click me</button>
}A feature flag that gates behavior needs telemetry on both the flag state and how users respond to the new behavior (toggle clicks, opt-in actions), so the rollout can be measured.
usePHFlag, or PostHog-backed hooks such as useDataApiRevokeOnCreateDefaultEnabled): capture the flag value in a relevant track() call.useFlag from common) are a different system — this pattern does not apply to them.usePHFlag returns undefined while the PostHog store is still loading. Read the raw flag via usePHFlag('flagName'), not through wrapper hooks that coerce undefined to false, and use a conditional spread so the property is omitted (not false) until the flag has resolved:
As always, track() runs inside the user-action handler — never in the component body or an effect:
const track = useTrack()
const flagValue = usePHFlag<boolean>('myBooleanFlag') // for boolean flags
const handleSubmit = () => {
track('event_name', {
...(flagValue !== undefined && { myFlagEnabled: flagValue }),
})
}For string-valued flags (e.g. experiment variants), use usePHFlag<string>('flagName'); a flag that may be migrated from boolean to multivariate is typed usePHFlag<boolean | string>. ProjectCreationForm.tsx (dataApiRevokeOnCreateDefault) is the canonical example.
All events must be defined as TypeScript interfaces in packages/common/telemetry-constants.ts:
/**
* [Event description]
*
* @group Events
* @source [what triggers this event]
*/
export interface MyFeatureClickedEvent {
action: 'my_feature_clicked'
properties: {
/** Description of property */
featureType: string
}
groups: TelemetryGroups
}Add the new interface to the TelemetryEvent union type so useTrack picks it up.
@group Events and @source are required on every event; add @page when the event fires from a specific page. All three must be accurate.
When reviewing a PR, flag these as required changes:
[object]_[verb] snake_case, or using an unapproved verb@source/@page descriptions that don't match the actual implementationtrack() call, or there is no outcome tracking for the gated behaviorWhen a PR adds user-facing interactions (buttons, forms, toggles, modals) without tracking, suggest:
[object]_[verb] conventionuseTrack() call with suggested propertiesWhen checking property consistency, search packages/common/telemetry-constants.ts for similar events and verify property names match.
From the actual codebase:
// User copies a connection string
track('connection_string_copied', {
connectionType: 'psql',
connectionMethod: 'transaction_pooler',
connectionTab: 'Connection String',
})
// User enables a feature preview
track('feature_preview_enabled', {
feature: 'realtime_inspector',
})
// User clicks a banner CTA
track('index_advisor_banner_dismiss_button_clicked')
// Experiment exposure (fires on render — valid exception)
track('home_new_experiment_exposed', {
variant: 'treatment',
})To add tracking for a user action:
[object]_[verb] using approved verbs onlypackages/common/telemetry-constants.ts for similar events and match their property names and casing@group Events and @source JSDoc (plus @page when page-specific), add to the TelemetryEvent union typeimport { useTrack } from '@/lib/telemetry/track', call track('event_name', { properties })[object]_[verb] with approved verb@group Events, @source, and (if page-specific) @pageuseTrack hook© supabase, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/telemetry-standards of supabase/supabase.
Open the folder on GitHubat commit 26c838a
Telemetry Standards next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Telemetry Standards this skillsupabase/supabase | 111k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Creating Box Plot InsightsPostHog/posthog | 40k | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Querying Posthog DataPostHog/posthog | 40k | — | ~4.1k | Automated safety check: Pass | Custom licence | |
| Prod TelemetryUsefulSoftwareCo/executor | 4.1k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Posthog Product Health Auditboardsesh/boardsesh | 163 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Posthog Instrumentationlangfuse/langfuse | 36k | — | ~3.2k | Automated safety check: Pass | Custom licence |
PostHog/posthog
Creates product analytics or SQL-backed box plot insights in PostHog.
PostHog/posthog
Explains how to query PostHog data, defaulting to typed runners for supported product analytics.
UsefulSoftwareCo/executor
Query Executor's production telemetry — Axiom traces (executor-cloud dataset), prod Postgres via PlanetScale, PostHog product analytics — through the Executor MCP.
boardsesh/boardsesh
Mine Boardsesh's PostHog telemetry (error tracking, session recordings, product analytics) with a multi-agent workflow, then file verified, deduplicated, severity-labelled GitHub issues.
langfuse/langfuse
Product analytics with posthog. An agent skill from langfuse/langfuse.
alinaqi/maggy
PostHog analytics, event tracking, feature flags, dashboards
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
supabase/supabase
Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).
supabase/supabase
Review Supabase docs changes locally in your supabase/supabase checkout — either an open PR (triage, classify, verify) or your own branch before opening a PR (local self-review).
supabase/supabase
Vitest API and config reference (Jest-compatible) — mocking with vi., spies, fake timers, coverage configuration, fixtures, snapshots, and test filtering.
supabase/supabase
A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…
supabase/supabase
Write and run Playwright E2E tests for Supabase Studio (e2e/studio).
Categories
PostHog event tracking standards for Supabase Studio. An agent skill from supabase/supabase. Telemetry Standards is an agent skill from supabase/supabase, published by the product's own GitHub organization. PostHog event tracking standards for Supabase Studio.
Telemetry Standards fits situations like: adding useTrack() calls; defining events in packages/common/telemetry-constants.ts; implementing tracking for a new feature; reviewing PRs for telemetry compliance.
Run `npx skills add supabase/supabase --skill telemetry-standards -a claude-code`. Or copy the skill folder (.agents/skills/telemetry-standards in supabase/supabase) into .claude/skills/telemetry-standards in your project. Claude Code loads it when a task matches its description.
Run `npx skills add supabase/supabase --skill telemetry-standards -a codex`. Or copy the skill folder (.agents/skills/telemetry-standards in supabase/supabase) into .agents/skills/telemetry-standards in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add supabase/supabase --skill telemetry-standards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/telemetry-standards, .gemini/skills/telemetry-standards, .github/skills/telemetry-standards and .opencode/skills/telemetry-standards in your project.
SKILL.md names no scripts, command-line tools or credentials: Telemetry Standards is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Telemetry Standards is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Telemetry Standards: Creating Box Plot Insights (PostHog/posthog, 40k stars), Querying Posthog Data (PostHog/posthog, 40k stars), Prod Telemetry (UsefulSoftwareCo/executor, 4.1k stars) and Posthog Product Health Audit (boardsesh/boardsesh, 163 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
supabase (a GitHub organization, an official publisher) maintains it in supabase/supabase, which has 111,222 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 8, 2026.
Source: supabase/supabase on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.