AGENT SKILLBY LAUNCHDARKLY
Launchdarkly flag command
AT A GLANCE
Launchdarkly flag command is a growth skill for AI agents. You're using a skill that standardizes quick /flag requests. It is published by launchdarkly in the launchdarkly/agent-skills GitHub repository (18 stars) under the Apache-2.0 license. Install it with: npx skills add launchdarkly/agent-skills --skill launchdarkly-flag-command
- SOURCE REPOSITORY
- launchdarkly/agent-skills (opens GitHub in a new tab)
- REPO STARS
- SOURCE REPOSITORY
- LICENSE
- Apache-2.0
- CATEGORIES
- SKILL.MD SIZE
- 5 KB110 LINES
QUICK ANSWER
- WHAT IT IS01
- You're using a skill that standardizes quick /flag requests. Its edge is a particular angle on growth marketing, giving the agent tighter constraints than a plain launchdarkly flag command request.
- INPUTS02
- Context for growth marketing: your goals, audience, constraints, and any source material the skill asks for.
- OUTPUT03
- A ready-to-use result for growth marketing: the analysis, copy, or recommendations the agent produces.
INSTALL
One command adds this skill from its source repository.
npx skills add launchdarkly/agent-skills --skill launchdarkly-flag-commandREAD THE SKILL.MD BELOW BEFORE YOU RUN IT. SKILLS INSTRUCT YOUR AGENT.
SKILL.MD
The full file, as published in the source repository. Copy it, download it or open it on GitHub.
ON THIS PAGE · 10
LaunchDarkly Flag Command Router#
You're using a skill that standardizes quick /flag requests. Your job is to parse the user intent, resolve the requested flag with minimal friction, return an actionable summary, and route to deeper workflows when needed.
Scope Boundary#
This skill is a read-only lookup entrypoint. It returns flag details and routes forward.
Hard constraints — you MUST NOT:
- Create, toggle, update, or delete flags
- Assess whether a flag is safe to remove, stale, or ready for cleanup
- Provide a "verdict", "safe to remove" conclusion, removal steps, or "before removing" advice
- Offer to archive or delete the flag
When the user asks about removal or staleness, your entire response for that part must be the flag summary table followed by this exact routing message (you may rephrase slightly but must keep the substance):
This quick lookup can only show you the flag's current config. To assess whether it's safe to remove, you need the flag discovery or flag cleanup skill — they scan code references, check status across all environments, and analyze downstream dependencies.
That's it. No analysis. No bullet points. No verdict. The removal question is answered by the routing message, not by you.
Prerequisites#
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
list-flags— search and disambiguate flag candidatesget-flag— fetch detailed configuration for a resolved flag
Optional MCP tools:
get-flag-status-across-envs— compare lifecycle status across environmentsget-flag-health— quick health snapshot for a single flag
Command Contract#
Treat these forms as equivalent intents:
/flag <query>flag <query>- "find flag <query>"
- "show me <query> flag"
Use production as the default environment unless the user specifies another environment.
Workflow#
Step 1: Parse and Normalize Input#
- Extract the query text after
/flag. - If no query is provided, ask for one concise identifier (flag key, name fragment, or tag).
- Capture optional hints from the request:
- Environment (
staging,production, etc.) - Project key
- Preference for exact key vs fuzzy search
- Environment (
Step 2: Resolve the Flag#
Use list-flags first unless the user clearly provided an exact key and project.
- Search with
list-flagsusing the query. - If one clear exact match exists, resolve to that flag.
- If multiple plausible matches exist, return a short disambiguation list (key + name + state) and ask the user to pick.
- If no matches exist, tell the user and suggest one broader query.
Step 3: Return a Useful Summary#
For a resolved flag, call get-flag and return:
- Flag key and name
- Environment state (
on/off) - Off variation and fallthrough behavior
- Rule/target complexity (simple vs complex)
- Direct LaunchDarkly URL for the flag (when project + key are known)
If the user asked about removal, staleness, or cleanup (e.g., "is this safe to remove?", "can I clean this up?", "is this stale?"):
Show ONLY the summary table above, then write:
This quick lookup can only show you the flag's current config. To assess whether it's safe to remove, you need the flag discovery or flag cleanup skill — they scan code references, check status across all environments, and analyze downstream dependencies.
Do not add a verdict, bullet-point analysis, removal steps, "before removing" checklist, or an offer to archive/delete. The removal question is fully answered by the routing message above. Proceed to Step 4.
Step 4: Route to the Right Follow-up Workflow#
After returning the summary, check whether the user's request implies a deeper workflow. If it does, name the skill and stop — do not attempt the workflow yourself.
| User intent | Route to |
|---|---|
| Create or modify a flag | flag create skill (opens in a new tab) |
| Change targeting or rollout | flag targeting skill (opens in a new tab) |
| "Is this safe to remove?", "Is this stale?", cleanup | flag discovery (opens in a new tab) / flag cleanup (opens in a new tab) |
For removal/staleness questions specifically: follow the Scope Boundary instructions above — summary table only, then route. No verdict.
Output Style#
Keep /flag responses brief and operational:
- Start with the resolved flag (or disambiguation list)
- Include only the minimum config details needed for the next action
- End with one clear next step question when user intent is ambiguous
Important Context#
/flagis a fast entrypoint, not a full lifecycle workflow.- Prefer disambiguation over guessing when multiple flags match.
- Treat project + environment as first-class context; avoid hidden assumptions.
- When sharing rollout percentages, always use human-readable percentages.
- Never improvise removal, staleness, or cleanup analysis. Always route to the dedicated skill.
FAQ
07 QUESTIONS
01What is the Launchdarkly flag command agent skill?
You're using a skill that standardizes quick /flag requests. It is listed under growth in the 100xLab agent skills directory.
02How do I install Launchdarkly flag command in Cursor, Claude Code, or Codex?
Run npx skills add launchdarkly/agent-skills --skill launchdarkly-flag-command in the project where you want it, then ask your agent for the skill by name. The --skill flag installs only Launchdarkly flag command, not every skill in the repository.
03What does the Launchdarkly flag command SKILL.md cover?
The SKILL.md includes sections on Scope Boundary, Prerequisites, Command Contract, Workflow, Step 1: Parse and Normalize Input and Step 2: Resolve the Flag. Read the full text on this page or in plain markdown at /resources/agent-skills/launchdarkly-agent-skills--launchdarkly-flag-command--d7qe1x/raw.
04Which agents can use Launchdarkly flag command?
Launchdarkly flag command installs with the cross-agent skills installer (npx skills add), which sets it up for agents such as Claude Code, Cursor and Codex. Each agent loads the SKILL.md when you ask for the skill by name.
05What license is Launchdarkly flag command under?
The launchdarkly/agent-skills repository declares the Apache-2.0 license. Read the license file in the repository before you copy or redistribute the skill.
06Is Launchdarkly flag command free to use?
Reading, copying and installing Launchdarkly flag command costs nothing: it is published in a public GitHub repository under the Apache-2.0 license. Reuse and redistribution follow that license.
07Where is the source of Launchdarkly flag command?
Launchdarkly flag command comes from https://github.com/launchdarkly/agent-skills, which has 18 GitHub stars. The SKILL.md is at https://github.com/launchdarkly/agent-skills/blob/HEAD/skills/feature-flags/launchdarkly-flag-command/SKILL.md. The author is launchdarkly.
Need an agent workflow built around your stack?
Tell us the workflow you want automated. We reply within 4 working hours (IST).
ATTRIBUTION
Launchdarkly flag command was written by its original authors and is published in launchdarkly/agent-skills (opens GitHub in a new tab) under the Apache-2.0 license. All rights stay with the original authors.
100xLab did not write, maintain or endorse this skill. This page lists it for discovery. Repo stars belong to the source repository, not to the skill. Review any skill before you install it.