ClaudeSuperPower

gb-setup

Skill

Configure the GrowthBook plugin's API credentials so every other skill can run. Use when the user says "set up growthbook", "configure my api key", "growthbook isn't working", "where do I put my key", or when another skill emits an error pointing here ("GB_API_KEY is not set", "authentication failed

Install

git clone https://github.com/growthbook/skills.git ~/.claude/skills/gb-setup

What is gb-setup?

Configure the GrowthBook plugin's API credentials so every other skill can run. Use when the user says "set up growthbook", "configure my api key", "growthbook isn't working", "where do I put my key", or when another skill emits an error pointing here ("GB_API_KEY is not set", "authentication failed"). Writes ~/.config/growthbook/.env with chmod 600 and validates against the live API. For listing flags or running experiments, the other skills handle that.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Run shell commands

Declares Bash

~115 tokens of context used while enabled, before you invoke anything

All declared tools (1)
Bash

Documentation

README · ~7 min read

gb-setup

One-skill onboarding for the GrowthBook plugin. Walks the user through GB_API_KEY and an optional GB_API_URL for self-hosted. Validates the credentials by hitting the live API, then writes ~/.config/growthbook/.env with chmod 600.

The API key is a Personal Access Token (PAT) tied to a GrowthBook user, so the API attributes any flags or experiments the write skills create to that user automatically — there's no separate owner identifier to configure.

gb-call reads this file when the corresponding environment variables aren't set, so the user gets a one-time config rather than editing their shell rc. Real environment variables always win over the file — useful for CI and one-off overrides.

Workflow

  1. Detect current state. Check what's already configured. Don't ask the user for values they already have unless they want to change them.

    test -f ~/.config/growthbook/.env && echo "exists" || echo "missing"
    

    If the file exists, read it with the Read tool, parse the KEY=value lines, and surface a masked summary:

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.

Skillssimilar to this one

All skills