Skip to content

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
View on GitHub

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() raises RuntimeError
  • 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 -y

Installs 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:

  1. Audit the code — read-only scan that produces a structured list of everything hardcoded (prompt, model, parameters, tools, app-scoped knobs).
  2. 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.
  3. Move the tools — extract each tool's JSON schema, attach it to the config, and pass the implementations to the SDK as tool handlers.
  4. Verify metrics — confirm duration, tokens, and success/error reach the Monitoring tab, and add feedback or business metrics if the app needs them.
  5. 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

Similar to Migrate

More AI Agents & LLM Apps