# Kmg execute plan

> Kmg execute plan is an open-source agent skill for developer tools. Enforces strict, zero-deviation execution of a written plan file in Gemini/Antigravity. 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/technomensch/knowledge-graph/tree/main/skills/kmg-execute-plan
- **Repository:** https://github.com/technomensch/knowledge-graph
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** kmg-execute-plan
- **Collection:** https://github.com/technomensch/knowledge-graph
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill is a drift guardrail for executing a plan file step by step without improvisation. When triggered, it displays a strict execution banner and runs an eight-step protocol covering state initialization, literal quoting of each plan instruction, a file integrity audit after every edit, checkpoints every three edits, rollback on failed audits, and a completion check before a conventional commit.

The skill also gates implementation on prior bookkeeping. Before touching an enhancement or issue, it checks that a roadmap and changelog sync was done, and it looks for a flag written by an ADR tool to ask whether any plan tasks need revision after a new decision was captured. It is explicitly scoped to Gemini running in Antigravity; in other runtimes it stops and points to alternative execution skills instead.

The skill is a single SKILL.md with no scripts or bundled tools. It relies on the agent reading and editing the plan file and running shell commands for verification, and it expects a plan file in a knowledge/plans or plans folder.

## When your agent uses it

> Enforce zero-deviation plan execution when user invokes plan implementation

## What it can access

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

- [Instructions only, no scripts](https://github.com/technomensch/knowledge-graph/tree/HEAD/skills/kmg-execute-plan)
- [License: MIT](https://github.com/technomensch/knowledge-graph/tree/HEAD/skills/kmg-execute-plan)

## Features

- **Strict execution banner:** Displays a fixed banner stating allowed tools and forbidden actions before any plan work begins.
- **Literal instruction mapping:** Quotes each plan instruction before carrying it out to avoid assumptions.
- **Post-edit integrity audit:** Reads the file after each edit and reverts changes that the plan did not specify.
- **Checkpoints and halts:** Pauses after every three edits and halts on ambiguity or failed verification.
- **Pre-implementation prerequisite checks:** Verifies roadmap and changelog sync and checks for a recent architecture decision flag.
- **Platform scope guard:** Stops in non-Gemini sessions and points to other execution skills.

## Good for

- Execute a written implementation plan without the agent adding unrequested changes
- Pause a plan run to confirm ambiguous steps with me before editing files
- Verify each success criterion of a plan before marking it complete
- Commit finished plan work with a conventional commit referencing the issue

## Install

### Claude Code

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

```sh
/plugin marketplace add technomensch/knowledge-graph
/plugin install kmgraph@knowledge-management-graph
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kmg-execute-plan &&
cp -R "$tmp/skills/kmg-execute-plan" ~/.claude/skills/kmg-execute-plan &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kmg-execute-plan &&
cp -R "$tmp/skills/kmg-execute-plan" ~/.agents/skills/kmg-execute-plan &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kmg-execute-plan &&
cp -R "$tmp/skills/kmg-execute-plan" ~/.cursor/skills/kmg-execute-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/kmg-execute-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/technomensch/knowledge-graph.git --path skills/kmg-execute-plan
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kmg-execute-plan &&
cp -R "$tmp/skills/kmg-execute-plan" ~/.copilot/skills/kmg-execute-plan &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/technomensch/knowledge-graph.git
```

Then copy `knowledge-graph/skills/kmg-execute-plan` into your agent's skills folder as `kmg-execute-plan`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Kmg execute plan work in Claude Code?

No. The skill states it is scoped to Gemini running in Antigravity and, in other sessions, outputs a notice pointing to other execution skills instead of running the protocol.

### When does Kmg execute plan trigger?

It triggers on phrases such as execute plan, implement plan, start followed by a plan file, or any reference to a plan file under knowledge/plans or ~/.claude/plans.

### Does Kmg execute plan need scripts or extra tools?

No scripts are included. It uses file read, edit and write, plus shell commands for verification only.

### Can the agent fix bugs Kmg execute plan notices during a plan?

No. The skill forbids improvements and unplanned fixes, so issues outside the plan are left alone unless the plan includes them.

### How do I install Kmg execute plan in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kmg-execute-plan to use it in all your projects, or to .claude/skills/kmg-execute-plan in one project. Or install the kmgraph plugin, which includes it: /plugin marketplace add technomensch/knowledge-graph, then /plugin install kmgraph@knowledge-management-graph.

### Does Kmg execute 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 Kmg execute 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 Kmg execute plan?

The closest alternatives to Kmg execute plan are Kmg plan gate, Bcc clean cut, Executing plans, Structured autonomy implement and Bcc plan spar.

## Where this comes from

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

## Alternatives

- [Kmg plan gate](https://ai-powered.com/skills/kmg-plan-gate): Kmg plan gate is an open-source agent skill for developer tools.
- [Bcc clean cut](https://ai-powered.com/skills/bcc-clean-cut): Bcc clean cut is an open-source agent skill for developer tools.
- [Executing plans](https://ai-powered.com/skills/executing-plans): Executing plans is an open-source agent skill for developer tools.
- [Structured autonomy implement](https://ai-powered.com/skills/structured-autonomy-implement): Structured autonomy implement is an open-source agent skill for developer tools.
- [Bcc plan spar](https://ai-powered.com/skills/bcc-plan-spar): Bcc plan spar is an open-source agent skill for developer tools.
- [Create implementation plan](https://ai-powered.com/skills/create-implementation-plan): Create implementation plan is an open-source agent skill for developer tools.
- [Run plan](https://ai-powered.com/skills/run-plan): Run plan is an open-source agent skill for developer tools.
- [Bcc breaking coding chaos](https://ai-powered.com/skills/bcc-breaking-coding-chaos): Bcc breaking coding chaos is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kmg-execute-plan
