Skip to content
launchdarkly avatar

Snippets

Reusable prompt text blocks, stored per project, that keep shared instructions consistent across configs.

CCM score
61 of 100
skills.sh installs
1.9K
GitHub stars
32
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating, browsing, updating, and deleting named snippets via the LaunchDarkly MCP server tools
  • Includes a step-by-step workflow: identify shared text, create with key, name, text, tags, then verify version 1
  • Enforces reusability by advising against snippets used in only one place or entire prompts stored as a single snippet
  • Designed for teams that repeat personas, guardrails, or output formats across several agent configs

Install

$ npx -y skills add launchdarkly/ai-tooling --skill snippets -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 block
  • get-prompt-snippets -- browse existing snippets in the project; with snippetKey, inspect one snippet's content

Optional MCP tools:

  • update-prompt-snippet -- edit a snippet's text, name, or tags
  • delete-prompt-snippet -- permanently remove a snippet
  • update-agent-config with resource: "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.

Details

Repository
github.com/launchdarkly/ai-tooling
Categories
AI Agents & LLM Apps, Technical Documentation
First seen
Jul 14, 2026

Questions

What does the snippets skill do?

The snippets skill creates and manages prompt snippets, which are reusable text blocks referenced inside config variation prompts. It keeps shared instructions, personas and guardrails consistent across multiple configs, and it can update a snippet so that referencing configs pick up the new version.

How do I install the snippets skill?

Run npx -y skills add launchdarkly/ai-tooling --skill snippets -y in your project to install it. After that, the agent can create, browse, update and delete snippets through the LaunchDarkly MCP server.

What does the snippets skill need to run?

It needs the remotely hosted LaunchDarkly MCP server configured in your environment. The required tools are create-prompt-snippet and get-prompt-snippets, and update-prompt-snippet, delete-prompt-snippet and update-agent-config are optional.

When should I use prompt snippets instead of writing the prompt directly?

Use snippets for text that will be reused in two or more places, such as a shared support persona, safety guardrails, a required JSON output format or compliance disclaimers. Text unique to one variation or dynamic per-request content is better kept in the prompt itself or in template variables.

Where does the snippets skill stand in its category?

The snippets skill sits in the AI Agents & LLM Apps category on Claude Marketplaces, alongside microsoft-foundry, azure-ai and the google-agents-cli skills. It is aimed at keeping prompt text consistent across AgentControl configs.

More from launchdarkly/ai-tooling

All 40

Similar to Snippets

More AI Agents & LLM Apps