cleaning-up-stale-feature-flags
cleaning-up-stale-feature-flags is the official agent skill of PostHog published by posthog, listed under analytics & experiments. It lives in the PostHog/skills repository, which has 75 GitHub stars and is licensed under MIT; we last read it on 2026-10-08.
Identifies and cleans up stale feature flags in a PostHog project. Agents with repository access perform code cleanup, while those without generate a cleanup prompt. Requires no specific credentials.
Install
skills is a generic installer for any repository of Claude agent skills -- it reads PostHog/skills’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.
npx skills add PostHog/skills
What it connects to
Unverified means a mention in the skill’s own description, not a citation. A wrong claim here costs nothing to correct and nothing to trust yet.
Maintenance
Identify stale feature flags in a PostHog project and clean up the code that checks them. Use when the user wants to find, audit, or remove unused, fully rolled out, or abandoned feature flags, run a feature flag hygiene review or a weekly cleanup, reduce feature flag tech debt, or asks "which flags can I remove?". When the agent can read and edit a repository it performs the code cleanup itself: tested local changes, and one draft PR per flag when the user authorizes publishing. Agents without repository access generate a tailored cleanup prompt instead. Covers staleness detection, dependency checking, retained-path rules, and the code-first ordering. This skill does not archive or otherwise change a flag in PostHog.
cleaning-up-stale-feature-flags compared with similar skills
| Skill | Publisher | What it does | Repo stars | Last update |
|---|---|---|---|---|
| cleaning-up-stale-feature-flags (this page) | posthog | Identify stale feature flags in a PostHog project and clean up the code that checks them. Use when the user w… | 75 | 2026-10-25 |
| account-handover(same repository) | posthog | Draft structured handover notes for transitioning a PostHog account from one TAM or CSM to another. Use this… | 75 | 2026-10-25 |
| adding-warehouse-person-properties(same repository) | posthog | Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data be… | 75 | 2026-10-25 |
| analyzing-experiment-session-replays(same repository) | posthog | Analyze session replay patterns across experiment variants to understand user behavior differences. Use when… | 75 | 2026-10-25 |
| analyzing-task-runs(same repository) | posthog | Split a completed PostHog task run into activity records — what the agent tried, whether it worked, what bloc… | 75 | 2026-10-25 |
| assessing-heatmaps(same repository) | posthog | Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click / rageclick / scro… | 75 | 2026-10-25 |
| auditing-endpoints(same repository) | posthog | Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised ver… | 75 | 2026-10-25 |
Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.
Common questions about cleaning-up-stale-feature-flags
- What does cleaning-up-stale-feature-flags do?
- Identifies and cleans up stale feature flags in a PostHog project. Agents with repository access perform code cleanup, while those without generate a cleanup prompt. Requires no specific credentials.
- How do I install cleaning-up-stale-feature-flags?
- Run npx skills add PostHog/skills. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
- Who publishes cleaning-up-stale-feature-flags?
- posthog. It is named as the official skill of PostHog.
- Is cleaning-up-stale-feature-flags maintained, and what licence does it use?
- Its repository has 75 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-25. The repository declares the MIT licence.
More agent skills for analytics & experiments
- youtube-thumbnail-designby 101-skills
- incremental-implementationby addyosmani
- agent-observability-replay-traceby datadog-labs
- dd-browser-sdkby datadog-labs
- dd-instrument-rumby datadog-labs
- omni-ai-evalby exploreomni