feature-flag-strategy

feature-flag-strategy is a skill for Claude Code, Codex from orlando-japan/claude-code-setting. It costs 37 tokens per session (1,010 once invoked), scanned A, original, MIT.

Guidance for using feature flags, which are switches that control whether users can see a piece of code.

In plain words
What is it for?
Planning release switches, kill switches, experiments, and permission-based features, then removing temporary flags.
Why use it?
It helps separate deploying code from releasing it, allowing gradual rollouts or quick shutoffs when a change causes problems.

Skill for Claude CodeCodex

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

Good fit Planning release switches, kill switches, experiments, and permission-based features, then removing temporary flags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orlando-japan/claude-code-setting/feature-flag-strategy
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 orlando-japan/claude-code-setting --skill feature-flag-strategy
Clone the repo
git clone --depth 1 https://github.com/orlando-japan/claude-code-setting

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-flag-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/orlando-japan/claude-code-setting/feature-flag-strategy/github.svg)](https://agentmods.dev/skills/orlando-japan/claude-code-setting/feature-flag-strategy)
Your own site
<a href="https://agentmods.dev/skills/orlando-japan/claude-code-setting/feature-flag-strategy"><img src="https://agentmods.dev/badge/skills/orlando-japan/claude-code-setting/feature-flag-strategy/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-flag-strategy

Your own site · 80×15
<a href="https://agentmods.dev/skills/orlando-japan/claude-code-setting/feature-flag-strategy"><img src="https://agentmods.dev/badge/skills/orlando-japan/claude-code-setting/feature-flag-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,010 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.00037 $0.01010
Opus 5 $0.00018 $0.00505
Sonnet 5 $0.00007 $0.00202
Haiku 4.5 $0.00004 $0.00101

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

Security

Grade A, and why

feature-flag-strategy 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 8d 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.

templates/extra/skills/feature-flag-strategy/SKILL.md · 98 lines

How it starts

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

Feature flag strategy

A feature flag is debt. Its purpose is to temporarily decouple "code ships" from "users see it." Like any debt, unpaid flags compound.

Reasons to flag

  1. Progressive rollout — ship to 1% → 10% → 50% → 100%, watch metrics between each step.
  2. Kill switch — the ability to turn off a feature in seconds if it breaks.
  3. Trunk-based development — merge unfinished work safely behind a flag.
  4. A/B experiment — separate code path for measured comparisons.

Not a reason:

  • "We might want to disable this someday." Flags are not futureproofing.
  • "Just in case." Add it when there's a concrete case.

Four types of flags

Type Lifetime Who reads it
Release flag Days to weeks (until 100%, then delete) No one after removal
Kill switch Forever (until the feature itself is removed) Ops during an incident
Experiment flag Duration of the A/B test Analytics pipeline
Permissioning flag Forever (this is how you gate beta features) Product & eng

Release flags have the highest rot rate and cause the most harm if left behind. Kill switches should be boring and stable.

Setup

  • Named clearly. checkout_v2_enabled, not flag_42.
  • Owned. Every flag has a human owner. No owner = delete.
  • Dated. Every release flag has a scheduled removal date at creation time.
  • Default-safe. If the flag provider fails, the default must be "off" for new features and "on" for kill switches of shipped features.
  • Scoped. User, tenant, percentage, environment — decide and document.

Rollout protocol

  1. Ship the code with the flag off. Nothing changes for users. Verify deploy didn't break anything.
  2. Turn on for internal users. Dogfood. Catch obvious bugs.
  3. 1% of production. Watch metrics: error rate, latency, conversion. Compare flagged vs unflagged.
  4. 10%, 50%, 100%. Each step, wait long enough to see a problem. Don't marathon.
  5. Remove the flag code. Schedule this in the same sprint you hit 100%. Don't drift.

Read the full file on GitHub · 98 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. 8d ago First seen · 98 lines · 37 tokens per session scan A d18264372b0b

Subscribe to this mod's changes

feature-flag-strategy is a skill published in the GitHub repository orlando-japan/claude-code-setting (2 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 1,010 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

feature-flags-architect

Use when adding, retiring, or auditing feature flags. Triggers on "add a flag", "ship behind a flag", "rollout plan", "kill switch", "stale flags", "flag debt", "LaunchDarkly", "GrowthBook", "Statsig", "Unleash", "Flipt", or any progressive-delivery question. Ships flag debt scanner, rollout planner, and kill-switch…

Morningstar202604/awesome-skillkit · 121 tokens

Feature Flag Testing

Testing feature flag implementations including flag evaluation, gradual rollout verification, fallback behavior, and flag cleanup detection.

PramodDutta/qaskills · 24 tokens

feature-flags

Feature flag strategies, rollout patterns, kill switches and flag lifecycle management.

camilooscargbaptista/cto-toolkit · 17 tokens

feature-flags-architect

Use when adding, retiring, or auditing feature flags. Triggers on "add a flag", "ship behind a flag", "rollout plan", "kill switch", "stale flags", "flag debt", "LaunchDarkly", "GrowthBook", "Statsig", "Unleash", "Flipt", or any progressive-delivery question. Ships flag debt scanner, rollout planner, and kill-switch…

csiddhant796-blip/claude-skills-collection · 121 tokens

edgeone-clawscan

The first security skill to install after setting up OpenClaw — powered by Tencent Zhuque Lab. Works like an antivirus for your AI environment: audits installed skills, scans skills before installation, and performs a full OpenClaw security health check to prevent data leaks and privacy risks. Backed by Tencent Zhuque…

Tencent/AI-Infra-Guard · 236 tokens

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens