feature-flag-completed

feature-flag-completed is a command for Claude Code from carloshpdoc/ios-workflow-claude. It costs 0 tokens per session (752 once invoked), scanned A, original, Apache-2.0.

A documentation command for recording the completion of feature-flag cleanup. A feature flag is a switch that turns a feature or code path on or off.

In plain words
What is it for?
Use it to read removed flags from a pull request, update the feature-flag status document, post to Slack, and optionally update Notion.
Why use it?
It keeps the project's removal status and related team updates aligned after a flag-removal pull request is merged.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the ios-workflow plugin — 22 commands, 3 agents shipped together

Good fit Use it to read removed flags from a pull request, update the feature-flag status document, post to Slack, and optionally update Notion.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/carloshpdoc/ios-workflow-claude/feature-flag-completed
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.

Clone the repo
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude

Made for: Claude Code.

Or install ios-workflow, the plugin that ships this one along with the rest of its 22 commands, 3 agents.

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-completed

README.md
[![agentmods](https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/feature-flag-completed.svg)](https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/feature-flag-completed)
Your own site
<a href="https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/feature-flag-completed"><img src="https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/feature-flag-completed.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 752 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.00000 $0.00752
Opus 5 $0.00000 $0.00376
Sonnet 5 $0.00000 $0.00150
Haiku 4.5 $0.00000 $0.00075

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

Security

Grade A, and why

feature-flag-completed 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.

plugins/ios-workflow/commands/feature-flag-completed.md · 101 lines

How it starts

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

Feature Flag Completion

Project context: Values in angle brackets below (e.g. <scheme>, <JIRA_KEY>, <flag-key-enum>) are resolved at runtime — detect them from the project (xcodebuild -list -json for the scheme, git/gh for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config.

Post-removal documentation for feature flag cleanup $ARGUMENTS.

This skill updates status.md, posts to Slack, and optionally updates Notion after a feature flag removal PR is merged.

Note: Run this skill AFTER updating docs/feature-flags/status.md with the removed flags.

Usage

/feature-flag-completed [pr_number]
  • pr_number - Optional PR number (defaults to current branch's PR)

Steps

1. Gather Information

Get PR details using gh pr view:

  • If PR number provided: gh pr view <pr_number> --json number,title,url,body
  • If no PR number: gh pr view --json number,title,url,body

Extract the list of removed flags from the PR body (look for "Flags removed" table or list).

2. Read Current Status

Read docs/feature-flags/status.md and extract:

  • Total removed count
  • Total flags count
  • Percentage
  • In-Progress count
  • Pending count

3. Post to Slack

Use mcp__slack__conversations_add_message to post to #flags-removal (ID: C0AST27EWTA):

:triangular_flag_on_post: Feature Flag Cleanup — Status Update
Progress: <removed> / <total> removed (<percentage>%)
In-Progress: <in_progress>
Pending: <pending>

Recently Removed:
- <flag_name_1> — #<pr_number> — <date>
- <flag_name_2> — #<pr_number> — <date>
...

:page_facing_up: Tracking: <notion-flags-tracker-url>

4. Update Notion (Optional)

If Notion MCP is available, for each removed flag:

  • Search for the flag in the Notion database
  • Update the page with:
    • Code removal date = today's date (YYYY-MM-DD)
    • Owner = git user name

5. Confirm to User

Output summary:

## Feature Flag Cleanup Complete

| Metric | Value |
|--------|-------|
| Flags removed | <count> |
| PR | #<pr_number> |
| Progress | <removed>/<total> (<percentage>%) |

### Flags Removed
- <flag_1>
- <flag_2>
...

### Actions
| Action | Status |
|--------|--------|
| status.md | Already updated |
| Slack posted | Message sent to #flags-removal |
| Notion | Updated / Not available |

Read the full file on GitHub · 101 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 · 101 lines · 0 tokens per session scan A f7dd165be4bd

Subscribe to this mod's changes

feature-flag-completed is a command published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 752 tokens. 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.