auditing-experiments-flags
Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations.
Skill by PostHogOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/posthog-auditing-experiments-flags-0f3929
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
auditing-experiments-flags- Description
- Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations. Read when the user asks to audit, health-check, or review experiments or feature flags, check flag hygiene, or verify experiment setup.
- License
- MIT
- Instructions
- 77 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- experiment-checks.md · references/
- finding-taxonomy.md · references/
- flag-checks.md · references/
- remediation-actions.md · references/
- synthesis-patterns.md · references/
SKILL.md (first lines)
# Auditing experiments and feature flags This skill teaches you how to run configuration audits on experiments and feature flags. All checks use the experiment and feature flag read tools (`experiment-get`, `experiment-list`, `feature-flag-get-definition`, `feature-flag-get-all`) — no SQL queries are needed for Phase 1 checks. ## Usage modes ### Quick check (single entity) When the user asks about a specific experiment or flag: 1. Fetch the entity via `experiment-get` (experiment ID) or `feature-flag-get-definition` (numeric flag ID). 2. Apply the relevant checks from [experiment checks](./references/experiment-checks.md) or [flag checks](./references/flag-checks.md). 3. Report findings inline as markdown, grouped by severity (CRITICAL first, then WARNING, then INFO). 4. Include entity links as `[Experiment: name](/experiments/id)` or `[Flag: key](/feature_flags/id)`. ### Scoped audit (one domain) When the user asks to audit all experiments or all flags: 1. Bulk-fetch via `experiment-list` or `feature-flag-get-all`. 2. Run all checks for that domain against each entity. 3. Group findings by severity, then by entity. 4. Report as inline markdown. ### Full audit (comprehensive) When the user asks for a comprehensive audit of both experiments and flags: 1. Fetch all experiments via `experiment-list` and all flags via `feature-flag-get-all`. 2. Run all experiment checks and all flag checks. 3. Apply [recurring patterns](./references/synthesis-patterns.md) to identify patterns across multiple findings. 4. If there are more than 5 entities with findings, write them to a notebook for easier navigation. Otherwise report inline. Create the notebook from the project's own notebook tools. Run `search notebooks?-` to load them and read the titles. ## Output format For each finding, include: - **Severity badge**: `🔴 CRITICAL`, `🟡 WARNING`, or `🔵 INFO` - **Check name**: Which check produced this finding - **Entity link**: Markdown link to the entity - **What's wrong**: One-sentence description - **Action**: What to do about it (see [remediation actions](./references/remediation-actions.md)) Example: > 🟡 **WARNING** — Flag integration · [Experiment: checkout-redesign](/experiments/42) > The linked feature flag is inactive (paused). Traffic is not being split. > **Action**: Re-enable the flag or end the experiment. ## Handling unavailable data Some checks require activity logs (`feature-flags-activity-retrieve` for flags), which may not be available in every session. If activity log data is unavailable: - Skip `checkActivityHistory` (experiment check) entirely. - Skip the "toggle instability" and "never activated" sub-checks in flag lifecycle checks. - In your report, note which checks were skipped and why: > _Skipped: Activity history checks (activity logs not available via current tools)_ ## Partial failures If a fetch call fails for some entities: - Continue with the entities you could fetch. - Report which entities could not be assessed and why. - Do not silently omit entities from the audit. ## Reference files - [Experiment checks](./references/experiment-checks.md) — experiment configuration checks - [Flag checks](./references/flag-checks.md) — feature flag checks - [Finding types](./references/finding-taxonomy.md) — severity and category definitions - [Recurring patterns](./references/synthesis-patterns.md) — patterns across multiple findings - [Remediation actions](./references/remediation-actions.md) — what to do about each finding
From PostHog/skills, MIT.
Signals
- Stars
- 75
- Forks
- 8
- Open issues
- 2
- Last commit (this folder)
- Sep 18, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/PostHog/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.683score
auditing-experiments-flags
PostHogOfficial
Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations.
SkillAFreshness: A★ 95Claude Code +9 - 0.339score
auditing-experiments-flags
anny-co
Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations.
SkillAFreshness: AClaude Code +9
More from PostHog
- 0.759score
PostHog MCP Server
PostHogOfficial
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
ConnectorAFreshness: ARemote★ 40.4KClaude Code +3 - 0.754score
code-reviewer
PostHog
Subagent "code-reviewer" from PostHog/posthog: Use this agent when you need expert code review of recently written or modified code.
TemplateAFreshness: A★ 40.4KClaude Code - 0.683score
authoring-log-alerts
PostHogOfficial
Author useful, low-noise log alerts on services in a PostHog project.
SkillAFreshness: A★ 95Claude Code +9 - 0.683score
auditing-experiments-flags
PostHogOfficial
Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations.
SkillAFreshness: A★ 95Claude Code +9 - 0.683score
analyzing-offline-evaluations
PostHogOfficial
Inspect and compare offline AI evaluation experiments, diagnose case-level regressions, and follow scorer history across application, model, or prompt changes.
SkillAFreshness: A★ 95Claude Code +9 - 0.683score
authoring-error-tracking-alerts
PostHogOfficial
Author error tracking alerts that fire when an issue is created, reopened, or starts spiking.
SkillAFreshness: A★ 95Claude Code +9
Cite this page
auditing-experiments-flags skill. Agent Mart. https://agentmart.dev/skills/posthog-auditing-experiments-flags-0f3929 (last updated 2026-10-24)