Skip to content
Skill

Kmg doc update router

Routes explicit doc-update requests to the right knowledge-graph update command

Kmg doc update router 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 doc update router

This skill catches requests to update a named document, the changelog, the ADR log, or the current session summary, and sends each one to the matching handler instead of letting the agent edit the file directly. The goal is to keep doc edits inside the update wizard so standards validation and changelog recording still happen.

Routing is checked in a fixed order: session summary requests go to the session summary handler, changelog requests go to the user-facing update handler for CHANGELOG.md, ADR requests go to ADR creation, and any named file is resolved and sent to the update handler. If the target is unclear, the agent asks which doc to update before dispatching. Requests such as updating code or tests are excluded, as are end-of-session signals, which belong to a separate wrap-up skill.

It expects the knowledge-graph documentation setup to be present in the project. The skill is written in platform-neutral terms, and its Claude Code command equivalents are offered for reference only.

When your agent uses it

Intercept explicit doc-update requests and route to the correct command

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 (3 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-doc-update-router:

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

For one project only, put the folder in .claude/skills/kmg-doc-update-router inside it instead.

Claude Code docs on skills

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

For one repository only, put the folder in .agents/skills/kmg-doc-update-router inside it instead.

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/kmg-doc-update-router 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-doc-update-router

Or copy the folder to ~/.gemini/skills/kmg-doc-update-router yourself.

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Explicit update intent detection
Recognizes phrases that ask to update a named doc, the changelog, an ADR or the session summary.
Ordered routing rules
Applies a fixed priority so session, changelog, ADR and file-based requests each reach the correct handler.
Ambiguity handling
Asks the user which document they mean when the target cannot be resolved from the request.
Exclusion of code and end-of-session requests
Leaves alone requests about code or tests and hands wrap-up signals to a separate skill.
Session wrap coexistence
Defines how it works alongside the session-wrap skill when both could apply to one message.

Good for

  • Update the quickstart guide through the documentation wizard
  • Refresh today's session summary in the project docs
  • Add a changelog entry for recent user-facing changes
  • Create a new architecture decision record
  • Ask which doc to update when a request is vague

Kmg doc update router FAQ

When does Kmg doc update router trigger?

It fires on explicit requests such as updating a named file, the changelog, the ADR, or the current session summary. Requests about code, tests or functions do not trigger it.

Does Kmg doc update router edit documents itself?

It routes the request to a dedicated handler or command so the update wizard and standards checks run, rather than editing the file directly.

What happens if both Kmg doc update router and session-wrap could apply?

The explicit update request is handled first by this skill, and session-wrap adds its end-of-session steps on top.

How do I install Kmg doc update router in Claude Code?

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

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 doc update router?

The closest alternatives to Kmg doc update router are Docs governance, Kmg sidebar update, Using knowledge patch, Go skills router and Doc consolidation.

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. 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