feature-flags-architect

feature-flags-architect is a skill for Claude Code from Morningstar202604/awesome-skillkit. It costs 121 tokens per session (2,496 once invoked), scanned A, original, Apache-2.0.

A workflow for managing feature flags, which are switches that turn software features on or off for selected users or environments. It covers adding, rolling out, reviewing, and retiring those switches.

In plain words
What is it for?
Use it to scan for neglected flags, plan a staged release, design a kill switch, compare flag providers, and decide whether a feature should use a flag.
Why use it?
It helps prevent old flags from leaving unused code paths, stale settings, and harder-to-test releases. It also provides structured plans for gradual rollouts and emergency shutoffs.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it to scan for neglected flags, plan a staged release, design a kill switch, compare flag providers, and decide whether a feature should use a flag.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/feature-flags-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill feature-flags-architect
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/feature-flags-architect/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/feature-flags-architect)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/feature-flags-architect"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/feature-flags-architect/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 feature-flags-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/feature-flags-architect"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/feature-flags-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,496 The whole file, excluding the scripts and references it only reads on demand.
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.00121 $0.02496
Opus 5 $0.00060 $0.01248
Sonnet 5 $0.00024 $0.00499
Haiku 4.5 $0.00012 $0.00250

Measured 9d ago against content hash f403072703a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

feature-flags-architect 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 9d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/flag_debt_scanner.py, scripts/kill_switch_audit.py, scripts/rollout_planner.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/programming/ai-engineering/feature-flags-architect/SKILL.md · 224 lines

How it starts

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

Feature Flags Architect

End-to-end discipline for feature flags: classify them, ship them, ramp them, and retire them. Most teams treat flags as throwaway if-statements; this skill treats them as a controlled lifecycle with measurable debt.

When to use

  • Adding a new flag and need a rollout plan
  • Auditing a codebase for stale or orphaned flags
  • Choosing a flag provider (LaunchDarkly vs GrowthBook vs Statsig vs Unleash vs Flipt vs build-your-own)
  • Designing a kill-switch path for a risky launch
  • Cleaning up flag debt before a release freeze
  • Reviewing whether a feature should ship behind a flag at all

Core principle: flags are a lifecycle, not an if

request → design → ship → ramp → cleanup → archive

Flags that skip cleanup become debt: dead branches, stale defaults, untested code paths, unbounded blast radius. The three scripts in this skill enforce the lifecycle.

Quick start

# 1. Audit the repo for flag debt
python scripts/flag_debt_scanner.py --repo . --max-age-days 90

# 2. Plan a progressive rollout for a new flag
python scripts/rollout_planner.py --population 100000 --target-percent 100 --duration-days 14 --strategy ring

# 3. Verify every flag has a documented kill switch
python scripts/kill_switch_audit.py --repo . --flag-doc docs/feature-flags.md

The 4 flag types (taxonomy)

Different flag types have different lifespans and ownership. Misclassifying creates debt.

Type Purpose Typical lifespan Owner Cleanup trigger
Release Hide unfinished features in production days–weeks Eng 100% rollout reached
Experiment A/B test variants weeks Product/Marketing Test concluded; winner picked
Operational Circuit breakers, perf toggles, kill switches months–years Eng/SRE Replaced by autoscaling/feature retirement
Permission Entitlements per user/account/plan years (permanent) Product Plan/role removed

Only Release and Experiment flags should be on a debt-scanner watchlist. Operational and Permission flags are by design long-lived. See references/flag_taxonomy.md for decision tree.

Read the full file on GitHub · 224 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. 9d ago First seen · 224 lines · 121 tokens per session scan A f403072703a5

Subscribe to this mod's changes

feature-flags-architect is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (1 stars, last pushed today), licensed Apache-2.0. It adds 121 tokens to every session and 2,496 once invoked, about $0.0006 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-31.