# Decommission plan

> Decommission plan is an open-source agent skill for developer tools. Plans a safe system shutdown by proving no consumers remain, then staging the darkening. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/rpraharaj/forward-deployed-engineer/tree/main/fde-migration/skills/decommission-plan
- **Repository:** https://github.com/rpraharaj/forward-deployed-engineer
- **GitHub stars:** 20
- **License:** MIT
- **Skill name:** decommission-plan
- **Collection:** https://github.com/rpraharaj/forward-deployed-engineer
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides an agent through retiring a system without breaking anyone who still depends on it. Its main focus is consumer discovery: combining traffic logs, network connections, database sessions, code and config searches, issued credentials and a broad announcement, and observing across a full business cycle so that periodic jobs such as quarterly or annual extracts are not missed.

The workflow separates the states a system can be in, from read-only and dark through stopped, deprovisioned and deleted, and moves through them in stages with a wait at each. It also covers data retention and archive verification, instrumenting rejected access during the darkening period, and recording who was notified and who approved each stage. The output is a decommission runbook with discovery, retention, sequence and notification tables.

The skill expects a system map and ownership notes from earlier work in a workspace, and access to logs, monitoring and network data. It is written as a procedure in markdown and does not include scripts.

## When your agent uses it

> Turn a system off safely - proving there are no remaining consumers, which is much harder than it sounds, then data retention and archival obligations, a staged darkening sequence, and how long to keep the ability to reverse. Use when a system is being retired, after a migration leaves the old system idle, when someone asks whether something can be switched off, or when a service appears unused. Consumer discovery is the whole job; the switching off is trivial by comparison.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/rpraharaj/forward-deployed-engineer/tree/HEAD/fde-migration/skills/decommission-plan)
- [License: MIT](https://github.com/rpraharaj/forward-deployed-engineer/tree/HEAD/fde-migration/skills/decommission-plan)

## Features

- **Multi-method consumer discovery:** Combines logs, network, database sessions, code search, config, credentials and announcements to find remaining users.
- **Full business cycle observation:** Requires watching for at least one complete cycle so periodic jobs are not missed.
- **Staged darkening sequence:** Moves a system through read-only, dark and stopped states with waits, keeping each step reversible.
- **Data retention and archiving:** Establishes retention obligations and requires archives to be verified and queryable.
- **Darkening instrumentation:** Logs and alerts on rejected or attempted access so hidden consumers surface early.
- **Decision and notification record:** Keeps a record of who was notified, what they said and who approved each stage.

## Good for

- Plan the retirement of a legacy service after its replacement went live
- Check whether a server or API can be switched off without breaking anyone
- Verify that a rarely used internal service has no remaining consumers
- Prepare a staged shutdown with retention and archive steps
- Write a decommission runbook for an old system's audit scope reduction

## Install

### Claude Code

This skill ships in the `fde-migration` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add rpraharaj/forward-deployed-engineer
/plugin install fde-migration@fde-skills
```

Or copy only this skill to `~/.claude/skills/decommission-plan`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/decommission-plan &&
cp -R "$tmp/fde-migration/skills/decommission-plan" ~/.claude/skills/decommission-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/decommission-plan` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/decommission-plan` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/decommission-plan &&
cp -R "$tmp/fde-migration/skills/decommission-plan" ~/.agents/skills/decommission-plan &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/decommission-plan` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/decommission-plan` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/decommission-plan &&
cp -R "$tmp/fde-migration/skills/decommission-plan" ~/.cursor/skills/decommission-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/decommission-plan` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/rpraharaj/forward-deployed-engineer.git --path fde-migration/skills/decommission-plan
```

Or copy the folder to `~/.gemini/skills/decommission-plan` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/decommission-plan`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/decommission-plan &&
cp -R "$tmp/fde-migration/skills/decommission-plan" ~/.copilot/skills/decommission-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/decommission-plan` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git
```

Then copy `forward-deployed-engineer/fde-migration/skills/decommission-plan` into your agent's skills folder as `decommission-plan`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should I use Decommission plan?

When a system is being retired, after a migration leaves the old system idle, when someone asks whether something can be switched off, or when a service appears unused.

### What does Decommission plan need before running?

A system map and ownership notes in the workspace, plus access to logs, monitoring and network data covering at least a full business cycle.

### Does Decommission plan delete anything or turn systems off itself?

No. It produces a decommission runbook with a staged plan; the switching off is left to the team carrying out the plan.

### Does Decommission plan cover code removal?

No. The skill says deleting code rather than retiring a running system should use safe-change and git-archaeology instead.

### How do I install Decommission plan in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/decommission-plan to use it in all your projects, or to .claude/skills/decommission-plan in one project. Or install the fde-migration plugin, which includes it: /plugin marketplace add rpraharaj/forward-deployed-engineer, then /plugin install fde-migration@fde-skills.

### Does Decommission plan run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Decommission plan?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Decommission plan?

The closest alternatives to Decommission plan are Cutover plan, Devops rollout plan, Enterprise agent ops, Dependency upgrade and Deprecation.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Cutover plan](https://ai-powered.com/skills/cutover-plan): Cutover plan is an open-source agent skill for developer tools.
- [Devops rollout plan](https://ai-powered.com/skills/devops-rollout-plan): Devops rollout plan is an open-source agent skill for cloud and infrastructure.
- [Enterprise agent ops](https://ai-powered.com/skills/enterprise-agent-ops): Enterprise agent ops is an open-source agent skill for developer tools.
- [Dependency upgrade](https://ai-powered.com/skills/dependency-upgrade): Dependency upgrade is an open-source agent skill for developer tools.
- [Deprecation](https://ai-powered.com/skills/deprecation): Deprecation is an open-source agent skill for developer tools.
- [Disk cleanup](https://ai-powered.com/skills/disk-cleanup): Disk cleanup is an open-source agent skill for developer tools.
- [Vibe safe deploy](https://ai-powered.com/skills/vibe-safe-deploy): Vibe safe deploy is an open-source agent skill for cloud and infrastructure.
- [Blind rediscovery](https://ai-powered.com/skills/blind-rediscovery): Blind rediscovery is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/decommission-plan
