Niches · Product analytics & experimentation
Find stale flags and remove them from code
Two or three companies' docs show a full fit.
What counts as done
A list of flags with their staleness status and last evaluation per environment, and for each one marked ready, a pull request hard-coding the served variation.
Measured, for our own tests: within 10 calls per flag. No docs we read state these figures, so they don't count against a listing here.
How agents ask for it: which flags can we delete
, clean up fully rolled-out flags
, remove the old checkout flag from the code
Does the job 2
The docs show it meets the test above, and nothing we read says otherwise.
| Listing | Why |
|---|---|
| GrowthBook BB GrowthBook, Inc. | GET /v2/stale-features returns isStale, a reason and staleByEnv with the value each environment evaluates to, and code-reference endpoints list usages per feature, so an agent can hard-code and open a pull request. source |
| LaunchDarkly BB Catamorphic, Co. (dba LaunchDarkly) | search-stale-flags ranks candidates, get-flag-status-across-envs gives last evaluation per environment, get-removal-readiness checks code references and returns safe, caution or blocked, and the flag-cleanup skill hard-codes the variation and opens a pull request. source |
Does the job, with a limit 4
It does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.
| Listing | Why |
|---|---|
| Flagsmith B Bullet Train Ltd | A Stale system tag, get_feature_code_references and get_feature_evaluation_data cover the inputs, but stale detection needs Scale-up or Enterprise plus feature versioning, and is based on last change, not last evaluation. source |
| Harness Feature Management & Experimentation BB Harness Inc. | Cleanup pipeline templates pick flags by natural-language criteria and open one pull request per flag, but they need a raw Anthropic key, and the MCP resources expose no staleness or last-evaluation field. source |
| PostHog B PostHog Inc. (formerly Hiberly Inc.) | feature-flags-status-retrieve reports active, stale or deleted, and the docs describe finding flags not evaluated in 90 days, but no MCP tool returns code references, so the agent must search the repository itself. source |
| Statsig BB Amplitude, Inc. | List Gates filters by type STALE and POST /gates/{id}/code_cleanup starts a cleanup, and a user praised the unused-flag detection (acc-25), but last evaluation per environment isn't a documented field. source |
Doesn't do this job 13
Listings in the category that do something else, with the reason.
| Listing | Why |
|---|---|
| Amplitude BB Amplitude, Inc. | Neither the MCP tool list nor the flag Management API exposes staleness, last evaluation or code references; only an archived filter. source |
| Countly E Countly Ltd | Remote-config tools list parameters, conditions and a Running or Stopped status, with no staleness, last-evaluation or code-reference data. source |
| Fullstory B Fullstory, Inc. | No feature flags. source |
| Heap D Content Square, Inc. | No feature flags. source |
| Matomo B InnoCraft Limited | No feature flags in Matomo. source |
| Mixpanel B Mixpanel, Inc. | Flag tools list, read and update flags and give lifecycle guidance, but expose no staleness, last-evaluation or code-reference fields. source |
| Mostly Good Metrics E Mostly Good Metrics | No feature flags. source |
| OpenPanel B OpenPanel AB | No feature flags. source |
| Optimizely Experimentation B Optimizely North America Inc. | Flags can be archived, but no staleness, last-evaluation or code-reference fields were found in the API index or MCP tools. source |
| Pendo E Pendo.io, Inc. | No feature flags. source |
| RudderStack MCP C RudderStack, Inc. | No feature flags. source |
| Userpilot B Userpilot, Inc. | No feature flags. source |
| Woopra D Woopra, Inc. | No feature flags. source |
What stops agents finishing
- staleness and code-reference fields missing from the MCP tools
- delete is irreversible where archive exists
Around it
After: code.open-pull-request.
Where this comes from
Weight 5 of 100 in Product analytics & experimentation: 3 of 55 account links; LaunchDarkly and PostHog both ship a cleanup skill, so the vendor side is larger than the accounts
The same as data: /api/v1/use-cases/product-analytics.stale-flag-cleanup.json, or the MCP tool get_use_case with id product-analytics.stale-flag-cleanup. Other jobs in this category: /api/v1/niches?category=product-analytics.
For companies
Do agents find, use and choose your tools?
An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.