<p align="center"> <img src="assets/logo.svg" alt="Confidence" width="120" /> </p>
<h1 align="center">Confidence AI Plugin</h1>
<p align="center"> Official Confidence plugin for AI coding tools. Manage feature flags, experiments, onboarding, and migrations right from your agent. </p>
<p align="center"> <a href="https://confidence.spotify.com/docs/introduction"><img alt="Docs" src="https://img.shields.io/badge/docs-confidence.spotify.com-6E56CF"></a> <a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a> <a href="./CHANGELOG.md"><img alt="Version" src="https://img.shields.io/badge/version-0.6.0-informational"></a> </p>
✨ 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, covering flags and SDK code
- 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
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 flags
> /confidence:migrate-optimizely plan code
> /confidence:analyze-project
Features
This plugin provides access to Confidence tools across these categories:
- Feature flags: Create, list, update, archive, resolve, and target feature flags
- Onboarding: Create accounts, invite users, set up SDK clients, configure warehouses, and learn experimentation concepts
- Documentation: Search Confidence docs and SDK integration guides
- Migration: Migrate feature flags from PostHog, Eppo, Statsig, or Optimizely to Confidence
- Project analysis: Scan a project and propose meaningful feature flag opportunities tailored to the codebase
Slash Commands
/confidence:onboard-confidence <create-account | invite-user | create-client | setup-wizard | setup-warehouse | learn | status>: Create accounts, onboard users, set up SDK clients, configure warehouses, and learn experimentation concepts/confidence:migrate-posthog <plan flag | plan code | execute <plan-file>>: Migrate feature flags from PostHog to Confidence/confidence:migrate-eppo <plan flag | plan code | execute <plan-file>>: Migrate feature flags from Eppo to Confidence/confidence:migrate-statsig <plan flag | plan code | execute <plan-file>>: Migrate feature flags from Statsig to Confidence/confidence:migrate-optimizely <plan flags | plan code | execute <plan-file>>: Migrate feature flags from Optimizely Feature Experimentation to Confidence/confidence:analyze-project [project-dir]: Analyze a project and propose meaningful feature flag changes using Confidence
MCP Servers
| Server | Endpoint | Description | |--------|----------|-------------| | confidence-flags | https://mcp.confidence.dev/mcp/flags | Feature flag management | | confidence-docs | https://mcp.confidence.dev/mcp/docs | Confidence documentation |
Supported Clients
| Client | Config | Marketplace | |--------|--------|-------------| | Claude Code | .claude-plugin/ | Official plugin | | Cursor | .cursor-plugin/ | Cursor Marketplace | | Codex | .codex-plugin/ | Via marketplace command | | Gemini CLI | gemini-extension.json | Direct from repo |
Documentation
- Confidence documentation
- Migration guides: migrate to Confidence from PostHog, Eppo, Statsig, or Optimizely
- OpenFeature SDK integration
💭 Community & Support
Found a bug or have a feature request? Open an issue. Changes are tracked in the changelog.











