What it does
Finds the flags that stopped being flags. A feature flag is a temporary branch in your code that someone meant to remove; most never are, and a codebase accumulates conditionals nobody can safely delete because nobody remembers what they gated. The agent cross-references the flag platform against the code. It reports flags serving one value to everyone for months, flags with no evaluations at all, flags that no longer appear anywhere in the source, and — the dangerous inverse — code still branching on a flag that has already been archived. For each it says how long it has been that way and which files still reference it. Removal is a proposal, never an act. It opens an issue naming the flag, the files to clean up, and the evidence, so the cleanup happens as reviewed work. It cannot archive a flag itself — a flag archived while code still reads it is an outage rather than a tidy-up, so that stays a decision someone makes on a platform they can see. It never toggles a flag, changes a rollout percentage, or touches targeting. Those move production traffic, and no cleanup task is worth that risk.
Example prompts
- Which flags in the web project have been serving the same value to everyone for over 90 days?
- Is any code still branching on a flag that's already archived?
- Check whether checkout-v2 still appears anywhere in acme/web before we clean it up.
Before you connect
The credentials this agent will ask you for — the full setup is on the Setup tab.
Needs 2 credentials (2 required) to connect. See setup