kb-lint SKILL.md skillA

kb-lint from sxhmilyoyo/sundayhao-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sxhmilyoyo/sundayhao-plugins/kb-lint@git:20260915.79ede97

Pins git:20260915.79ede97 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sxhmilyoyo/sundayhao-plugins
Path
second-brain/skills/kb-lint/SKILL.md
Versions recorded
3
Latest version
git:20260915.79ede97, committed Sep 15, 2026
First version recorded
Apr 6, 2026
Size
6,350 bytes
Repository stars
9
License
Apache-2.0

Health-check the knowledge bank for orphan documents, stale content, broken WikiLinks, index drift, and missing frontmatter. Generates a severity-graded report. Use this skill whenever the user mentions lint, health check, KB maintenance, stale docs, broken links, orphan pages, missing references, knowledge bank quality, or hasn't run a check in a while. Also trigger when the user asks "what's not cross-referenced?", "are there any dead links?", or expresses concern about KB quality.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Knowledge Bank Lint

Health-check the knowledge bank to detect quality issues that accumulate over time. Without periodic linting, orphan documents pile up, cross-references break, and stale content persists unchallenged.

**Knowledge Bank Location**: Read from `~/.claude/plugins/config/second-brain/config.json`.

---

## Invocation

- **Slash command**: `/second-brain:kb-lint`
- **Skill tool**: `Skill({ skill: "second-brain:kb-lint" })`
- **Natural language**: "Run a health check on the knowledge bank", "Find orphan docs in KB"

---

## Workflow

### Step 1: SCAN

Run lint checks in order. Each check produces findings with a severity level.

#### Check 1: Broken WikiLinks (severity: error)

Find WikiLinks that don't resolve to any file in the KB:

```bash
./scripts/lint_broken_links.sh "$KB_PATH"
```

Reuses WikiLink extraction from `knowledge-bank-lookup/scripts/wikilink-utils.sh` and resolution logic.

#### Check 2: Missing Frontmatter (severity: error)

Find documents missing required frontmatter fields (`title`, `type`, `created`):

```bash
./scripts/lint_frontmatter.sh "$KB_PATH"
```

Reuses frontmatter reading from `skills/common/obsidian_helpers.sh`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sxhmilyoyo/sundayhao-plugins/kb-lint@sha256:c0ca444b6da2d36e

The line at the top of this page pins the label git:20260915.79ede97, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_d2o2l7fdachqxzjo.svg)](https://markdownregistry.com/a/art_d2o2l7fdachqxzjo)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Apr 6, 2026 and Sep 15, 2026, about one every 81 days.

versioncommittedcommitsizeaudit
git:20260915.79ede97 latest2026-09-15 79ede97 6,350 BA view · diff
git:20260409.f64fa182026-04-09 f64fa18 5,306 BA view · diff
git:20260406.930f61d2026-04-06 930f61d 4,587 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6350 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sxhmilyoyo/sundayhao-plugins · 9 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_d2o2l7fdachqxzjo
GET https://markdownregistry.com/api/v1/resolve?ref=sxhmilyoyo/sundayhao-plugins/kb-lint
GET https://markdownregistry.com/api/v1/blob/c0ca444b6da2d36e25eb50ac9c6de6ab24a73e4ffb19e16e1a8b656f4bc552cd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from sxhmilyoyo/sundayhao-plugins

kb-ingest SKILL.md skill
sxhmilyoyo/sundayhao-plugins · second-brain/skills/kb-ingest/SKILL.md · Ingest external sources into the knowledge bank through interactive study or quick filing. Two modes — Quick (summarize…
git:20260409.03e7dcf · audit A · 9 stars
knowledge-bank-lookup SKILL.md skill
sxhmilyoyo/sundayhao-plugins · second-brain/skills/knowledge-bank-lookup/SKILL.md · Delegates knowledge bank lookups to Explore subagents with reflections-first strategy that learns from past mistakes…
git:20260406.930f61d · audit A · 9 stars
session-manager SKILL.md skill
sxhmilyoyo/sundayhao-plugins · second-brain/skills/session-manager/SKILL.md · Set the current session's name, project, tags, or summary on its session note. Use when the user names, tags, or…
git:20261104.a0ca985 · audit A · 9 stars
session-recap SKILL.md skill
sxhmilyoyo/sundayhao-plugins · second-brain/skills/session-recap/SKILL.md · Document Claude Code sessions by extracting knowledge into cross-referenced documentation. Triggers on "recap the…
git:20261104.a0ca985 · audit A · 9 stars
wdym SKILL.md skill
sxhmilyoyo/sundayhao-plugins · second-brain/skills/wdym/SKILL.md · Decode this session's agent output for the supervising user — prose conclusions, raw tool output (logs, diffs, stack…
git:20261019.b68ecfc · audit A · 9 stars

Every file in sxhmilyoyo/sundayhao-plugins

Other files named kb-lint

kb-lint SKILL.md skill
atman-33/workhub · plugins/workhub/skills/kb-lint/SKILL.md · Health check for the workhub vault knowledge base. Detects orphan documents, broken links, index drift, tag issues, and…
git:20260929.8af6e2e · audit A · 3 stars

Browse by kind, by grade A, or by owner.