Hacker
Jeet Tandel
@jeet0407
Elsewhere
Projects
flagsmith-prove-it: an Agent Skill that proves, ships and cleans up a feature flag end to end
Flagsmith Experimentation HackathonNov 2026
flagsmith-prove-it is an Agent Skill that takes a coding agent (tested with Codex) through the whole lifecycle of a feature flag: prove a change works with a Flagsmith Experimentation A/B test, ship the winner in safe steps, then delete the flag debt. The problem: agents can now flip flags, but shipping safely is a whole job. Teams need a fair test, an honest reading of the stats, a careful rollout and cleanup afterwards. Agents usually run one command and stop, call results early, skip guardrails and leave dead flags behind. In our benchmark, Codex without the skill used more tokens and still stalled at the decision. Who uses it: any developer or team using Flagsmith with a coding agent. One prompt, for example "prove the big checkout button is better, then ship it", runs six stages: plan → preflight → launch → watch → rollout → cleanup. A state file means an experiment that runs for days resumes in a new agent session. How it works: small Python scripts wrap the Flagsmith CLI and return one line of JSON each, so the agent never reads raw API output. The plan (hypothesis, metrics, sample size, stop rule) is locked at launch. Watch uses Flagsmith's Bayesian results, a sample-ratio-mismatch check and a guardrail metric. Rollout goes 50→75→100% with health checks and automatic rollback. Cleanup removes the losing code path, opens a PR with an experiment report, and archives the flag only once no code reads it. Every user-facing change needs a human yes, enforced in code, not just in the prompt.
HackOps@hackops,@devangvala07,@aryanjsawant