Migrate
Migrate an app's hardcoded LLM prompts to LaunchDarkly AgentControl in five confirmed stages.
- CCM score
- 71 of 100
- skills.sh installs
- 1.9K
- GitHub stars
- 32
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers audit, wrap, tool move, metrics verification, and evaluator attachment for direct provider and LangChain or LangGraph calls
- Includes worked examples for Python and Node.js, plus per-framework references for CrewAI, Strands, and custom ReAct loops
- Enforces prompt placeholders without spaces, and keeps the original call as a fallback when
invoke()raisesRuntimeError - Designed for apps that call OpenAI, Anthropic, Bedrock, or Gemini directly and need managed model and prompt configuration
Install
$ npx -y skills add launchdarkly/ai-tooling --skill migrate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Migrate to AgentControl
You're using a skill that will guide you through migrating an application from hardcoded LLM prompts to a full LaunchDarkly AgentControl implementation. Your job is to run the migration in five stages, stopping at each stage for the user to confirm:
- Audit the code — read-only scan that produces a structured list of everything hardcoded (prompt, model, parameters, tools, app-scoped knobs).
- Wrap the call — install the SDK, create the config in LaunchDarkly, and route the provider call through
config().invoke(), keeping the original call as the fallback. - Move the tools — extract each tool's JSON schema, attach it to the config, and pass the implementations to the SDK as tool handlers.
- Verify metrics — confirm duration, tokens, and success/error reach the Monitoring tab, and add feedback or business metrics if the app needs them.
- Attach evaluators — either offline evals via the Playground + Datasets, or judges that score sampled traffic automatically.
Details
- Repository
- github.com/launchdarkly/ai-tooling
- Categories
- AI Agents & LLM Apps, Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the migrate skill do?
The migrate skill moves an application with hardcoded LLM prompts onto a full LaunchDarkly AgentControl implementation in five stages. Each stage pauses for you to confirm before the next one starts, beginning with a read-only audit of the code.
How do I install the migrate skill?
Run npx -y skills add launchdarkly/ai-tooling --skill migrate -y in your project to install it. Once installed, the agent can audit your code and walk through wrapping calls, moving tools, verifying metrics and attaching evaluators.
What does the migrate skill need before I run it?
It needs the remotely hosted LaunchDarkly MCP server configured in your environment and a server-side SDK key in LD_SDK_KEY that starts with sdk-. Your application must already call an LLM provider with hardcoded model, prompt and parameter values.
Which skills lead the migrate skill's category?
The migrate skill sits in the AI Agents & LLM Apps category on Claude Marketplaces. The other skills that lead it there are microsoft-foundry, azure-ai and the google-agents-cli skills.
More from launchdarkly/ai-tooling
All 40- Snippets1.9K
- Agent Graphs1.9K
- Launchdarkly Flag Command1.9K
- Onboarding5.2K
- Launchdarkly Flag Discovery4.3K
- Launchdarkly Flag Create4.2K
- Launchdarkly Flag Targeting4.2K
- Launchdarkly Flag Cleanup4.2K
- Launchdarkly Metric Choose3.3K
- Launchdarkly Metric Create3.3K
- Launchdarkly Metric Instrument3.3K
- Aiconfig Tools2.9K
- Aiconfig Projects2.9K
- Aiconfig Create2.9K
- Aiconfig Update2.9K
- Aiconfig Variations2.9K
- Launchdarkly Guarded Rollout2.8K
- Launchdarkly Experiment Setup2.8K
- Aiconfig Targeting2.8K
- Aiconfig Online Evals2.7K
- Aiconfig Ai Metrics2.6K
- Aiconfig Migrate2.6K
- Aiconfig Custom Metrics2.6K
- Aiconfig Snippets2.4K
Similar to Migrate
More AI Agents & LLM Appsaiconfig-migratelaunchdarkly/ai-tooling2.6K installsDeprecated redirect that points users from aiconfig-migrate to the current migrate skill.
toolslaunchdarkly/ai-tooling1.9K installsConfig tools: attach function-calling tool definitions to LaunchDarkly agent config variations and wire up their handlers.
prompt-optimizergetsentry/skills2.7K installsStructured workflow that creates, refines, and ports agent prompts against evals, keeping instructions causal.
prompt-engineerbastani-inc/atomic173 installsA structured guide for writing, evaluating, migrating, and troubleshooting prompts for GPT and Claude models.
prompt-masternidhinjs/prompt-master5.2K installsStructured system prompt that turns rough ideas into ready-to-paste prompts tuned for specific AI tools and models.
llm-application-dev-prompt-optimizesickn33/agentic-awesome-skills357 installsStructured prompt improvement with task-specific evaluation, held-out checks, and regression testing for LLM applications.