Agent skill

Knowledge Base Health Lint

by jason-effi-lab in jason-effi-lab/karpathy-llm-wiki-vault

Scans an Obsidian-style wiki for broken double-link references, orphan pages, files missing from the index and unresolved knowledge conflicts, then reports the findings.

No licenceAuto-check passedKnowledge Management

SKILL.md written in Chinese; this summary is our English description.

Install Knowledge Base Health Lint

skills CLI
$ npx skills add jason-effi-lab/karpathy-llm-wiki-vault --skill lint -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jason-effi-lab/karpathy-llm-wiki-vault lint --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jason-effi-lab/karpathy-llm-wiki-vault.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/lint .claude/skills/lint && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lint
GitHub stars
720
Token cost
~336 tokens
SKILL.md length
95 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Scans an Obsidian-style wiki for broken double-link references, orphan pages, files missing from the index and unresolved knowledge conflicts, then reports the findings.

  • Works in 4 steps: 读取 wiki/index.md 全部内容 → 扫描 wiki/ 下所有 .md 文件(排除 index.md 和 log.md) → 提取 index.md 中注册的所有双链链接 [[页面名称]] → …
  • Checking an Obsidian knowledge base for broken links and orphan pages
  • SKILL.md covers 核心目标, 触发条件, 知识库路径 and 巡检流水线, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Borrowing the idea of static code analysis for notes, the skill checks index consistency by comparing every double-bracket page link registered in wiki/index.md against the actual Markdown files under wiki/, flagging entries registered but missing and files present but unregistered. It then scans every file's own double-link references for links that point nowhere (dead links) and counts how many other pages reference each page, flagging pages that nothing links to as orphans.

A third pass searches every file for a Knowledge Conflict heading and lists each conflict's two sides, counting pages that still carry an unresolved one. An optional fourth step, checking a raw inbox folder, is skipped by this skill. The scan is read-only: no file is modified, deleted or renamed before the report is shown, fixes wait for the user's confirmation, and once applied a line is appended to wiki/log.md recording the date and number of issues fixed. The report follows a fixed Markdown format with green-light and flagged sections. The SKILL.md is written in Chinese.

When your agent uses it

  • Checking an Obsidian knowledge base for broken links and orphan pages
  • Finding notes missing from the wiki index
  • Reviewing which pages still carry an unresolved knowledge conflict

Example prompts

  • “/lint my wiki and show me what needs fixing.”
  • “Check my knowledge base health and list any dead links or orphan pages.”
  • “Scan wiki/ for pages missing from index.md.”

Requirements

  • A wiki/ folder with index.md and double-bracket links between pages

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 读取 wiki/index.md 全部内容
  2. 扫描 wiki/ 下所有 .md 文件(排除 index.md 和 log.md)
  3. 提取 index.md 中注册的所有双链链接 [[页面名称]]
  4. 比对:找出已注册但文件不存在的条目 OR 文件存在但未注册的页面

What it can do on your machine

Read from SKILL.md and the folder at commit 18f4e71. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Knowledge Base Health Lint loads about 336 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 95 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~336

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 95 words (~336 tokens).

name
lint
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/lint of jason-effi-lab/karpathy-llm-wiki-vault.

Open the folder on GitHubat commit 18f4e71

Compare with similar skills

Knowledge Base Health Lint next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Knowledge Base Health Lint compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Knowledge Base Health Lint this skilljason-effi-lab/karpathy-llm-wiki-vault720—~336Automated safety check: PassNone
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
LLM WikiCharlesHoskinson/sevenlayer116—~1.5kAutomated safety check: PassCustom licence
LLM Wikipraneybehl/llm-wiki-plugin118—~5.7kAutomated safety check: PassMIT
Kbcompozy/kb110—~4.2kAutomated safety check: PassMIT
Wiki AllPratiyush/llm-wiki397—~587Automated safety check: PassMIT

Similar skills

  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    CharlesHoskinson/sevenlayer

    Builds and maintains a persistent, interlinked Obsidian-compatible markdown knowledge wiki in a git repo via three operations — ingest a source into linked pages, answer a question from the…

    116 GitHub stars~1.5k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    praneybehl/llm-wiki-plugin

    Build and maintain an LLM-curated knowledge base from papers, articles, transcripts, notes and project findings.

    118 GitHub stars~5.7k tokensUpdated 27 days ago
    Knowledge ManagementAuto-check passed
  • Kb

    compozy/kb

    Operate the kb CLI to build and maintain topic-based Karpathy-style knowledge bases: gated ingestion, decision-model classification, linking, retrieval and review, wiki compilation, lint-and-heal…

    110 GitHub stars~4.2k tokensUpdated 14 days ago
    Knowledge ManagementAuto-check passed
  • Wiki All

    Pratiyush/llm-wiki

    Run the complete llmwiki pipeline from scratch — init, sync, graph, build, lint, and serve.

    397 GitHub stars~587 tokensUpdated 3 mo ago
    Knowledge ManagementAuto-check passed
  • Obsidian Wiki Linter

    AgriciDaniel/claude-obsidian

    Runs a deterministic, read-only health check on an Obsidian vault, reporting dead or ambiguous links, orphan pages, missing frontmatter, empty sections and stale index entries.

    15k GitHub stars~938 tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed

More from jason-effi-lab/karpathy-llm-wiki-vault

  • Obsidian Vault Ingest Pipeline

    jason-effi-lab/karpathy-llm-wiki-vault

    Compiles raw articles, papers and transcripts sitting in an inbox folder into linked Obsidian source, entity and concept pages, then archives the originals.

    720 GitHub stars~669 tokensUpdated 5 mo ago
    Auto-check passed
  • Wiki Vault Query

    jason-effi-lab/karpathy-llm-wiki-vault

    Answers questions from a local Obsidian-style wiki by reading its index first, then the relevant pages, and replying with wiki-link citations instead of model memory.

    720 GitHub stars~383 tokensUpdated 5 mo ago
    Auto-check passed

Works with

Questions about Knowledge Base Health Lint

What does Knowledge Base Health Lint do?

Scans an Obsidian-style wiki for broken double-link references, orphan pages, files missing from the index and unresolved knowledge conflicts, then reports the findings. md against the actual Markdown files under wiki/, flagging entries registered but missing and files present but unregistered. It then scans every file's own double-link references for links that point nowhere (dead links) and counts how many other pages reference each page, flagging pages that nothing links to as orphans.

When should I use Knowledge Base Health Lint?

Knowledge Base Health Lint fits situations like: checking an Obsidian knowledge base for broken links and orphan pages; finding notes missing from the wiki index; reviewing which pages still carry an unresolved knowledge conflict.

How do I install Knowledge Base Health Lint in Claude Code?

Run `npx skills add jason-effi-lab/karpathy-llm-wiki-vault --skill lint -a claude-code`. Or copy the skill folder (.claude/skills/lint in jason-effi-lab/karpathy-llm-wiki-vault) into .claude/skills/lint in your project. Claude Code loads it when a task matches its description.

How do I install Knowledge Base Health Lint in Codex?

Run `npx skills add jason-effi-lab/karpathy-llm-wiki-vault --skill lint -a codex`. Or copy the skill folder (.claude/skills/lint in jason-effi-lab/karpathy-llm-wiki-vault) into .agents/skills/lint in your project. Codex loads it when a task matches its description.

Can I use Knowledge Base Health Lint in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jason-effi-lab/karpathy-llm-wiki-vault --skill lint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lint, .gemini/skills/lint, .github/skills/lint and .opencode/skills/lint in your project.

What does Knowledge Base Health Lint need to run?

SKILL.md names no scripts, command-line tools or credentials: Knowledge Base Health Lint is instructions for the agent only. Our summary lists: A wiki/ folder with index.md and double-bracket links between pages.

Does Knowledge Base Health Lint access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Knowledge Base Health Lint safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Knowledge Base Health Lint use?

No licence was found for Knowledge Base Health Lint or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Knowledge Base Health Lint use?

About 336 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Knowledge Base Health Lint?

Skills that share tags, products or a category with Knowledge Base Health Lint: LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), LLM Wiki (CharlesHoskinson/sevenlayer, 116 stars), LLM Wiki (praneybehl/llm-wiki-plugin, 118 stars) and Kb (compozy/kb, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Knowledge Base Health Lint?

jason-effi-lab (a GitHub user) maintains it in jason-effi-lab/karpathy-llm-wiki-vault, which has 720 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on April 13, 2026.

Source: jason-effi-lab/karpathy-llm-wiki-vault on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.