confidence-ai-plugins: Instructions file for Codex

AGENTS.md

confidence-ai-plugins AGENTS.md is an instructions file for Codex, OpenCode from spotify/confidence-ai-plugins. It costs 1,237 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for the Confidence extension, covering feature flags, experiments, migration commands, and related tools. They tell a coding agent how to handle this project's commands and guidelines.

In plain words
What is it for?
They help plan or execute migrations from services such as PostHog, Eppo, Statsig, and Optimizely, and manage Confidence setup tasks.
Why use it?
They give the agent project-specific rules instead of making it infer how the extension should be used.

Instructions file for CodexOpenCode ✓ vendor

Written for Codex and OpenCode: the file is AGENTS.md.

This is spotify/confidence-ai-plugins's own configuration. It tells Codex and OpenCode how to work on confidence-ai-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything confidence-ai-plugins configures →

About the project

Confidence is Spotify’s platform for managing feature flags and running software experiments, built around the OpenFeature standard. Teams use it to control feature releases, test changes, migrate from other flagging systems, and onboard workspaces. The catalogue add-ons expose these operations, documentation, and migration workflows through AI coding assistants.

spotify/confidence-ai-plugins · 9 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to spotify/confidence-ai-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/spotify/confidence-ai-plugins/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/spotify/confidence-ai-plugins

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for confidence-ai-plugins AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/spotify/confidence-ai-plugins/agents-md/github.svg)](https://agentmods.dev/instructions/spotify/confidence-ai-plugins/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/spotify/confidence-ai-plugins/agents-md"><img src="https://agentmods.dev/badge/instructions/spotify/confidence-ai-plugins/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for confidence-ai-plugins AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/spotify/confidence-ai-plugins/agents-md"><img src="https://agentmods.dev/badge/instructions/spotify/confidence-ai-plugins/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,237 This file is loaded in full into every session.
When invoked 1,237 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01237 $0.01237
Opus 5.5 $0.00495 $0.00495
Sonnet 5.5 $0.00247 $0.00247
Haiku 4.5 $0.00124 $0.00124

Measured 1mo ago against content hash 07340526fd9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

confidence-ai-plugins AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Confidence Extension

You are a helpful assistant that provides tools for feature flag management, experimentation, and migration from other platforms using the Confidence MCP tools.

Commands

  • /confidence:migrate-posthog <plan flag | plan code | execute <plan-file>> — Migrate feature flags from PostHog to Confidence SDK
  • /confidence:migrate-eppo <plan flag | plan code | execute <plan-file>> — Migrate feature flags from Eppo to Confidence SDK
  • /confidence:migrate-statsig <plan flag | plan code | execute <plan-file>> — Migrate feature flags from Statsig to Confidence SDK
  • /confidence:migrate-optimizely (no args → plan access) or /confidence:migrate-optimizely <plan access | adjust access | execute access | plan flags | adjust flags | execute flags | plan code | adjust code | execute code | execute <plan-file>> — Migrate Optimizely to Confidence. Phase 0–2 each support plan / adjust / execute; Flag clients are Step 4 of plan access. See README — Optimizely → Confidence
  • /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:analyze-project [project-dir] — Analyze a project and propose meaningful feature flag changes using Confidence
  • /confidence:instrument-events [project-dir] — Analyze a project, identify events to track, create event definitions with entity references, add SDK track() calls, and verify the pipeline
  • /confidence:explore-metric [event-name or fact-table-name] — Generate a pre-filled Metric Explorer URL for any event or fact table to preview and create metrics in the UI
  • /confidence:setup-session-recording [project-dir] — Set up Confidence Session Recording in a browser-based project

Skills

  • migrate-posthog — Auto-triggers when the user asks to migrate PostHog flags or transform SDK code to Confidence
  • migrate-eppo — Auto-triggers when the user asks to migrate Eppo flags or transform SDK code to Confidence
  • migrate-statsig — Auto-triggers when the user asks to migrate Statsig gates/configs/experiments or transform SDK code to Confidence
  • migrate-optimizely — Auto-triggers when the user asks to migrate or adjust Optimizely users, teams, groups, roles, policies, clients, flags/rollouts/experiments, or SDK code to Confidence (including adjust flags / adjust code)
  • onboard-confidence — Auto-triggers when the user asks to create a Confidence account, invite users, set up SDK clients, configure warehouses, run the setup wizard, or learn about experimentation
  • analyze-project — Auto-triggers when the user asks what to feature-flag, wants flag suggestions, or asks to analyze their project for feature flag opportunities
  • instrument-events — Auto-triggers when the user asks to instrument events, add tracking, set up event tracking, analyze what to track, or measure experiment impact
  • explore-metric — Auto-triggers when the user asks to explore a metric, preview a metric, create a metric from an event or fact table, or open the Metric Explorer
  • setup-session-recording — Auto-triggers when the user asks to add session recording, session replay, or integrate Confidence recordings into their app

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines · +64 tokens per session 07340526fd9d
  2. 1mo ago First seen · 48 lines · 1,173 tokens per session scan A d50b23af17ac

Subscribe to this mod's changes

confidence-ai-plugins AGENTS.md is an instructions file published in the GitHub repository spotify/confidence-ai-plugins (9 stars, last pushed 18d ago), licensed Apache-2.0. It adds 1,237 tokens to every session, about $0.0049 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.

Related

confidence-ai-plugins AGENTS.md compared with instructions from other repositories

confidence-ai-plugins AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
confidence-ai-plugins AGENTS.mdspotify/confidence-ai-pluginsInstructions file918d agoApache-2.0A1,237Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode