# Kmg adr guide

> Kmg adr guide is an open-source agent skill for developer tools. Prompts the agent to capture architectural decisions as Architecture Decision Records. 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-adr-guide
- **Repository:** https://github.com/technomensch/knowledge-graph
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** kmg-adr-guide
- **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 watches for moments when a conversation turns into an architectural choice or a comparison between technical approaches, then steers the agent toward recording that choice as an Architecture Decision Record. It pulls out a title, context, decision, rationale and consequences from the discussion, along with a proposed status and category, and shows them to the user for confirmation before anything is written.

Before presenting the draft, the skill runs a recall query for similar past decisions so it can ask whether the new record supersedes an existing ADR. Once the user agrees, it hands the full payload to a separate create-adr-agent subagent, which handles the creation workflow. The skill also runs a project-wide search through the knowledge recall skill for other ADRs, skills, commands or docs touched by the decision, and it notes when an active plan may need review for cascade impact.

The skill is written for Claude Code and depends on the kmgraph plugin, including its recall skill and the create-adr-agent subagent. It uses a shell command to write a date-stamped flag file in /tmp after an ADR is saved.

## When your agent uses it

> Auto-surface ADR creation when user makes architectural decisions or chooses between technical approaches

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

## Features

- **Decision trigger detection:** Recognizes phrases and discussion patterns that signal an architectural choice or a comparison of approaches.
- **ADR draft extraction:** Pulls title, status, context, decision, rationale and consequences out of the conversation before asking the user anything.
- **Supersede check:** Runs a recall query for similar decisions and asks whether the new one replaces an existing ADR.
- **Subagent dispatch:** Passes the confirmed draft to a create-adr-agent subagent that generates the final record.
- **Project-wide cascade search:** Searches for other ADRs, skills, commands and docs that reference the affected concept.
- **Open questions section:** Adds an Open Questions section to each ADR for later review at session end.

## Good for

- Record the decision to adopt a new database after comparing options
- Document why the team is switching to a different framework
- Capture a redesign choice made during a planning discussion
- Check whether a new architecture decision supersedes an earlier ADR
- Find other docs and skills affected by a recent technical decision

## 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-adr-guide`:

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

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

### Codex

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

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

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/kmg-adr-guide` yourself.

### VS Code

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

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

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

## FAQ

### What does the skill need to run?

It depends on the kmgraph plugin, including its recall skill and the create-adr-agent subagent, and is written for Claude Code.

### Does Kmg adr guide write an ADR without asking?

No. It shows a pre-filled summary and only dispatches to the agent when the user agrees.

### When does Kmg adr guide trigger?

It triggers on phrases such as 'should we use', 'decision between', 'which approach' and similar architecture discussions.

### What does Kmg adr guide leave behind after creating an ADR?

It touches a date-stamped flag file in /tmp so kmg-execute-plan can detect that an ADR was captured.

### How do I install Kmg adr guide in Claude Code?

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

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 adr guide?

The closest alternatives to Kmg adr guide are Docs adr, Architecture decision records, Decision memory, Create architectural decision record and Decision backfill.

## Where this comes from

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

## Alternatives

- [Docs adr](https://ai-powered.com/skills/docs-adr): Docs adr is an open-source agent skill for developer tools.
- [Architecture decision records](https://ai-powered.com/skills/architecture-decision-records): Architecture decision records is an open-source agent skill for developer tools.
- [Decision memory](https://ai-powered.com/skills/decision-memory): Decision memory is an open-source agent skill for developer tools.
- [Create architectural decision record](https://ai-powered.com/skills/create-architectural-decision-record): Create architectural decision record is an open-source agent skill for developer tools.
- [Decision backfill](https://ai-powered.com/skills/decision-backfill): Decision backfill is an open-source agent skill for developer tools.
- [Documentation and adrs](https://ai-powered.com/skills/documentation-and-adrs): Documentation and adrs is an open-source agent skill for developer tools.
- [Decision writing](https://ai-powered.com/skills/decision-writing): Decision writing is an open-source agent skill for developer tools.
- [Decision log](https://ai-powered.com/skills/decision-log-berkcangumusisik): Decision log is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kmg-adr-guide
