
first-flag
Create a boolean first flag, add evaluation, toggle on/off for end-to-end proof
by launchdarklyFree
Description
first-flag is the step in LaunchDarkly's onboarding skills that helps you create your first feature flag once the SDK is connected and prove that it works end to end. The AI agent creates a boolean flag, adds evaluation code to the app, and then runs a fixed check: the flag starts off, the agent verifies the off behavior, toggles it on and verifies the on behavior. It can create the flag through the LaunchDarkly MCP server, the API or the ldcli command-line tool, and can optionally hand flag creation to the separate launchdarkly-flag-create skill, though the verification steps remain required. For security it never pastes literal tokens into commands, using the $LAUNCHDARKLY_ACCESS_TOKEN environment variable instead so keys stay out of process lists and shell history. Install: npx skills add https://github.com/launchdarkly/ai-tooling --skill first-flag…
Highlights
- Creates a boolean first feature flag
- Adds flag evaluation code to the app
- Verifies off and on states end to end
- Works via MCP, API or ldcli
- Keeps access tokens in environment variables
Ratings & Reviews
No ratings yet
Be the first to rate first-flag.
People also visit

launchdarkly-flag-targeting
Control LaunchDarkly feature flag targeting including toggling flags on/off

launchdarkly-flag-command
Resolve `/flag` style requests into the right LaunchDarkly flag lookup flow

launchdarkly-flag-discovery
Audit your LaunchDarkly feature flags to understand the landscape
first-flag FAQ
What does first-flag do?
It creates a boolean feature flag, adds evaluation code and toggles it off and on to prove the LaunchDarkly integration works end to end.
Where does it fit in onboarding?
It is Step 6 of the LaunchDarkly onboarding skill, after the SDK code changes are applied.
Do I need the launchdarkly-flag-create skill?
No. It is optional. If installed, it can create the flag, but the off-verify-on-verify steps must still be completed.
How are credentials handled?
Tokens are never written literally into commands. The skill uses $LAUNCHDARKLY_ACCESS_TOKEN so they don't appear in process lists, shell history or screen recordings.
How do I install it and how was it audited?
Run: npx skills add https://github.com/launchdarkly/ai-tooling --skill first-flag. Audits on skills.sh: Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best first-flag alternatives?
Popular alternatives to first-flag include launchdarkly-flag-create, launchdarkly-flag-targeting and launchdarkly-flag-command. See all first-flag alternatives





