# Wiki lint

> Wiki lint is an open-source agent skill for knowledge and memory. Validates a research wiki's frontmatter, wikilinks, orphans and citekeys before drafting. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/leiverkus/research-superpowers/tree/main/skills/wiki-lint
- **Repository:** https://github.com/leiverkus/research-superpowers
- **GitHub stars:** 18
- **License:** MIT
- **Skill name:** wiki-lint
- **Collection:** https://github.com/leiverkus/research-superpowers
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill runs a linter over a research project's knowledge wiki and works through what it reports. Errors such as missing frontmatter fields, broken wikilinks and invalid page types are fixed inline, while warnings, orphaned pages and open review flags are reviewed with the user and resolved, deferred or ignored. It also covers the research chronology checks, bibliography and citekey consistency, and advisory checks on authority IDs and quotes against PDFs.

The main path calls the project's lint-wiki.py script, which is supplied by the research project template. When Python, PyYAML or the script is unavailable, the skill falls back to an inline frontmatter check that skips wikilink resolution and orphan detection, and says so in its output. Each run is logged in the project's knowledge log, and a soft gate asks for a written reason before moving on to drafting or finishing with errors remaining.

The skill expects a research project laid out with a knowledge directory and a scripts folder, and it can hand larger cleanups to a wiki-linter subagent.

## When your agent uses it

> Use to validate the knowledge wiki — frontmatter completeness, broken wikilinks, orphaned pages, status consistency. Wraps `scripts/lint-wiki.py` from the research project template. Required before drafting and before finishing.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/leiverkus/research-superpowers/tree/HEAD/skills/wiki-lint)
- [License: MIT](https://github.com/leiverkus/research-superpowers/tree/HEAD/skills/wiki-lint)

## Features

- **Frontmatter validation:** Checks required fields, allowed type, status and author values, and ISO dates on each wiki page.
- **Wikilink resolution:** Finds wikilinks that point to pages that do not exist and lists them for correction.
- **Orphan page detection:** Identifies pages with no incoming links so they can be linked in, deleted or marked as roots.
- **Research chronology checks:** Flags source relations that point in the wrong time order or cite superseded sources.
- **Citekey and bibliography checks:** Verifies citekey format, duplicate keys and that bibliography references resolve.
- **Python-free fallback:** Runs a frontmatter-only check when Python or the lint script is not available.

## Good for

- Check the research wiki for broken links before drafting a manuscript
- Find and fix pages with missing or invalid frontmatter fields
- Identify orphaned wiki pages and decide whether to link, delete or keep them
- Review open review flags and log the outcome of a lint run
- Confirm citekeys and bibliography entries resolve after a bulk source ingest

## Install

### Claude Code

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

```sh
/plugin marketplace add leiverkus/research-superpowers
/plugin install research-superpowers@leiverkus-research
```

Or copy only this skill to `~/.claude/skills/wiki-lint`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/leiverkus/research-superpowers.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/wiki-lint &&
cp -R "$tmp/skills/wiki-lint" ~/.claude/skills/wiki-lint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/wiki-lint` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/wiki-lint` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/leiverkus/research-superpowers.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/wiki-lint &&
cp -R "$tmp/skills/wiki-lint" ~/.agents/skills/wiki-lint &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/wiki-lint` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/wiki-lint` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/leiverkus/research-superpowers.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/wiki-lint &&
cp -R "$tmp/skills/wiki-lint" ~/.cursor/skills/wiki-lint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/wiki-lint` 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/leiverkus/research-superpowers.git --path skills/wiki-lint
```

Or copy the folder to `~/.gemini/skills/wiki-lint` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/leiverkus/research-superpowers.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/wiki-lint &&
cp -R "$tmp/skills/wiki-lint" ~/.copilot/skills/wiki-lint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/wiki-lint` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/leiverkus/research-superpowers.git
```

Then copy `research-superpowers/skills/wiki-lint` into your agent's skills folder as `wiki-lint`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Wiki lint need to run the full check?

It needs the project's scripts/lint-wiki.py from the research template, Python with PyYAML, and a shell. Without them it uses a frontmatter-only fallback that skips wikilinks and orphans.

### What does Wiki lint change in the project?

It can modify knowledge/**/*.md pages when fixing errors and appends a summary to knowledge/_meta/log.md. Overrides of the soft gate are written to knowledge/_meta/gate-overrides.log.

### When is Wiki lint meant to be used?

Before drafting a manuscript or finishing a research project, after batches of at least three new sources, when asked to check the wiki, and periodically on long-running projects.

### Does Wiki lint check quotes against PDFs?

That is a separate advisory step using scripts/check-quotes.py, which only runs where a shared PDF library is configured.

### How do I install Wiki lint in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/wiki-lint to use it in all your projects, or to .claude/skills/wiki-lint in one project. Or install the research-superpowers plugin, which includes it: /plugin marketplace add leiverkus/research-superpowers, then /plugin install research-superpowers@leiverkus-research.

### Does Wiki lint 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 Wiki lint?

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 Wiki lint?

The closest alternatives to Wiki lint are Kb lint, Semantic wiki review, LLM wiki, Wiki llms txt and Wiki graph.

## Where this comes from

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

## Alternatives

- [Kb lint](https://ai-powered.com/skills/kb-lint): Kb lint is an open-source agent skill for knowledge and memory.
- [Semantic wiki review](https://ai-powered.com/skills/semantic-wiki-review): Semantic wiki review is an open-source agent skill for knowledge and memory.
- [LLM wiki](https://ai-powered.com/skills/llm-wiki): LLM wiki is an open-source agent skill for knowledge and memory.
- [Wiki llms txt](https://ai-powered.com/skills/wiki-llms-txt): Wiki llms txt is an open-source agent skill for ai models and llm tooling.
- [Wiki graph](https://ai-powered.com/skills/wiki-graph): Wiki graph is an open-source agent skill for knowledge and memory.
- [Wiki briefing](https://ai-powered.com/skills/wiki-briefing): Wiki briefing is an open-source agent skill for knowledge and memory.
- [Wiki ingest](https://ai-powered.com/skills/wiki-ingest): Wiki ingest is an open-source agent skill for knowledge and memory.
- [Lit watch](https://ai-powered.com/skills/lit-watch): Lit watch is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/wiki-lint-leiverkus
