Confidence AI Plugin
Official Confidence plugin for AI coding tools. Manage feature flags, experiments, onboarding, and migrations right from your agent.
✨ Highlights
- Manage feature flags without leaving your editor: create, list, update, target, resolve, and archive flags from Claude Code, Cursor, Codex, or Gemini CLI
- One-command migrations from PostHog, Eppo, Statsig, or Optimizely (flags and SDK code; Optimizely also migrates users, teams, roles, policies, and Flag clients)
- Guided onboarding: spin up a Confidence account, invite teammates, create SDK clients, and connect a warehouse without reading a setup doc
- Docs on tap: search Confidence documentation and SDK integration guides inline while you code
- Works with every major AI coding assistant through the same MCP servers
ℹ️ Overview
Confidence is Spotify's feature flagging and experimentation platform, built on the OpenFeature standard. This plugin exposes Confidence's flag management, documentation, and migration tooling as MCP servers and slash commands, so you can create a flag, plan a migration off another platform, or onboard a new workspace directly from your AI coding assistant's chat.
⬇️ Installation
Claude Code
claude plugin install confidence
Cursor
From the Marketplace: open Cursor Settings → Plugins, search for Confidence, and click Install.
Manual setup: add the MCP servers to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"confidence-flags": {
"url": "https://mcp.confidence.dev/mcp/flags"
},
"confidence-docs": {
"url": "https://mcp.confidence.dev/mcp/docs"
}
}
}
Codex
codex plugin marketplace add spotify/confidence-ai-plugins
codex
/plugins
# Select Confidence and install
Gemini CLI
gemini extensions install https://github.com/spotify/confidence-ai-plugins
Local Development
git clone https://github.com/spotify/confidence-ai-plugins.git
claude --plugin-dir ./confidence-ai-plugins
Cursor: File → Open Folder on this repository (the
confidence-ai-plugins directory itself — not Desktop or your home
folder). Skills load from ./skills/ via .cursor-plugin/plugin.json
and from .cursor/skills/ (symlinks) for project-level discovery.
Commands load from ./commands/ (including
/migrate-optimizely plan access, plan flags, execute code, etc.)
and from .cursor/commands/ (symlink to ../commands). Dedicated
/migrate-optimizely-* menu shortcuts also exist in Cursor. A parent
folder as the workspace will not auto-load them.
Skills only, any agent
The migration and onboarding skills can also be installed individually via the skills CLI, which supports Claude Code, Cursor, Codex, Gemini CLI, and 70+ other agents:
npx skills add spotify/confidence-ai-plugins
This installs only the skill logic (auto-triggering guidance for migrations and onboarding). It does not configure the confidence-flags/confidence-docs MCP servers or the /confidence:* slash commands, even when targeting one of the four clients above. Since several skills call into those MCP servers to manage flags, use one of the full installs above for complete functionality; use this only if you want the skill guidance on an agent the full installs don't support.
🚀 Usage
Once installed, just ask your assistant:
> List my feature flags
> Create a flag called new-checkout with a boolean schema
> /confidence:onboard-confidence create-account
> /confidence:migrate-posthog plan flag
> /confidence:migrate-posthog plan code
> /confidence:migrate-eppo plan flag
> /confidence:migrate-eppo plan code
> /confidence:migrate-statsig plan flag
> /confidence:migrate-statsig plan code
> /confidence:migrate-optimizely plan access
> /confidence:migrate-optimizely adjust access
> /confidence:migrate-optimizely execute access
> /confidence:migrate-optimizely plan flags
> /confidence:migrate-optimizely adjust flags
> /confidence:migrate-optimizely execute flags
> /confidence:migrate-optimizely plan code
> /confidence:migrate-optimizely adjust code
> /confidence:migrate-optimizely execute code
> /confidence:analyze-project
Features