# flags

> Claude/Codex skill by [@facebook](https://omgskills.com/library/facebook/index.md) · 248k stars · Updated 2026-08-28

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

Tags: declarative, frontend, javascript, library, react, ui

## Install

```sh
git clone https://github.com/react/react /tmp/react && ln -s /tmp/react/.claude/skills/flags ~/.claude/skills/flags
```

## From README

Feature Flags Arguments: $ARGUMENTS: Optional flags Options | Option | Purpose | |--------|---------| | (none) | Show all flags across all channels | | --diff | Compare flags between channels | | --cleanup | Show flags grouped by cleanup status | | --csv | Output in CSV format | Channels www, www-modern - Meta internal canary, next, experimental - OSS channels rn, rn-fb, rn-next - React Native Legend ✅ enabled, ❌ disabled, 🧪 VARIANT, 📊 profiling-only Instructions Run yarn flags $ARGUMENTS Explain the output to the user For --diff, highlight meaningful differences Common Mistakes Forgetting VARIANT flags - These are tested both ways in www; check both variants Comparing wrong channels - Use --diff to see exact differences

## Links

- HTML page: https://omgskills.com/skills/facebook/react/flags/
- GitHub: https://github.com/facebook/react
- Author: [@facebook](https://omgskills.com/library/facebook/index.md)

## More from this repo

- [extract-errors](https://omgskills.com/skills/facebook/react/extract-errors/index.md) — Used when adding new error messages to React, or seeing "unknown error code" warnings.
   - [@facebook](https://omgskills.com/library/facebook/index.md) · 250k stars
- [feature-flags](https://omgskills.com/skills/facebook/react/feature-flags/index.md) — Used when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test...
   - [@facebook](https://omgskills.com/library/facebook/index.md) · 248k stars
- [flow](https://omgskills.com/skills/facebook/react/flow/index.md) — Used when you need to run Flow type checking, or when seeing Flow type errors in React code.
   - [@facebook](https://omgskills.com/library/facebook/index.md) · 248k stars
