# Kmg plan gate

> Kmg plan gate is an open-source agent skill for developer tools. Pauses the agent for explicit user approval after planning and before pushing code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/technomensch/knowledge-graph/tree/main/skills/kmg-plan-gate
- **Repository:** https://github.com/technomensch/knowledge-graph
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** kmg-plan-gate
- **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 adds approval checkpoints around the superpowers planning and execution workflows. Once a plan file is saved, the agent reports where the plan lives and waits for the user to confirm before any implementation begins. Before it pushes a branch or opens a pull request, it presents the target and waits for a separate go-ahead.

The behavior is defined entirely in the SKILL.md text. When the gate triggers, the agent is told to output a fixed short message and then stop, without offering execution options, running git push or gh pr create, or asking about execution mode. It also references gate rules stored in a user-level rules file that cover new branches, actions visible to others, and confirmation after next-steps summaries.

It expects the superpowers skills to be installed and is intended for Claude Code, distributed through the knowledge-management-graph plugin marketplace. No scripts or extra files are included.

## When your agent uses it

> Enforce user approval gates after superpowers planning and execution skills complete

## 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-plan-gate)
- [License: MIT](https://github.com/technomensch/knowledge-graph/tree/HEAD/skills/kmg-plan-gate)

## Features

- **Plan save checkpoint:** Reports the saved plan location and waits for the user to say Proceed or Start.
- **Push and PR approval gate:** Halts before pushing or opening a pull request until the user explicitly confirms.
- **Silent execution suppression:** Stops the agent from offering execution modes or starting implementation unprompted.
- **Cross-skill applicability:** Applies the same approval rules to outputs from any planning or execution skill.
- **Rules-file alignment:** References user-level gate rules covering branches, visible actions and next-steps summaries.

## Good for

- Pause after writing an implementation plan until I approve it
- Stop before pushing my branch so I can review the changes first
- Make sure the agent does not open a pull request without my confirmation
- Hold off on starting implementation until I say to proceed

## 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-plan-gate`:

```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-plan-gate &&
cp -R "$tmp/skills/kmg-plan-gate" ~/.claude/skills/kmg-plan-gate &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/kmg-plan-gate` 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-plan-gate &&
cp -R "$tmp/skills/kmg-plan-gate" ~/.agents/skills/kmg-plan-gate &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/kmg-plan-gate` 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-plan-gate &&
cp -R "$tmp/skills/kmg-plan-gate" ~/.cursor/skills/kmg-plan-gate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/kmg-plan-gate` 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-plan-gate
```

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

### VS Code

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

```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-plan-gate &&
cp -R "$tmp/skills/kmg-plan-gate" ~/.copilot/skills/kmg-plan-gate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/kmg-plan-gate` 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-plan-gate` into your agent's skills folder as `kmg-plan-gate`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Kmg plan gate need to run?

Its instructions reference the superpowers planning and execution skills, so those need to be in use for the gates to trigger.

### Does Kmg plan gate run any scripts or change files?

No scripts are included. It only changes how the agent behaves at planning and push points by instructing it to stop and wait.

### When does the gate trigger?

After a plan file is written or saved, after superpowers planning or execution skills complete, and before a push, pull request or merge.

### Which tools does Kmg plan gate use?

No allowed tools are set in the skill's frontmatter.

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

Copy the skill folder from GitHub to ~/.claude/skills/kmg-plan-gate to use it in all your projects, or to .claude/skills/kmg-plan-gate 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 plan gate 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 plan gate?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Kmg plan gate?

The closest alternatives to Kmg plan gate are Kmg execute plan, Gap analysis, Bcc clean cut, Executing plans and Bcc plan spar.

## Where this comes from

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

## Alternatives

- [Kmg execute plan](https://ai-powered.com/skills/kmg-execute-plan): Kmg execute plan is an open-source agent skill for developer tools.
- [Gap analysis](https://ai-powered.com/skills/gap-analysis): Gap analysis 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.
- [Bcc plan spar](https://ai-powered.com/skills/bcc-plan-spar): Bcc plan spar is an open-source agent skill for developer tools.
- [Structured autonomy plan](https://ai-powered.com/skills/structured-autonomy-plan): Structured autonomy plan is an open-source agent skill for developer tools.
- [Safe execution edho ferdian](https://ai-powered.com/skills/safe-execution-edho-ferdian): Safe execution edho ferdian is an open-source agent skill for developer tools.
- [Spec driven dev](https://ai-powered.com/skills/spec-driven-dev): Spec driven dev is an open-source agent skill for developer tools.

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