# Kmg paperwork audit

> Kmg paperwork audit is an open-source agent skill for developer tools. Checks issue status accuracy and session summary currency before pushing a branch. 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-paperwork-audit
- **Repository:** https://github.com/technomensch/knowledge-graph
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** kmg-paperwork-audit
- **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 runs a set of paperwork checks on a knowledge-graph repository before a push. It compares the status fields of changed issue and enhancement docs against the branch diff, flags resolved items with no visible supporting change and deferred items whose named files were touched, and checks whether the latest session summary matches the branch HEAD.

Beyond those diff-scoped checks, it scans every meta-issue for mismatches between attempt folders and implementation log headers, flags oversized entries in attempt indexes, verifies the CHANGELOG has a header for the current package version, and looks for document pairs that share a file but declare no relationship. Findings are advisory and nothing is edited automatically. A completion flag is written so the pre-push gate can confirm the audit ran.

The workflow relies on bash commands, git history, and the graph folder layout, and it can use the graph's MCP resolver when available. It is designed for the Claude Code plugin setup and is MIT licensed.

## When your agent uses it

> Fires on pre-ship signals to check issue/enhancement status accuracy and session-summary currency before push

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

## Features

- **Issue status verification:** Checks resolved and deferred issue or enhancement docs against the branch's file changes.
- **Session summary currency:** Flags session summaries that lag behind the branch's latest commit.
- **Meta-issue attempt consistency:** Compares attempt folders with headers in implementation logs across all meta-issues.
- **Changelog currency check:** Looks for a CHANGELOG header matching the current package version and recent unrecorded commits.
- **Undeclared relationship scan:** Finds document pairs sharing a file without a declared relationship in frontmatter.

## Good for

- Check that issue statuses match the work on this branch before pushing
- Confirm the session summary is up to date before opening a pull request
- Find meta-issue attempt folders that no longer match the implementation log
- See whether the changelog needs an entry for the version being released

## 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-paperwork-audit`:

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

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

### Codex

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

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

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/kmg-paperwork-audit` yourself.

### VS Code

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

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

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

## FAQ

### When does Kmg paperwork audit trigger?

It fires on pre-ship signals such as pushing to origin, opening a PR, saying work is finishing up, or an explicit request to run the paperwork audit.

### Does Kmg paperwork audit change any files?

No. It only reports findings for review. It writes a completion flag in /tmp to record that the audit ran.

### What does Kmg paperwork audit need to run?

It needs git with a main or master branch, and bash. The relationship scan uses the knowledge graph folder, resolved through the MCP tool or the repository's knowledge folder.

### Is Kmg paperwork audit licensed for reuse?

The repository is licensed under MIT.

### How do I install Kmg paperwork audit in Claude Code?

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

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 paperwork audit?

The closest alternatives to Kmg paperwork audit are Kmg docs impact scan, Check a stale branch is not undoing newer main work, Skill audit, Documentation audit and Repo cleanup loop.

## Where this comes from

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

## Alternatives

- [Kmg docs impact scan](https://ai-powered.com/skills/kmg-docs-impact-scan): Kmg docs impact scan is an open-source agent skill for developer tools.
- [Check a stale branch is not undoing newer main work](https://ai-powered.com/skills/check-a-stale-branch-is-not-undoing-newer-main-work): Check a stale branch is not undoing newer main work is an open-source agent skill for developer tools.
- [Skill audit](https://ai-powered.com/skills/skill-audit): Skill audit is an open-source agent skill for developer tools.
- [Documentation audit](https://ai-powered.com/skills/documentation-audit): Documentation audit is an open-source agent skill for developer tools.
- [Repo cleanup loop](https://ai-powered.com/skills/repo-cleanup-loop): Repo cleanup loop is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-kzytateishi): Code review is an open-source agent skill for developer tools.
- [System audit](https://ai-powered.com/skills/system-audit): System audit is an open-source agent skill for developer tools.
- [Config hygiene edho ferdian](https://ai-powered.com/skills/config-hygiene-edho-ferdian): Config hygiene edho ferdian is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kmg-paperwork-audit
