Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

knowledge-health-checker知识健康检查员

Agent Skill

knowledge-health-checker 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,877

周安装

79

GitHub Stars

1

下载量

657
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:knowledge-health-checker(知识健康检查员)
来源仓库:https://github.com/xb19960921/knowledge-health-checker
安装命令:
openclaw skills install knowledge-health-checker
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install knowledge-health-checker

简介

知识健康检查员审核 Markdown 知识库的结构与内容质量,识别空占位符与低效注释。

  • 适合 Obsidian、Logseq 等笔记系统的维护者,用于提升知识库的可读性与可用性。
  • 支持批量扫描文件夹与导出文件,输出改进建议与清理清单。
  • 使用前应备份原文件,避免误删重要内容或破坏引用链接。
  • 该工具不修改文件内容,但建议在非高峰时段运行以减少干扰。

SKILL.md

name
knowledge-health-checker
description
Audit and improve Markdown knowledge-base health across Obsidian, Logseq, Notion exports, docs folders, and wiki repositories. Detect empty placeholder notes, broken wiki links, weak content density, orphan notes, graph fragmentation, stale files, and repair opportunities. Generate health scores, actionable reports, and safe fix plans. Use for knowledge base audit, wiki lint, broken link detection, Obsidian vault cleanup, markdown graph health, content quality review, and documentation garden maintenance.
version
1.1.0
last_updated
2026-04-25
changelog
ClawHub-ready Darwin optimization: public positioning, clearer workflow, safety boundaries, scoring rubric, output format, and test prompts.

Knowledge Health Checker

Knowledge Health Checker audits a Markdown-based knowledge base as a living system, not a folder full of files.

It detects whether the knowledge garden is:

  • connected or fragmented
  • dense or hollow
  • current or stale
  • navigable or full of dead links
  • safe to auto-fix or requiring human review

The goal is not only to find problems, but to produce a prioritized, safe, actionable health report.


When to Use

Use this skill for:

  • Obsidian vault cleanup
  • Logseq / Notion Markdown export review
  • documentation repository health checks
  • wiki linting before migration or publishing
  • broken link detection
  • empty placeholder / TODO note detection
  • orphan note and graph fragmentation analysis
  • content density and structure quality review
  • periodic knowledge-base maintenance

Do not use it for semantic fact-checking. This skill checks structure, links, density, freshness, and maintainability, not whether every claim is true.


Core Principle

A healthy knowledge base has four properties:

  1. Substance — notes contain enough content to be useful.
  2. Connectivity — important notes are linked into the graph.
  3. Navigability — links, headings, and structure help readers move through knowledge.
  4. Maintainability — stale, broken, duplicate, or low-value content is visible and repairable.

A knowledge base can be large and still unhealthy. Size is not health.


Default Workflow

Step 1: Confirm scope and safety

Before scanning, identify:

Target path:
Formats: markdown / wiki links / relative links
External URL check: yes/no
Generate fix script: yes/no
Auto-apply fixes: no by default
Exclude directories:
Estimated file count:

Safe default:

scan only → report only → generate fix plan → user reviews → user applies

Never delete, rename, rewrite, or auto-apply fixes without explicit confirmation.

Step 2: Build file and heading index

Index:

  • .md files
  • normalized filenames and aliases
  • headings / anchors
  • relative paths
  • wiki links such as [[note]] and [[note#heading]]
  • markdown links such as [text](path.md)

Exclude by default:

.git/
node_modules/
__pycache__/
.obsidian/
.trash/
dist/
build/

Step 3: Detect hollow or low-value notes

Flag likely hollow notes when they match one or more:

  • fewer than 200 characters
  • no heading
  • only TODO / placeholder text
  • image-heavy with very little explanation
  • template content not filled in
  • empty exported page from Notion/Logseq

Classify severity:

SeverityMeaningTypical action
P0Empty or pure placeholderdelete, archive, or fill immediately
P1Too thin to be usefulexpand with definition, context, examples
P2Usable but weakimprove structure or add links

Step 4: Detect broken links

Check:

  • wiki file links: [[filename]]
  • wiki heading links: [[filename#heading]]
  • local markdown links: [text](../path/file.md)
  • image/embed paths
  • optional external URLs, only with user confirmation because it can be slow/noisy

For each broken link, report:

source file
link text
target
link type
probable fix if a similar file exists

Step 5: Analyze content density and structure

Measure:

  • word/character count
  • heading depth and hierarchy
  • list/table/code-block usage
  • internal link count
  • external link count
  • last modified time
  • very long files that may need splitting
  • files with no inbound or outbound links

Suggested ranges:

SignalHealthy rangeWarning
Short note300+ words or intentionally atomic<200 characters
Long notestill navigable with headings>3000 words without structure
Internal linksat least 1-3 for durable noteszero links = possible orphan
Freshnessdepends on domainstale if >90 days and marked active

Step 6: Analyze knowledge graph health

Build a graph:

node = markdown file
edge = internal link

Report:

  • total nodes
  • total edges
  • orphan nodes
  • central nodes
  • weakly connected components
  • one-way links
  • fragmented topic clusters

A perfect graph is not required. The goal is to identify the highest-value repair points.

Step 7: Score health

Default scoring:

DimensionWeightGood state
Hollow note rate25%few or no empty placeholders
Broken link rate30%no broken internal links
Content density25%most notes have useful substance and structure
Network connectivity20%important notes are connected; few accidental orphans

Health score:

health = weighted score from 0 to 100

Use labels:

ScoreLabel
90-100Excellent
75-89Healthy
60-74Needs maintenance
40-59Fragile
0-39Critical

Step 8: Generate report and fix plan

Return a concise summary first. For large scans, provide a full report path.

Fix plans must be safe:

  • generate proposed changes
  • group by risk
  • include reason for each fix
  • require user review before applying destructive changes

Never silently delete or rewrite knowledge files.


Output Format

Use this format:

## Knowledge Health Summary
- Target:
- Files scanned:
- Health score:
- Label:
- Top risks:

## Findings
| Category | Count | Severity | Notes |
|---|---:|---|---|
| Hollow notes |  |  |  |
| Broken links |  |  |  |
| Orphan notes |  |  |  |
| Overlong notes |  |  |  |
| Stale active notes |  |  |  |

## Highest-Impact Fixes
1. P0:
2. P1:
3. P2:

## Safe Fix Plan
- Auto-safe fixes:
- Needs human review:
- Do not auto-apply:

## Artifacts
- Report:
- Fix script:
- Raw JSON:

For small knowledge bases, include concrete file examples. For large ones, include top 10 examples per category and write full details to a report file.


Safe Fix Policy

Classify fixes by risk:

RiskExamplesPermission
Lowgenerate report, list broken links, suggest linksno extra confirmation
Mediumcreate fix script, add missing backlinks in draft outputask before writing files
Highdelete notes, rename files, rewrite links globally, split filesexplicit confirmation required

Default behavior: report and propose, do not mutate.


Bundled Scripts

Use these when available:

  • scripts/health_check.py — core scanner for hollow files, broken links, density, and graph stats.
  • scripts/report_generator.py — HTML report generation.
  • scripts/auto_fix.py — fix-plan or repair-script generation.

Run scripts from the skill directory or pass absolute paths. If a script lacks CLI ergonomics, inspect it and adapt safely rather than guessing destructive behavior.


Example Commands

Basic scan:

python3 scripts/health_check.py /path/to/knowledge-base

Generate a report from scan results if supported:

python3 scripts/report_generator.py results.json --output health-report.html

Generate a fix plan, not auto-apply:

python3 scripts/auto_fix.py results.json --dry-run

If the bundled script does not support these exact flags, read the script first and use its actual interface.


Test Prompts

Use test-prompts.json for Darwin-style regression evaluation. Good test coverage should include:

  • small Markdown folder with broken links
  • Obsidian-style wiki links and missing headings
  • placeholder-heavy exported notes
  • a large graph with orphan clusters
  • request for safe fix plan without auto-apply

Anti-Patterns

Avoid:

  • equating more notes with better knowledge
  • deleting or rewriting files without confirmation
  • checking external URLs by default on large vaults
  • treating all orphan notes as bad; some are intentionally private/draft
  • creating huge reports with no prioritized next action
  • producing a repair script without explaining risk
  • ignoring non-English filenames and encodings

Quality Bar

A good knowledge health check must be:

  • safe: no destructive changes without confirmation
  • specific: names files and link targets
  • prioritized: P0/P1/P2, not a flat dump
  • actionable: includes exact repair suggestions
  • scalable: summarizes large vaults without flooding context
  • portable: works for Obsidian, Logseq, Notion exports, and plain Markdown

If the output only says “you have broken links” without showing where, why it matters, and what to do next, it failed.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.6%
按下载量换算523

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills