home/categories/debugging/posthog-posthog-products-feature-flags-skills-cleaning-up-stale-feature-flags-skill-md
debuggingtools

cleaning-up-stale-feature-flags

Identify and clean up stale feature flags in a PostHog project. Use when the user wants to find unused, fully rolled out, or abandoned feature flags, review them for safety, and then disable or delete them. Covers staleness detection, dependency checking, and safe removal workflows.

PostHog
maintainer
PostHog
Updated 3/24/2026
Stars
32541
Forks
2505
quick start

Installation and usage

Identify and clean up stale feature flags in a PostHog project. Use when the user wants to find unused, fully rolled out, or abandoned feature flags, review them for safety, and then disable or delete them. Covers staleness detection, dependency checking, and safe removal workflows.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use cleaning-up-stale-feature-flags