Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/launchdarkly/ai-tooling/launchdarkly-flag-create
launchdarkly-flag-create logo

launchdarkly-flag-create

launchdarkly/ai-tooling
591 installs25 stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/launchdarkly/ai-tooling --skill launchdarkly-flag-create

Summary

Create and configure LaunchDarkly feature flags in a way that fits the existing codebase. Use when the user wants to create a new flag, wrap code in a flag, add a feature toggle, or set up an experiment. Guides exploration of existing patterns before creating.

SKILL.md

LaunchDarkly Flag Create & Configure

You're using a skill that will guide you through introducing a new feature flag into a codebase. Your job is to explore how flags are already used in this codebase, create the flag in LaunchDarkly in a way that fits, add the evaluation code matching existing patterns, and verify everything is wired up correctly.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • create-flag: create a new feature flag in a project
  • get-flag: verify the flag was created correctly

Optional MCP tools (enhance workflow):

  • list-flags: browse existing flags to understand naming conventions and tags
  • update-flag-settings: update flag metadata (name, description, tags, temporary/permanent status)

Workflow

Step 1: Explore the Codebase

Before creating anything, understand how this codebase uses feature flags.

  1. Find the SDK. Search for LaunchDarkly SDK imports or initialization:
  • Look for launchdarkly, ldclient, ld-client, LDClient in imports
  • Check package.json, requirements.txt, go.mod, Gemfile, or equivalent for the SDK dependency
  • Identify which SDK is in use (server-side Node, React, Python, Go, Java, etc.)
  1. Find existing flag evaluations. Search for variation calls to understand the patterns this codebase uses:
  • Direct SDK calls: variation(), boolVariation(), useFlags(), etc.
  • Wrapper patterns: Does this codebase abstract flags behind a service or utility?
  • Constant definitions: Are flag keys defined as constants somewhere?
  • See SDK Evaluation Patterns for patterns by language
  1. Understand conventions. Look at existing flags to learn:
  • Naming convention: Are keys kebab-case, snake_case, camelCase?
  • Organization: Are flag keys co-located with features, or centralized in a constants file?
  • Default values: What defaults do existing evaluations use?
  • Context/user construction: How does this codebase build the user/context object passed to the SDK? This determines which context kinds and attributes any future targeting can use — and it differs by surface (server vs client vs anonymous). See Context Availability before planning a rule, individual target, or rollout.
  1. Check LaunchDarkly project conventions. Optionally use list-flags to see existing flags:
  • What tags are commonly used?
  • Are flags marked as temporary or permanent?
  • What naming patterns exist in the project?

Step 2: Determine the Right Flag Type

Based on what the user needs, choose the appropriate flag configuration. See Flag Types and Patterns for the full guide.

Quick decision:

User intentFlag kindVariations
"Toggle a feature on/off"booleantrue / false
"Gradually roll out a feature"booleantrue / false
"A/B test between options"multivariate (string)User-defined values
"Configure a numeric threshold"multivariate (number)User-defined values
"Serve different config objects"multivariate (JSON)User-defined values

Defaults to apply:

  • Set temporary: true unless the user explicitly says this is a permanent/long-lived flag. Most flags are release flags that should eventually be cleaned up.
  • Generate a key from the name if not provided (e.g., "New Checkout Flow" -> new-checkout-flow), but match the codebase's naming convention if one exists.
  • Suggest relevant tags based on the feature area, team, or context the user mentions.

Step 3: Create the Flag in LaunchDarkly

Use create-flag with the configuration determined in Step 2.

After creation:

  • The flag is created with targeting OFF in all environments.
  • The flag serves the offVariation to everyone until targeting is turned on.
  • Remind the user they'll need to use the flag targeting skill to toggle it on and optionally set up rollout rules.

Step 4: Add Flag Evaluation to Code

Now add the code to evaluate the flag, matching the patterns you found in Step 1.

  1. Use the same SDK patterns the codebase already uses. If there's a wrapper, use the wrapper. If there are constants, add the new key to the constants file.
  2. Use an appropriate default value. The default (fallback) value in code should be the "safe" behavior: typically the existing behavior before the flag. This ensures the feature stays off if the SDK can't reach LaunchDarkly.
  3. Add the conditional logic. Wrap the new behavior in a flag check.
  4. Handle both branches. Make sure the code path for each variation is clear and complete.

See SDK Evaluation Patterns for implementation examples by language and framework.

Step 5: Verify

Confirm the flag is properly set up:

  1. Code compiles/passes linting. Run the project's build or lint step.
  2. Flag exists in LaunchDarkly. Use get-flag to confirm it was created with the right configuration.
  3. Both code paths work. The flag-off path preserves existing behavior; the flag-on path enables the new feature.
  4. Default value is safe. If LaunchDarkly is unreachable, the code falls back to the default: make sure that's the existing/safe behavior.

Updating Flag Settings

If the user wants to change flag metadata (not targeting), use update-flag-settings. Supported changes:

ChangeInstruction
Rename{kind: "updateName", value: "New Name"}
Update description{kind: "updateDescription", value: "New description"}
Add tags{kind: "addTags", values: ["tag1", "tag2"]}
Remove tags{kind: "removeTags", values: ["old-tag"]}
Mark as temporary{kind: "markTemporary"}
Mark as permanent{kind: "markPermanent"}

Multiple instructions can be batched in a single call. These changes are project-wide, not environment-specific.

Important: Metadata updates (above) are separate from targeting changes (toggle, rollout, rules). If the user wants to change who sees what, direct them to the flag targeting skill.

Important Context

  • Flag keys are immutable. Once created, a flag's key cannot be changed. Choose carefully.
  • Flags start OFF. Creation never enables a flag. This is a safety feature.
  • The default value in code is your safety net. It's what gets served when the SDK can't connect to LaunchDarkly. Always use the "safe" / existing behavior as the default.
  • Follow existing codebase conventions. The most common mistake is introducing a flag pattern that doesn't match what the team already does. Step 1 exists to prevent this.

References

  • Flag Types and Patterns: Boolean vs multivariate, naming conventions, configuration best practices
  • SDK Evaluation Patterns: How to evaluate flags in each SDK, including common wrapper patterns
  • Context Availability: Which context kinds/attributes targeting can use, matched to the surface where the flag is read (relevant once the flag will target rather than being a plain on/off switch)

Score

0–100
63/ 100

Grade

C

Popularity15/30

591 installs — growing adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Launchdarkly Flag Create skill score badge previewScore badge

Markdown

[![Launchdarkly Flag Create skill](https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-create/badges/score.svg)](https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-create)

HTML

<a href="https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-create"><img src="https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-create/badges/score.svg" alt="Launchdarkly Flag Create skill"/></a>

Launchdarkly Flag Create FAQ

How do I install the Launchdarkly Flag Create skill?

Run “npx skills add https://github.com/launchdarkly/ai-tooling --skill launchdarkly-flag-create” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Launchdarkly Flag Create skill do?

Create and configure LaunchDarkly feature flags in a way that fits the existing codebase. Use when the user wants to create a new flag, wrap code in a flag, add a feature toggle, or set up an experiment. Guides exploration of existing patterns before creating. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Launchdarkly Flag Create skill free?

Yes. Launchdarkly Flag Create is a free, open-source skill published from launchdarkly/ai-tooling. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Launchdarkly Flag Create work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Launchdarkly Flag Create works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
convex-create-component logo

convex-create-component

get-convex/agent-skills

99K installsInstall
find-skills logo

find-skills

vercel-labs/skills

2.9M installsInstall
grill-me logo

grill-me

mattpocock/skills

817K installsInstall
frontend-design logo

frontend-design

anthropics/skills

762K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

696K installsInstall
improve-codebase-architecture logo

improve-codebase-architecture

mattpocock/skills

671K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

Guide10 Openclaw Skills Every Nextjs Developer NeedsGuideHow To Build Your First Openclaw SkillGuideBest Openclaw Skills 2026

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed