Open sourceThe skills live at github.com/growthbook/skills and call the GrowthBook REST API directly through a small bundled helper.
Prerequisites
- A GrowthBook account: GrowthBook Cloud or a self-hosted instance.
- A Personal Access Token (PAT): create one at Account → Personal Access Tokens. The token is tied to your GrowthBook user, so flags and experiments the skills create are attributed to you automatically.
- Node.js 18+: check with
node -v. Many agents already run on it.
Installation
1. Install the plugin
- Claude Code
- Cursor, Codex, and others
Add the marketplace, then install the plugin:
2. Configure your credentials
Run the setup skill and follow the prompts:~/.config/growthbook/.env with chmod 600. Every other skill reads that file automatically.
3. Verify
/growthbook:gb-setup.
How skills work
Skills fire two ways:- Automatically, when your agent detects matching intent: “create a feature flag for the pricing page” runs
flag-create; “what should we test next?” runsexperiment-brainstorm. - Explicitly, by typing the slash command, e.g.
/growthbook:flag-searchor/growthbook:experiment-launch.
- Flag-first:
flag-create→flag-toggle→flag-targeting→flag-ramp/flag-monitoring→flag-cleanup - Experiment-first:
experiment-design→experiment-launch→experiment-analyze→experiment-stop→flag-cleanup - Experiment on an existing flag:
flag-experiment→experiment-launch→experiment-stop→flag-cleanup
What’s included
The skills fall into three groups. The two reference pages list each one with an example prompt you can run.- Setup —
gb-setupconfigures and validates your API credentials. - Feature flag skills — create, target, roll out, ramp, monitor, review, publish, search, and clean up flags across their full lifecycle.
- Experiment skills — brainstorm, design, launch, analyze, and stop A/B tests.
Example prompts
- “Create a boolean flag
new-checkout-flowthat defaults tofalse, then roll it out to 10% of US users.” - “What feature flags are stale and safe to clean up?”
- “Design an A/B test for the new pricing page and launch it on the
pricing-v2flag.” - “What are the results of our checkout experiment? Should we ship the winner?”
- “Stop the
homepage-heroexperiment and roll the winning variation out to everyone.”
Safety and governance
The skills follow GrowthBook’s built-in safeguards:- Draft → review → publish. Every flag change is staged on a draft revision. Skills route through
flag-reviewandflag-publishso approvals and merge conflicts are handled the same way they are in the app. See Publishing & approval flows. - Two-step deletes.
flag-cleanuparchives a flag, pauses for you to verify nothing broke, and only then deletes. It won’t collapse those steps. - Read-only by default where it matters.
flag-search,flag-graph,experiment-brainstorm,experiment-design, andexperiment-analyzenever write. - Secrets stay local.
gb-setupwrites your key to a0600file and recommends a scoped PAT you can revoke independently.
Next steps
- Feature flag skills: the full flag catalog
- Experiment skills: design, launch, analyze, and stop tests
- Agent Skills vs. the MCP Server
- GrowthBook REST API, which the skills call under the hood
- Skills source on GitHub

