AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Kb Lint

skill-yinqd3-workbuddy-skills-kb-lint · by yinqd3

Run comprehensive health checks on the Obsidian knowledge base including broken wikilinks, orphan pages, stale status, concept page completeness, and status consistency. Trigger phrases: lint knowledge base, knowledge base health check, kb check, run lint, 知识库检查, 健康检查.

No reviews yet
0 installs
39 views
0.0% view→install

Install

$ agentstack add skill-yinqd3-workbuddy-skills-kb-lint

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-yinqd3-workbuddy-skills-kb-lint)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Kb Lint? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Knowledge Base Lint (kb-lint)

Run health checks on an Obsidian knowledge base using the lint_kb.py script. Configure your vault path in the script or pass it as an argument.

When to Use

  • User says "检查知识库", "跑一下 lint", "健康检查", "看看有没有断裂链接"
  • After any significant ingest session (adding multiple new papers/projects)
  • Before weekly or monthly maintenance
  • When troubleshooting [[wikilink]] issues

Available Script

/工具脚本/lint_kb.py — the comprehensive lint tool. Update VAULT_PATH in the script to point to your Obsidian vault.

Running Checks

> ⚠️ lint 报告仅输出到终端,不会写知识库文件。

Full check (all 5 categories)

cd "" && python "工具脚本/lint_kb.py"

Single category check

cd "" && python "工具脚本/lint_kb.py" --check broken-links
cd "" && python "工具脚本/lint_kb.py" --check orphans
cd "" && python "工具脚本/lint_kb.py" --check stale
cd "" && python "工具脚本/lint_kb.py" --check concept
cd "" && python "工具脚本/lint_kb.py" --check consistency

Verbose mode (show detailed progress)

cd "" && python "工具脚本/lint_kb.py" --verbose

Understanding Results

5 Check Categories

| Check | What it detects | Typical fixes | |-------|----------------|--------------| | Broken wikilinks | [[目标]] pointing to non-existent files | Fix filename in link, or create missing card | | Orphan pages | Pages with zero inbound [[wikilink]] | Add cross-references from related cards | | Stale status | Cards with old status (e.g., "投稿中" unmodified >90 days) | Update status field in frontmatter | | Concept completeness | Concept pages missing linked papers, or papers with matching tags not linked from concept page | Add related_papers to concept page frontmatter | | Status consistency | Projects past end_date still "进行中", students past graduation without update | Update status or date in frontmatter |

Common Fix Patterns

  1. Broken [[wikilink]]: The target uses [[../子目录/文件]] relative paths. Use Obsidian → Files & Links → Always update internal links: true to auto-heal on rename.
  1. Stale status: Check the paper/project status against 日志.md — if status changed per log but frontmatter wasn't updated, correct it.
  1. Concept page missing refs: Add the paper's [[wikilink]] to the concept page's related_papers frontmatter list.

Maintenance Workflow

Weekly (recommended): Run full lint after each scan_vault.py weekly scan. Post-ingest: Run lint after batch-adding 3+ new cards. Monthly deep-clean: Run full lint and fix all issues.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.