🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Feature Flag Manager

by @sky-lv

Toggle features instantly without deploying code. A/B test variants, gradual rollouts from 1% to 100%, and emergency kill switches for AI agents.

πŸ’‘ Examples

# 1. Create a feature flag
node flag.js create dark-mode --description "Dark theme UI"

2. Enable for 10% of users

node flag.js update dark-mode --percentage 10

3. Check if enabled for current user

node flag.js enabled dark-mode --user-id alice

β†’ true (or false based on percentage)

4. Gradually increase to 100%

node flag.js update dark-mode --percentage 50 node flag.js update dark-mode --percentage 100


βš™οΈ Configuration

Flags stored in .featureflags/config.json:

{
  "flags": {
    "dark-mode": {
      "enabled": true,
      "percentage": 25,
      "description": "Dark theme support"
    },
    "pricing-test": {
      "enabled": true,
      "percentage": 100,
      "variants": ["control", "v1", "v2"],
      "weights": [50, 25, 25]
    }
  }
}


View on ClawHub
TERMINAL
clawhub install feature-flag-manager

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’