# launchdarkly-flag-cleanup

> Safely remove a feature flag from code while preserving production behavior.

Safely remove a feature flag from code while preserving production behavior. Use when the user wants to remove a flag from code, delete flag references, or create a PR that hardcodes the winning variation after a rollout is complete.

- Type: Skill
- Made by: launchdarkly
- Category: Developer tools
- Formats: Skills
- Version: 1.0.0-experimental
- Source: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup
- Page: https://pluginboard.ai/skills/launchdarkly-flag-cleanup

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the launchdarkly-flag-cleanup folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Claude

In Claude (web or desktop): Download the launchdarkly-flag-cleanup folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Gemini

In Gemini: Download the launchdarkly-flag-cleanup folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.copilot/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Cursor

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.cursor/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Claude Code

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.claude/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

Or all of LaunchDarkly, in Claude Code:

```text
/plugin marketplace add launchdarkly/ai-tooling
/plugin install launchdarkly@launchdarkly-ai-tooling
```

### Codex

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.agents/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Antigravity

In Antigravity: Copy the launchdarkly-flag-cleanup folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Gemini CLI

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.gemini/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Replit

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup .agents/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### OpenClaw

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.openclaw/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### OpenCode

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.config/opencode/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

### Hermes Agent

Run in your terminal:

```shell
npx -y degit launchdarkly/ai-tooling/skills/feature-flags/launchdarkly-flag-cleanup ~/.hermes/skills/launchdarkly-flag-cleanup
```

View the folder on GitHub: https://github.com/launchdarkly/ai-tooling/tree/HEAD/skills/feature-flags/launchdarkly-flag-cleanup

---
From Pluginboard (https://pluginboard.ai).
