Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sxhmilyoyo/sundayhao-plugins --skill kb-lintgit clone --depth 1 https://github.com/sxhmilyoyo/sundayhao-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sxhmilyoyo/sundayhao-plugins/kb-lint)<a href="https://agentmods.dev/skills/sxhmilyoyo/sundayhao-plugins/kb-lint"><img src="https://agentmods.dev/badge/skills/sxhmilyoyo/sundayhao-plugins/kb-lint/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sxhmilyoyo/sundayhao-plugins/kb-lint"><img src="https://agentmods.dev/badge/skills/sxhmilyoyo/sundayhao-plugins/kb-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.01513 |
| Opus 5.5 | $0.00041 | $0.00605 |
| Sonnet 5.5 | $0.00021 | $0.00303 |
| Haiku 4.5 | $0.00010 | $0.00151 |
Grade A, and why
kb-lint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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:
./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):
./scripts/lint_frontmatter.sh "$KB_PATH"
Reuses frontmatter reading from skills/common/obsidian_helpers.sh.
Check 3: Orphan Documents (severity: warning)
Find documents with zero incoming WikiLinks (not referenced by any other document):
./scripts/lint_orphans.sh "$KB_PATH"
Builds a reverse-link index across the entire KB. Excludes structural files (_meta/, _index/, _sessions/).
Check 4: Index Drift (severity: warning)
Find documents that exist on disk but are missing from _meta/index.md:
./scripts/lint_index_drift.sh "$KB_PATH"
Compares filesystem against the generated index. Also detects entries in the index that no longer have backing files.
Check 5: Stale Documents (severity: info)
Find documents not modified in 90+ days:
./scripts/lint_stale.sh "$KB_PATH"
Uses file modification timestamps. Excludes _sessions/ and daily-log/ (inherently historical).
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +18 lines c0ca444b6da2
- 1mo ago First seen · 171 lines · 103 tokens per session scan A 657126e57d54
kb-lint is a skill published in the GitHub repository sxhmilyoyo/sundayhao-plugins (8 stars, last pushed 6d ago), licensed Apache-2.0. It adds 103 tokens to every session and 1,513 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
add-pdf-report
Internal implementation skill invoked by /add-native for app-generated PDF report workflows using expo-print and, when present, expo-sharing.
add-pdf-viewer
Internal implementation skill invoked by /add-native for native PDF control workflows. Handles HTTPS and file URI PDF viewing with @microsoft/power-apps-native-pdf-viewer 0.2.9+.
add-sharepoint
Adds SharePoint Online connector to a Power Apps code app. Use when reading lists, managing documents, or integrating with SharePoint sites. Can also create new SharePoint lists.
add-excel
Adds Excel Online (Business) connector to a Power Apps code app. Use when reading or writing Excel workbook data from OneDrive or SharePoint.
add-onedrive
Adds OneDrive for Business connector to a Power Apps code app. Use when uploading, downloading, listing, or managing files in OneDrive.
technical-documentation
Audit, write, and improve developer documentation using Google's Developer Documentation Style Guide and Technical Writing courses. Use this skill for any documentation work, even when the user names no style guide: "audit our docs", "review this README", "write a README", "getting started guide", "how-to or…