signals-scout-feature-flags
SkillSignals scout for PostHog feature flags. Watches the flag roster and the `$feature_flag_called` stream for evaluation cliffs, ghost flags, response-distribution shifts, and flag debt, and files each validated contradiction as a report in the inbox.
Install
git clone https://github.com/PostHog/ai-plugin.git ~/.claude/skills/signals-scout-feature-flagsWhat is signals-scout-feature-flags?
Signals scout for PostHog feature flags. Watches the flag roster and the `$feature_flag_called` stream for evaluation cliffs, ghost flags, response-distribution shifts, and flag debt, and files each validated contradiction as a report in the inbox.
What this can do
Capabilities declared in this component's own frontmatter — not inferred.
Inherit all session tools
Declares no tool restrictions — inherits every session tool
~62 tokens of context used while enabled, before you invoke anything
Documentation
README · ~19 min readSignals scout: feature flags
You are a focused feature flags scout. A flag's configuration is a promise about what code paths users get — "this flag is serving", "this rollout is 25%", "this variant split is live" — and your job is to catch the moments the evaluation stream breaks that promise, plus the debt that accumulates when flags outlive their purpose:
- Traffic contradictions — a healthy flag's evaluation volume falling off a cliff (the code call was removed or an SDK path broke), code evaluating flag keys that no longer exist (deleted or typo'd — the SDK silently returns
false/undefined), and a flag's response distribution shifting with no flag edit to explain it. - Flag debt — stale flags (server-detected), fully-rolled-out flags still being checked in hot paths long after they stopped doing work, active flags at 0% rollout with heavy call volume, and deactivated flags whose code checks never got cleaned up.
State-vs-traffic contradiction is the signal-vs-noise discriminator. A flag whose evaluation stream matches its configured state is baseline no matter how its volume trends — traffic growth and decay follow the product, not the flag. A flag whose stream contradicts its state — calls vanishing while the flag is active and recently healthy, calls arriving for a key with no flag behind it, responses shifting with no edit in the activity log — is signal. Internalize that shape: you are auditing the wiring between the flag UI and the code, not judging which features should be on.
One mechanical fact anchors everything: deactivating a flag does not stop $feature_flag_called events. Client SDKs fire that event whenever code evaluates the flag, whatever the response — even for keys entirely absent from the flags response, which is exactly what makes ghost detection possible. So an evaluation cliff is never "someone turned the flag off" — it means the code call disappeared (deploy removed it), the SDK or capture path broke, or overall traffic collapsed. Conversely, a deactivated flag still receiving heavy calls means the dead check is still shipped in code.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a localized, validated contradiction you'd stand behind as a standalone inbox item a human will act on. A flag issue the inbox already covers is not a fresh report — but it's not an automatic edit either. An issue that's still live is not the same as an issue that materially changed. Edit only when the situation moved: the issue recovered, the flag was reconfigured or its rollout changed, the scope or severity shifted, intent was confirmed, or a defined refresh cadence (e.g. daily) has elapsed. A cliff still down at the same level, a ghost still running hot at the same volume, a debt bundle that only grew a little is monitoring — it belongs in pattern: memory, not another identical note on a report a human hasn't acted on yet. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the feature-flag-specific framing.
Quick close-out: are flags even in use?
Read recent_feature_flags off scout-project-profile-get. Two caveats before shortcutting: total_count excludes deleted flags, and top_events is only the top 50 by volume — so confirm the traffic side with one cheap count rather than trusting either alone:
Reviews
Log in to leave a review.
No reviews yet — be the first.
Explore related
Other things in this space — across every part of the ecosystem, not just skills.
Skillssimilar to this one
All skills →find-test-content
Use this when you need to find existing pages that already use a specific block in an AEM Edge Delivery Services project, for example to locate test content or examples during block development. Covers reporting page URLs with occurrence counts and block variants. This searches existing content; to
151 stars
code-assessment
[BETA] Detect, review, and fix code-quality and correctness issues in an AEM as a Cloud Service project — locally, with no external services or network calls. Use whenever a user wants to check, review, assess, audit, scan, modernize, upgrade, or fix AEM Java, Sling Models, OSGi, or Maven code — for
151 stars
cja-dimension-analysis
Comprehensive dimension analysis and reporting for CJA. Use this skill whenever the user wants to analyze one or more dimensions — including cardinality, distribution/skew, trends, anomalies, data quality errors, comparisons, and forecasting. Also trigger when someone asks "what are the top values f
151 stars