flag-default-value

Installation
SKILL.md

flag-default-value

Set the default value of a GrowthBook feature flag. The default value is what the SDK returns when no rules match a user — it's the flag's baseline state, not a targeting rule. Changes go through a draft revision and require publishing before they take effect.

All API calls go through the bundled helper: ${CLAUDE_PLUGIN_ROOT}/scripts/gb-call. It needs GB_API_KEY set in env or written to ~/.config/growthbook/.env by /growthbook:gb-setup.

Required inputs

  • Flag ID — kebab-case key. Use flag-search to resolve if the user gives a description.
  • New default value — must match the flag's valueType. Always serialized as a string.

Workflow

1. Fetch the flag

gb-call GET /api/v2/features/<flag-id>
Installs
46
GitHub Stars
21
First Seen
Jun 2, 2026
flag-default-value — growthbook/skills