Hacker

kajaljotwani

@kajaljotwani

Joined Aug 2026student at GGITSIndia

Projects

  • SkillBench: A/B test agent skills with Flagsmith experiments

    Flagsmith Experimentation HackathonNov 2026

    Every team running coding agents keeps tweaking the SKILL.md files and system prompts that steer them. The tweak ships because it "reads better", and nobody can prove the new version passes more tasks or costs less before every run in the company is using it. We had exactly this problem with a date-utils skill: the shorter version looked obviously better, and we had no numbers. SkillBench is a Python CLI that treats every agent run as one Flagsmith identity. skillbench init creates a multivariate flag skill_variant, two occurrence metrics and an experiment in Flagsmith (after you type "approve"). skillbench run executes a fixed task suite: for each task and seed it asks Flagsmith which skill version this identity gets, loads that SKILL.md as the system prompt, calls Claude Haiku, runs the pytest checker in a sandbox, and sends task_passed and within_token_budget events back. skillbench results reads Flagsmith's Bayesian results (lift, credible interval, chance to win) and applies a decision rule that was fixed in skillbench.yaml before the run. skillbench promote shows the decision card and rolls the winner out to 100 % only after a human types "approve"; rollback restores control. A small live dashboard shows the run feed and Flagsmith's numbers side by side. Who would use it: any team with a skills/ folder and a handful of tasks they care about. Point skillbench.yaml at your skill, your variant and your suite, and you get the same loop. What happened when we used it on ourselves: we ran two real experiments (200 and 192 runs). Both times the "obviously better" shorter skill tied on pass rate (100 % vs 100 %, then 98.8 % vs 99.1 %, chance to win 50 % and 55.8 %), so the gate refused to ship it. Both times the run log showed the thing we had not asked about: the shorter skill used 24 to 39 % fewer tokens with no loss of correctness. That is the next experiment, with cost as the primary metric, and it is a one-line config change.