Skip to content
InfratoApp
InfratoApp / Resources / Agent skills / cleaning-up-stale-feature-flags

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.

Official — PostHog

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

Stars
75
State
listed
Licence
MIT
From the repository

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

cleaning-up-stale-feature-flags compared with other skills for the same job, by publisher, what it does, repository stars and last update
SkillPublisherWhat it doesRepo starsLast update
cleaning-up-stale-feature-flags (this page)posthogIdentify stale feature flags in a PostHog project and clean up the code that checks them. Use when the user w…752026-10-25
account-handover(same repository)posthogDraft structured handover notes for transitioning a PostHog account from one TAM or CSM to another. Use this…752026-10-25
adding-warehouse-person-properties(same repository)posthogSync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data be…752026-10-25
analyzing-experiment-session-replays(same repository)posthogAnalyze session replay patterns across experiment variants to understand user behavior differences. Use when…752026-10-25
analyzing-task-runs(same repository)posthogSplit a completed PostHog task run into activity records — what the agent tried, whether it worked, what bloc…752026-10-25
assessing-heatmaps(same repository)posthogAssesses what a page's heatmap is telling you and recommends concrete changes. Pulls click / rageclick / scro…752026-10-25
auditing-endpoints(same repository)posthogAudit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised ver…752026-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

All analytics & experiments entries →

Learn this on Infrato