launchdarkly-flag-command
Skill141 starsChanged 8 days agoApache-2.0View on GitHub
Resolve `/flag` style requests into the right LaunchDarkly flag lookup flow. Use when the user types `/flag`, asks to quickly find a flag by name/key, wants a direct flag detail summary, or needs fast disambiguation between similar flags.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- launchdarkly/ai-toolingedited, first seen Feb 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- launchdarkly/ai-tooling★ 2995% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository102 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentcore-observability-setupSkill
- agentcore-ops-reviewSkill
- aiml-access-diagnosticsSkill
- aiml-gpu-training-cluster-investigationSkill
- analytics-opensearch-expertiseSkill
- aws-backup-coverage-reviewSkill
- aws-eks-healthdashboardSkill
- aws-eks-operations-reviewSkill
- aws-fsxn-operations-reviewSkill
- aws-health-eventsSkill
- aws-natgw-traffic-analysisSkill
- aws-routingSkill
- aws-vpc-dns-investigationSkill
- bedrock-adoption-readinessSkill
- bedrock-operation-reviewSkill
- bluebox-observabilitySkill
- bronto-dataset-discoverySkill
- bronto-error-investigationSkill
- bronto-log-searchSkill
- clickstack-investigationSkill
- cloudtrail-cost-optimizationSkill
- config-cost-optimizationSkill
- coralogix-ai-centerSkill
- coralogix-alertsSkill
- coralogix-case-analyticsSkill
- coralogix-case-managementSkill
- coralogix-casesSkill
- coralogix-dashboardsSkill
- coralogix-dataprimeSkill
- coralogix-datasetsSkill
- coralogix-data-usageSkill
- coralogix-docsSkill
- coralogix-infrastructureSkill
- coralogix-logsSkill
- coralogix-metrics-querySkill
- coralogix-ollySkill
- coralogix-rumSkill
- coralogix-service-catalogSkill
- coralogix-single-caseSkill
- coralogix-spansSkill
- coralogix-viewsSkill
- cribl-investigationSkill
- crm-production-investigation-guidelinesSkill
- database-migration-service-expertiseSkill
- database-rds-devopsSkill
- devops-agent-cost-insightsSkill
- dx-vif-resilienceSkill
- ecs-operation-reviewSkill
- eks-upgrade-readinessSkill
- elastic-csp-investigationSkill
- elastic-k8s-investigationSkill
- elastic-llm-obsSkill
- elastic-onboardingSkill
- elastic-service-reliabilitySkill
- elastic-sre-triageSkill
- enrich-with-aws-security-agentSkill
- eos-cost-analysisSkill
- firehose-operation-reviewSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 13 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Create, toggle, update, or delete flags
- Distinctive: line 48
Treat these forms as equivalent intents:
- Very specific: line 55
Use production as the default environment unless the user specifies another environment.
- Distinctive: line 62
If no query is provided, ask for one concise identifier (flag key, name fragment, or tag).
- Very specific: line 70
Use get-flags first unless the user clearly provided an exact key and project.
- Very specific: line 72
Search with get-flags using the query.
- Distinctive: line 73
If one clear exact match exists, resolve to that flag.
- Distinctive: line 74
If multiple plausible matches exist, return a short disambiguation list (key + name + state) and ask the user to pick.
- Distinctive: line 75
If no matches exist, tell the user and suggest one broader query.
- Distinctive: line 93
Do not add a verdict, bullet-point analysis, removal steps, "before removing" checklist, or an offer to archive/delete.
- Distinctive: line 97
After returning the summary, check whether the user's request implies a deeper workflow.
- Very specific: line 108
Keep /flag responses brief and operational:
- Distinctive: line 110
Start with the resolved flag (or disambiguation list)
- Distinctive: line 117
Prefer disambiguation over guessing when multiple flags match.
- Distinctive: line 118
Treat project + environment as first-class context.
- Distinctive: line 119
When sharing rollout percentages, always use human-readable percentages.
- Distinctive: line 120
Never improvise removal, staleness, or cleanup analysis: Always route to the dedicated skill.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
get-flags— withoutflagKey, search and disambiguate flag candidates; withflagKey, fetch detailed configuration for the 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 get-flags first unless the user clearly provided an exact key and project.
- Search with
get-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-flags with flagKey and env 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 |
| Change targeting or rollout | flag targeting skill |
| "Is this safe to remove?", "Is this stale?", cleanup | flag discovery |
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

