manage-feature-flags

manage-feature-flags is a skill for Claude Code from mixpanel/ai-plugins. It costs 225 tokens per session (3,052 once invoked), scanned A, original, Apache-2.0.

A coaching skill for Mixpanel feature flags, which control whether selected users receive a product change. It covers feature gates, changing settings, experiments, rollouts, kill switches, and troubleshooting.

In plain words
What is it for?
Use it to create, name, configure, gradually release, stop, archive, restore, or debug Mixpanel feature flags and related experiments.
Why use it?
It helps avoid confusing an immediate on/off kill switch with the percentage of users receiving a change, a common source of rollout mistakes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Engine required** — resolve an engine per [`ENGINE.md`](../../ENGINE.md): one named in the conversation or loaded instructions is mandatory (not set up → offe.

Part of the mixpanel plugin — 12 skills, 23 commands shipped together

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mixpanel/ai-plugins
agentmods
npx agentmods add skills/mixpanel/ai-plugins/manage-feature-flags

Made for: Claude Code.

Or install mixpanel, the plugin that ships this one along with the rest of its 12 skills, 23 commands.

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 manage-feature-flags

README.md
[![agentmods](https://agentmods.dev/badge/skills/mixpanel/ai-plugins/manage-feature-flags.svg)](https://agentmods.dev/skills/mixpanel/ai-plugins/manage-feature-flags)
Your own site
<a href="https://agentmods.dev/skills/mixpanel/ai-plugins/manage-feature-flags"><img src="https://agentmods.dev/badge/skills/mixpanel/ai-plugins/manage-feature-flags.svg" alt="Measured on agentmods" height="20"></a>
Per session 225 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,052 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00225 $0.03052
Opus 5 $0.00112 $0.01526
Sonnet 5 $0.00045 $0.00610
Haiku 4.5 $0.00022 $0.00305

Measured 6d ago against content hash 700321b5d2e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

manage-feature-flags 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 6d 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.

plugins/mixpanel/skills/manage-feature-flags/SKILL.md · 158 lines

How it starts

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

Manage Feature Flags

Engine required — resolve an engine per ENGINE.md: one named in the conversation or loaded instructions is mandatory (not set up → offer /mixpanel:install for it); otherwise use the Mixpanel MCP server, or offer /mixpanel:install if it's unavailable.

Coach the user through Mixpanel feature-flag work end-to-end: routing the request to the right flag-shaped product, ramping safely, killing fast when something goes wrong, and cleaning up when iteration is done.

The single most important idea: a flag's on/off state and its rollout percentage are different levers. The on/off state is the kill switch (instant). The rollout percentage is the throttle (gradient). Most flag bugs come from confusing the two; use the right lever for each step.

Requirements

  • Access to Mixpanel (read, create, update, list, and archive feature flags).
  • For experiment-backed flags, the ability to create and update experiments — see references/experiment-linked-flags.md.

When to use this skill

Trigger when the user asks anything about creating, configuring, ramping, killing, archiving, debugging, or cleaning up Mixpanel feature flags. Common phrasings:

  • "Create a feature flag for <feature>"
  • "Roll this out to 10% of users"
  • "Kill the flag" / "turn it off"
  • "Why doesn't anyone see my flag?" / "I bumped the rollout but nothing changed"
  • "Why are there zero exposure events?"
  • "Should this be a feature flag or an experiment?"
  • "Archive all our stale flags" / "what's our flag debt?"
  • "Roll back to 0%" / "restore an archived flag"

Do not trigger for experiment design ("how should I size this A/B test?", "what's my MDE?"), launch, mid-flight monitoring, or results interpretation ("should we ship this experiment?", "what does this SRM failure mean?") — all of those belong to the manage-experiment skill.


Glossary

  • Feature Gate — an on/off toggle that serves one of two boolean variants per user. Kill switches, gradual rollouts, geo gates, internal-only enables. Control is the variant that means "feature off."
  • Dynamic Config — a flag that serves a payload (string or structured object) per user without measurement. Copy variations, theme keys, configuration objects.
  • Experiment — variant comparison with statistical machinery (primary metric, health checks, significance). Created via the experiment path; the backing flag is auto-created and linked.
  • Kill switch — disabling an enabled flag to serve control to everyone, instantly, without losing the rollout configuration. Reversible.
  • Ramp — bumping the rollout percentage upward through a staged cadence (typically 1% → 10% → 50% → 100%).
  • Sticky bucketing — a user assigned to a variant stays in that variant across sessions, keyed on a stable identity (by default distinct_id).
  • Exposure event — the analytics event the SDK emits when a flag is evaluated via a tracking entry point. Used to confirm the rollout is serving variants in the proportions you configured.
  • Archive — a terminal cleanup operation that hides the flag from default listings and stops SDK evaluation. Reversible via restore, but destructive on a live flag — archiving a flag that still has live traffic strips its rollout state.
  • Restore — the un-archive verb. A restored flag lands back in the disabled state, never directly enabled.
  • Experiment-linked flag — a flag whose lifecycle is owned by an experiment. Direct flag edits are accepted but get overwritten on the next experiment transition. Route changes through the experiment.

Read the full file on GitHub · 158 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 158 lines · 225 tokens per session scan A 700321b5d2e5

Subscribe to this mod's changes

manage-feature-flags is a skill published in the GitHub repository mixpanel/ai-plugins (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 225 tokens to every session and 3,052 once invoked, about $0.0011 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens