feature-flags-architect

feature-flags-architect is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 141 tokens per session (3,184 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 CodeCodex

Written for no agent in particular: nothing here depends on one.

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, Codex.

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 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,184 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.00141 $0.03184
Opus 5.5 $0.00056 $0.01274
Sonnet 5.5 $0.00028 $0.00637
Haiku 4.5 $0.00014 $0.00318

Measured 1mo ago against content hash 9d9f217a15fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

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

How it starts

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

Feature Flags Architect

The discipline of feature flags across their full lifecycle: classify, ship, ramp, retire. Most teams treat a flag as a throwaway if statement; this skill treats it as a controlled lifecycle with measurable debt.

Input Checklist

Input Required Description
Target repo path No --repo, defaults to the current directory .; used for code scanning and git introduction-time detection
Flag documentation path No For the kill-switch audit, --flag-doc, e.g. docs/feature-flags.md; if omitted, only a code-side scan is performed
Flag aging parameters No flag_debt_scanner's --max-age-days (default 90), --min-uses
Rollout parameters No rollout_planner's --population --target-percent --duration-days --strategy
Output format No --format text|json; CI uses json

When something is missing, ask for it all at once: "Please provide: (1) target repo path (default .); (2) flag documentation path (needed for the kill-switch audit, e.g. docs/feature-flags.md; skip if none); (3) population size / target percentage / duration (for rollout); (4) debt half-life --max-age-days (default 90). I'll use defaults for everything else; once confirmed, I'll start."

Pre-flight Checks

  • Python 3.8+ is available: python3 --version → prints a version number (e.g. Python 3.11.0). If command not found or the version is <3.8 → prompt to install, then STOP.
  • The three scripts are on disk: test -f scripts/flag_debt_scanner.py && test -f scripts/rollout_planner.py && test -f scripts/kill_switch_audit.py → all exist; if any is missing → STOP and report the specific filename.
  • git is available (used to locate when a flag was introduced): run git rev-parse --is-inside-work-tree inside --repo → outputs true. If it is not a git repo, the debt scanner's "introduction time" criterion degrades to file mtime, and the user must be told about this degradation.

Core Principle: a Flag Is a Lifecycle, Not an if

Read the full file on GitHub · 215 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 · -6 tokens per session 9d9f217a15fd
  2. 1mo ago Changed · -9 lines · +26 tokens per session 54f50aade3a0
  3. 1mo 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 (0 stars, last pushed 25d ago), licensed Apache-2.0. It adds 141 tokens to every session and 3,184 once invoked, about $0.0006 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-08-31.