flag-graph

Installation
SKILL.md

flag-graph

Trace the dependency relationships around a GrowthBook feature flag. Use this skill before making structural changes to a flag (renaming, archiving, deleting) to understand the blast radius, or when building a mental model of how flags depend on each other.

Read-only — this skill never writes.

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.

Workflow

1. Fetch the flag

gb-call GET /api/v2/features/<flag-id>

Capture: prerequisites (feature-level), rules (check for rule-level prerequisites, experiment-ref entries, safe-rollout entries), holdout.

2. What does this flag depend on? (forward dependencies)

Installs
47
GitHub Stars
21
First Seen
Jun 2, 2026
flag-graph — growthbook/skills