Skip to content
Skill

Kmg adr guide

Prompts the agent to capture architectural decisions as Architecture Decision Records

Kmg adr guide is an open-source agent skill for developer tools. It is available on Claude Code.

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

Similar skills

About Kmg adr guide

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

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 (5 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-adr-guide:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kmg-adr-guide 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kmg-adr-guide 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-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.

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

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

Gemini CLI docs on skills

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

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.

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-adr-guide into your agent's skills folder as kmg-adr-guide. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

Kmg adr guide 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.

More from technomensch/knowledge-graph

  1. Lets your agent search a knowledge graph for past decisions and solved problems

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

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

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

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

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Enforces strict, zero-deviation execution of a written plan file in Gemini/Antigravity

    • Open source
    • 6 GitHub stars
    • Developer tools