
Snippets
If you're managing AI configs in LaunchDarkly and find yourself copying the same persona instructions or safety guardrails across multiple prompts, this handles the dedupe work. It walks you through creating reusable text blocks (snippets) for things like output formats, compliance disclaimers, or domain knowledge, then wiring them into your config variations. The workflow is straightforward: identify repeated text, create snippets with descriptive keys, verify they're saved, and update them when requirements change. One thing to note is that snippet updates create new versions that propagate to all referencing configs, so you need to think through the blast radius before changing widely used guardrails.
- skills.sh installs
- 1.3K
- GitHub stars
- 19
- last updated
- Jul 14, 2026
Install
$ npx -y skills add launchdarkly/agent-skills --skill snippets --agent claude-codeInstalls into .claude/skills of the current project.
Files
Config Prompt Snippets
You're using a skill that will guide you through creating and managing prompt snippets in LaunchDarkly. Your job is to identify reusable text, create snippets, reference them in config variations, and verify everything is wired correctly.
Prerequisites
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
create-prompt-snippet-- create a new reusable text blockget-prompt-snippets-- browse existing snippets in the project; withsnippetKey, inspect one snippet's content
Optional MCP tools:
update-prompt-snippet-- edit a snippet's text, name, or tagsdelete-prompt-snippet-- permanently remove a snippetupdate-agent-configwithresource: "variation"-- update variation prompts to reference snippets
Core Concepts
What Are Prompt Snippets?
Prompt snippets are named, versioned text blocks stored at the project level. They contain reusable pieces of prompt text — personas, guardrails, output format instructions, domain knowledge — that can be shared across multiple config variations.
Sponsors
Details
- Repository
- github.com/launchdarkly/agent-skills
- Category
- AI & Agent Building
- First seen
- Jul 14, 2026
More from launchdarkly/agent-skills
All 41- Tools1.3K
- Launchdarkly Flag Command1K
- Onboarding3.3K
- Launchdarkly Flag Cleanup2.5K
- Launchdarkly Flag Create2.5K
- Launchdarkly Flag Discovery2.5K
- Launchdarkly Flag Targeting2.5K
- Aiconfig Create2.3K
- Aiconfig Projects2.3K
- Aiconfig Tools2.3K
- Aiconfig Update2.3K
- Aiconfig Variations2.3K
- Launchdarkly Metric Choose2.3K
- Launchdarkly Metric Create2.3K
- Launchdarkly Metric Instrument2.3K
- Aiconfig Online Evals2.2K
- Aiconfig Targeting2.2K
- Aiconfig Ai Metrics2K
- Aiconfig Custom Metrics2K
- Aiconfig Migrate2K
- Apply2K
- Detect2K
- First Flag2K
- Launchdarkly Experiment Setup2K