Integrations

Agent Skills

Install the ConfigDirector agent skills, so your coding agent adds an SDK to your project, wraps a change in a feature flag, reads and tests configs the way these docs describe, checks config keys in CI, removes a settled flag from your code, moves your flags from LaunchDarkly, creates configs from your description, changes their targeting rules, and creates and changes segments

Introduction

The agent skills are a pre-release. What a skill does may change before 1.0, and the changelog lists every change.

An agent skill is a set of instructions your coding agent loads to carry out one ConfigDirector task, such as adding an SDK to your project or checking config keys in CI. Once the skills are installed, ask your agent to add feature flags to your app, and it picks the matching skill on its own and does the work the way someone who has read these docs would.

The skills use the shared Agent Skills format, so they work with any coding agent that reads it. Two of them give your agent rules for writing and testing code that reads configs. They need no API token of their own, and run the CLI's checks only when your project already has the CLI set up.

Install

Run this in your project:

npx skills add ConfigDirector/agent-skills

It asks which skills to install, which of your coding agents to install them into, and whether to install them in the current project, where you can commit them for your team, or for every project on your machine. Add -g to install for every project without being asked, or --skill with a skill's name to install only that one:

npx skills add ConfigDirector/agent-skills -g
npx skills add ConfigDirector/agent-skills --skill configdirector-setup

npx skills add works with Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf and the other agents it supports. The skills live in the ConfigDirector/agent-skills repository on GitHub.

The skills

The skills come in two groups. Developer skills are for working in a repository, such as adding the SDK or wrapping a change in a flag. Operator skills change your ConfigDirector account from what you describe, such as creating a config or changing its targeting rules.

Developer skills

SkillWhat it doesAPI token permissions
configdirector-setupAdds ConfigDirector to your project: picks the SDK for your framework, installs it, reads the SDK key from an environment variable, creates a first feature flag once you confirm it, or reads the flag you name, and evaluates the flag in your code.Projects: Read, Configs: Read, Configs: Create, for the first flag
configdirector-connectSets up your agent's access to your ConfigDirector account, through the MCP server or the CLI, for each organization you work for, and checks it.Projects: Read, plus the permissions you choose for the agent
configdirector-flag-a-changeWraps a code change in a new temporary feature flag: proposes a key, creates a boolean flag that is off in every environment once you confirm it, and reads it in your code so the change runs where the flag is on and your app behaves as before where it is off, with a test for each branch.Projects: Read, Configs: Read, Configs: Create
configdirector-use-configs-in-codeGives your agent the rules for code that reads a config: what the in-code default value is for, the type to read each config as, which SDKs receive it, the evaluation context, keys the CLI can check, and one client per app. Applies when your agent writes or reviews such code. When your agent can reach your account, checks that your project has a config before writing a read, and offers to create one it lacks.None of its own; with your agent's access, Projects: Read and Configs: Read to check a config
configdirector-test-with-flagsGives your agent the rules for testing code that reads a config: the SDK's test client or the OpenFeature in-memory provider instead of a mock, no real SDK key, a test for each branch of a flag, and test values of the config's type. Applies when your agent writes tests around flagged code.None of its own
configdirector-validate-in-ciAdds configdirector validate to your repository's CI, so the build fails when the code reads a config key that does not exist, was renamed, or has the wrong type. On GitHub, it adds the ConfigDirector Code Scan action, which can also upload where each config is read on pushes to your default branch, so each config's Code references tab shows the code that reads it.Projects: Read, Configs: Read, plus Code references: Update for the upload, for a token used only by CI
configdirector-clean-up-flagRemoves a settled temporary feature flag from your code when you ask, keeping the branch it serves: reads the flag's lifecycle state, its recent evaluations and every reference configdirector scan finds, edits the code and runs your project's checks, and hands you the diff to review. Asks first only when what it read leaves you a decision, such as live environments that do not serve one value. Stops with the facts when the flag is still in use.Projects: Read, Environments: Read, Configs: Read
configdirector-migrate-from-launchdarklyMoves your flags from LaunchDarkly, following the migration guide. Recreates a LaunchDarkly project's segments and flags in your project, with the targeting rules of each environment and an experiment for each flag that runs one, from flag data you export in your own terminal, so your agent never handles a LaunchDarkly token: proposes which flags to move, which to hardcode, and which to leave in LaunchDarkly until their running experiment ends, shows each batch of configs next to LaunchDarkly's settings and rules before creating it, and checks the rules with an evaluation. Then switches one application's SDK calls over, its track calls included, runs configdirector validate and your checks, and removes the LaunchDarkly package once no read remains. Skips every key your project already has, and changes nothing in LaunchDarkly.Projects: Read, Environments: Read, Configs: Read, Configs: Create, Configs: Update targeting rules, Segments: Read, Segments: Create, plus Tags: Read for flags with tags

Operator skills

SkillWhat it doesAPI token permissions
configdirector-create-configCreates a config of any role and type from your description, such as a kill switch, a timespan with a range, an enum, or an experiment with variations, the metrics it measures and its hypothesis, with the SDKs that receive it and its tags. Marks the tags and metrics your project does not have yet as new, shows every setting and the default targeting rule value every environment starts with, asks for the ones it cannot work out from your description, and creates the config, with any new tags and metrics, once you confirm, then attaches the metrics, or shows you, through the CLI, the metrics to attach on its Settings tab. Creates a metric that counts only the events whose details match a filter, such as the checkouts on the Team plan, or sums a field of those details, such as the items bought, when you describe one, and asks which metric you mean when several have the event name you give. Asks for the lifetime only for a general config, since a feature flag, kill switch or experiment always has the same one. Also updates a feature flag's role to kill switch, which makes it permanent, or a kill switch's to feature flag, after showing what the update does.Projects: Read, Configs: Read, Configs: Create, plus Tags: Read to find the tags your project already has, Tags: Create to make new ones, Metrics: Read to find the metrics your project already has, Metrics: Create to make new ones, and Configs: Update settings to attach metrics through the MCP server and to update a role
configdirector-roll-outChanges a config's targeting rules in one environment from your description: turns a flag on or off, rolls a change out to a percentage, targets specific users, contexts with certain attributes, or a segment, sets an experiment split, or changes the value it serves. Shows the environment's current rules next to the resulting rules and changes them once you confirm, and in a live environment asks for an explicit yes. Ships an experiment's variation or stops its run the same way, so the run records how it ended. On request, shows what a context you describe now gets, or how an experiment's run is going: its results on each metric the experiment measures, with each variation's verdict against the control, starting with any guardrail likely worse. It names each metric by its event name, filter and value field, and says since when the run counted a metric attached while it was going, or that the run did not count one. On request, or when no variation shows a clear difference yet, also tells you how much longer the run needs: for a real lift of 2%, 5%, 10%, 20% and 50% on the primary metric, the exposures so far against those needed, and about how many more days that takes at the run's recent pace, taken as the least the run needs, with the advice to run at least one full week. Before you ship a variation, it gives you every guardrail likely worse for it and the primary metric's verdict, and keeps the reason you give for shipping or stopping as the run's note.Projects: Read, Environments: Read, Configs: Read, Configs: Update targeting rules, plus Segments: Read for segments and Contexts: Read to evaluate a saved context
configdirector-segmentsCreates a segment or changes one from your description: who is in it, as condition groups, its name or key, and an environment override added, changed or removed. Shows the current and resulting definition side by side with the configs that use the segment in the environments the change reaches, and writes it once you confirm; when one of those environments is live and a config uses the segment there, asks for an explicit yes. Never deletes a segment: it shows what uses it and gives you the command or the dashboard page to delete it yourself.Projects: Read, Environments: Read, Segments: Read, plus Segments: Create to create a segment and Segments: Update to change one

Use with your other skills

The ConfigDirector skills work alongside the other skills you use. Name several skills in one prompt, and your agent follows each one for its part of the work.

For example, say you implement changes with a skill named implement. Name it together with configdirector-flag-a-change, and the change your implement skill writes will end up behind a new feature flag that is off in every environment. In Claude Code, type a slash before each skill's name:

Claude Code
Use /implement to add CSV export to the reports page, and /configdirector-flag-a-change to ship it behind a new flag.

Other agents call a skill by name in their own way.

How the skills reach your account

Besides configdirector-connect, eight skills work with your ConfigDirector account. configdirector-setup and configdirector-flag-a-change create a flag, configdirector-create-config creates a config and updates a feature flag's role to kill switch or back, configdirector-roll-out changes a config's targeting rules, including shipping an experiment's variation and stopping its run, configdirector-segments creates and changes segments, configdirector-migrate-from-launchdarkly recreates your LaunchDarkly segments and flags, and configdirector-clean-up-flag reads a flag's lifecycle state and targeting rules, through the MCP server when your agent has it set up, and through the CLI otherwise. The CLI has no command that updates a role or attaches metrics to an experiment, so through the CLI, configdirector-create-config shows you the role update or the metrics to attach on the config's Settings tab instead. Three skills also run the CLI on their own: configdirector-validate-in-ci checks your code with validate, the same command your CI runs, configdirector-clean-up-flag finds every reference to a flag with scan, and configdirector-migrate-from-launchdarkly checks the application it switched with validate.

Each needs access set up with an API token you create. Ask your agent to connect ConfigDirector, and configdirector-connect sets it up with you:

  1. It asks what you want the agent to do, and names the permissions for it.
  2. In the ConfigDirector dashboard, you open API tokens and create a token with those permissions and an expiration.
  3. If your agent supports MCP servers, it adds the MCP server with the configuration the MCP page gives for your agent, and when you work for more than one organization, with a variable named for the repository's organization, as More than one organization describes. Otherwise, it has you install the CLI and sign in with configdirector login in your own terminal, once for each organization you work for.
  4. It checks the access with one read through the MCP server, or two through the CLI, and tells you what the token can do. Through the CLI, it also tells you which organization the token belongs to.

When the CLI is signed in to several organizations and a repository's configdirector.json names none, a skill asks which one you mean, adds it to the file with configdirector init, and tells you the file changed, so it goes in your next commit. When the token belongs to another organization than the one the repository names, such as a CONFIGDIRECTOR_TOKEN set for another organization, a skill tells you so and sends you to configdirector-connect instead of using it.

A skill that changes your account and finds neither set up stops and asks how to go on: you set up access with configdirector-connect and the skill tries again, or you make the change in the dashboard. When your request also asks for code, such as the SDK configdirector-setup adds, the skill can go on with the code without the change, and your code reads its in-code default value until the flag or config exists. You can also set up either one by hand from its page.

The token's permissions decide what your agent can do. The MCP server offers only the tools they allow, so a read-only token makes a read-only agent, and the CLI refuses a command that needs a permission the token lacks. A skill that changes your account reads the token's permissions before proposing anything, so a missing one shows up before you confirm a change: the skill names it as the API tokens page does, and asks how to go on, as above. Changes your agent makes through the MCP server show in the audit log with the source MCP and the name of the member who created the token, and changes made through the CLI with the source CLI.

Safety

The skills follow these rules:

  • Your agent never sees your API token. The MCP configuration reads the token from an environment variable or your editor's secret prompt, and you sign in to the CLI with configdirector login in your own terminal. Never paste a token into the chat, where it would stay in the transcript. If you do, the skill asks you to revoke it and create another.
  • Every change to your account is confirmed: a skill shows what it will create or change, and waits for your yes.
  • A skill that cannot make a change tells you at once, before any other work, and asks how to go on. It checks the token's permissions first, and every hand-over starts with anything you asked for that was not created or changed.
  • Before a skill changes the targeting rules of an environment, it shows you the current and the resulting rules side by side. In a live environment, it also tells you the environment serves real traffic and waits for an explicit yes. That goes for shipping a variation or stopping a run too: the skill asks, since the MCP tools and CLI commands for these ask for no confirmation of their own.
  • Before a skill changes a segment, it shows you the current and the resulting definition side by side, which environments the change reaches, and the configs that use the segment there. When one of those environments is live and a config uses the segment there, it also tells you so and waits for an explicit yes.
  • configdirector-clean-up-flag removes a settled flag from your code as soon as you ask, since you review the diff and nothing reaches production until you deploy. It asks first only when what it read leaves you a decision, such as which branch stays when your live environments do not serve one value.
  • Before configdirector-migrate-from-launchdarkly switches an application, it shows you every read of a LaunchDarkly flag it found and waits for your yes.
  • No skill archives or deletes anything in your account.

Versions

The skills are released together under one version number, and the changelog lists what each release changed. To update the skills you installed, run npx skills update.