Skip to content
Skill

Kmg execute plan

Enforces strict, zero-deviation execution of a written plan file in Gemini/Antigravity

Kmg execute plan is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Kmg execute plan

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (10 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Kmg execute plan 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.

More from technomensch/knowledge-graph

  1. Prompts the agent to capture architectural decisions as Architecture Decision Records

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Lets your agent search a knowledge graph for past decisions and solved problems

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  3. Makes the agent check a project's knowledge graph for prior decisions before recommending

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  4. Routes 'capture that' and 'remember that' requests to memory, lessons or ADRs

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  5. Routes explicit doc-update requests to the right knowledge-graph update command

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Finds docs affected by code changes before you push, PR or ship

    • Open source
    • 6 GitHub stars
    • Developer tools