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.
mdr add sxhmilyoyo/sundayhao-plugins/kb-lint@git:20260915.79ede97Pins 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
mdr add sxhmilyoyo/sundayhao-plugins/kb-lint@sha256:c0ca444b6da2d36eThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260915.79ede97 latest | 2026-09-15 | 79ede97 | 6,350 B | A | view · diff |
| git:20260409.f64fa18 | 2026-04-09 | f64fa18 | 5,306 B | A | view · diff |
| git:20260406.930f61d | 2026-04-06 | 930f61d | 4,587 B | A | view |
Audit of the latest version
- 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
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
Every file in sxhmilyoyo/sundayhao-plugins