Toggle & Roll Install skills

Feature flags for coding agents

You call the shots.
We handle the rollout.

Tell your coding agent what to release. Toggle & Roll reads your project, picks the right Flagsmith skills, and brings you a plan to approve.

Feature switch Staging preview
checkout_v2New checkout

Live planner

What's the release plan?

Try a request against an example repository. The same read-only router that runs in your project builds the plan here.

Your request

Input
Try a request
Read-only

Release plan

Output

Loading the checkout plan…

How it works

From toggle to rollout.

The toggle decides which experience the app serves. The rollout decides who gets it, when, and how you check it.

  1. Route the request

    The master skill reads the code and flag inventory, orders the relevant skills, and asks for missing facts.

  2. Review the preview

    Inspect the staging target and proposed changes. Your approval applies to the exact preview digest.

  3. Roll it out

    The checkout executor rechecks live state and applies the approved rule for signed-in staging customers.

  4. Verify the app

    Read back the saved rule. Check both customer experiences, repeat visits, guests, and the failure fallback.

Skill library

Twelve release skills.

Open a playbook for an example, its capabilities, and the instructions your coding agent reads.

Loading skills…

Staging evidence

Check the receipt.

An installed Codex workflow rolled out a missing checkout flag to 10% of signed-in users in evaluation staging.

3

Initial writes

The approved run created the flag, segment, and staging override.

4 / 48

Sampled IDs enabled

The flag was enabled for four signed-in sample IDs and disabled for 44. The app served the expected checkout for both groups.

0

Additional replay writes

The executor verified the saved rollout again. Guests and failed flag lookups kept classic checkout.

Ship or Hold experiment

Four model-controlled sessions each faced two tickets. Both Manual operators held the conflicting release. Both Assisted operators shipped the ready release and tried the conflicting one. The executor blocked both unsafe attempts with zero writes. Neither arm passed both tickets (0/2 each). The ledger matched the native Flagsmith dashboard. A separate 20-session scripted check tested event delivery. Human outcomes remain unmeasured. Try the practice decision ↗

Product demo

See a release
in action.

Follow a checkout request from the first plan to the staging receipt and the release decision.

Download the demo

Local installation

Bring it to your repo.

Run these commands from your project's root on macOS or Linux with Python 3.10 or later. Local planning needs no account.

Terminal
curl -fLO https://toggleandroll.udit-gupta.com/downloads/toggle-roll.pyz
python3 toggle-roll.pyz install
python3 .toggle-roll/cli.py doctor

Open your project in Codex

Start a fresh session, then ask the installed master skill for a plan.

$toggle-roll-master Roll out the new checkout to 10% of signed-in users in staging. Show me the plan first.

Codex completed planning, approved execution, and replay. Claude Code discovered all 13 skills in its CLI. Model execution in Claude is unverified.

How do I connect my own Flagsmith instance?

Live checkout execution requires the official Flagsmith CLI v2, uv, a compatible Python checkout, a staging configuration, and a current inventory. Supply your management key through a secret manager and pin your trusted HTTPS origin. Review the exact preview digest before approving any writes.

Configure your staging instance ↗
What if my agent can't find the skills?

Reopen the project in a fresh trusted session. Run python3 .toggle-roll/cli.py doctor to check installed files, skill links, and prerequisites. For Claude Code, invoke the master with /toggle-roll-master.

Troubleshoot the install ↗
Do I need a login?

The public planner, demo, and practice playground are open to everyone. To view native flags or experiments, sign in to the self-hosted Flagsmith dashboard with your invited account.

Open the native dashboard ↗