Token导航 LogoToken导航

Agent Skill · 待分类

wiki-lint(维基皮棉)

wiki-lint 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wiki-lint 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 2,478。

总安装 1,567周安装 64GitHub Stars 3,827下载 507核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:wiki-lint(维基皮棉)
来源仓库:https://github.com/agricidaniel/claude-obsidian
仓库路径:skills/wiki-lint
安装命令:
npx skills add https://github.com/agricidaniel/claude-obsidian --skill wiki-lint
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/agricidaniel/claude-obsidian --skill wiki-lint

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

wiki-lint 定期检测知识库健康状态,识别孤儿页、死链与过时声明。建议每 10–15 次收录或每周执行一次全面检查。输出 lint 报告至 wiki/meta/lint-report-YYYY-MM-DD.md 供人工复核。修复前需征得用户同意,防止误删重要内容或错误修正。

wiki-lint 属于待分类类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/wiki-lint

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/agricidaniel/claude-obsidian --skill wiki-lint;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

wiki-lint 怎么安装?

在终端执行 npx skills add https://github.com/agricidaniel/claude-obsidian --skill wiki-lint。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

wiki-lint 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

wiki-lint 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

wiki-lint 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

wiki-lint 用的人多吗?

公开数据是累计安装 1,567 次,近一周安装 64 次,下载 507 次,GitHub 3,827 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

wiki-lint 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 3,827 星,维护活跃度相对可查。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
wiki-lint

维基皮棉 · 本页

1,5673,827只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

wiki-lint: Wiki Health Check

Run lint after every 10-15 ingests, or weekly. Ask before auto-fixing anything. Output a lint report to wiki/meta/lint-report-YYYY-MM-DD.md.


Lint Checks

Work through these in order:

  1. Orphan pages. Wiki pages with no inbound wikilinks. They exist but nothing points to them.
  2. Dead links. Wikilinks that reference a page that does not exist.
  3. Stale claims. Assertions on older pages that newer sources have contradicted or updated.
  4. Missing pages. Concepts or entities mentioned in multiple pages but lacking their own page.
  5. Missing cross-references. Entities mentioned in a page but not linked.
  6. Frontmatter gaps. Pages missing required fields (type, status, created, updated, tags).
  7. Empty sections. Headings with no content underneath.
  8. Stale index entries. Items in wiki/index.md pointing to renamed or deleted pages.
  9. Address validity (DragonScale Mechanism 2). For every page that has an address: frontmatter field, validate the format. See the Address Validation section below.
  10. Semantic tiling (DragonScale Mechanism 3, opt-in). Flag candidate duplicate pages (across all scanned types, not just concepts) via embedding cosine similarity. See the Semantic Tiling section below.

Lint Report Format

Create at wiki/meta/lint-report-YYYY-MM-DD.md:

---
type: meta
title: "Lint Report YYYY-MM-DD"
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [meta, lint]
status: developing
---

# Lint Report: YYYY-MM-DD

## Summary
- Pages scanned: N
- Issues found: N
- Auto-fixed: N
- Needs review: N

## Orphan Pages
- [[Page Name]]: no inbound links. Suggest: link from [[Related Page]] or delete.

## Dead Links
- [[Missing Page]]: referenced in [[Source Page]] but does not exist. Suggest: create stub or remove link.

## Missing Pages
- "concept name": mentioned in [[Page A]], [[Page B]], [[Page C]]. Suggest: create a concept page.

## Frontmatter Gaps
- [[Page Name]]: missing fields: status, tags

## Stale Claims
- [[Page Name]]: claim "X" may conflict with newer source [[Newer Source]].

## Cross-Reference Gaps
- [[Entity Name]] mentioned in [[Page A]] without a wikilink.

Naming Conventions

Enforce these during lint:

ElementConventionExample
FilenamesTitle Case with spacesMachine Learning.md
Folderslowercase with dasheswiki/data-models/
Tagslowercase, hierarchical#domain/architecture
Wikilinksmatch filename exactly[[Machine Learning]]

Filenames must be unique across the vault. Wikilinks work without paths only if filenames are unique.


Writing Style Check

During lint, flag pages that violate the style guide:

  • Not declarative present tense ("X basically does Y" instead of "X does Y")
  • Missing source citations where claims are made
  • Uncertainty not flagged with > [!gap]
  • Contradictions not flagged with > [!contradiction]

Dataview Dashboard

Create or update wiki/meta/dashboard.md with these queries:

---
type: meta
title: "Dashboard"
updated: YYYY-MM-DD
---
# Wiki Dashboard

## Recent Activity

TABLE type, status, updated FROM "wiki" SORT updated DESC LIMIT 15


## Seed Pages (Need Development)

LIST FROM "wiki" WHERE status = "seed" SORT updated ASC


## Entities Missing Sources

LIST FROM "wiki/entities" WHERE !sources OR length(sources) = 0


## Open Questions

LIST FROM "wiki/questions" WHERE answer_quality = "draft" SORT created DESC


Canvas Map

Create or update wiki/meta/overview.canvas for a visual domain map:

{
  "nodes": [
    {
      "id": "1",
      "type": "file",
      "file": "wiki/overview.md",
      "x": 0, "y": 0,
      "width": 300, "height": 140,
      "color": "1"
    }
  ],
  "edges": []
}

Add one node per domain page. Connect domains that have significant cross-references. Colors map to the CSS scheme: 1=blue, 2=purple, 3=yellow, 4=orange, 5=green, 6=red.


Address Validation (DragonScale Mechanism 2 MVP)

Opt-in feature. Address Validation runs only if the vault is using DragonScale, detected by:

if [ -x ./scripts/allocate-address.sh ] && [ -f ./.vault-meta/address-counter.txt ]; then
  DRAGONSCALE_ADDRESSES=1
else
  DRAGONSCALE_ADDRESSES=0
fi

When DRAGONSCALE_ADDRESSES=0, skip this entire section. Missing address: fields are not flagged, not even informationally. Pages that happen to have an address: field are passed through unvalidated (treat as user-managed metadata).

When DRAGONSCALE_ADDRESSES=1, proceed with the rollout baseline and checks below.

Rollout baseline: 2026-04-23 (Phase 2 ship date in vaults that adopted DragonScale on that day). Vaults that adopted DragonScale later should override this baseline by setting the earliest created: date of any addressed page as their personal rollout date. Record the chosen baseline at the top of .vault-meta/legacy-pages.txt as a commented line: # rollout: YYYY-MM-DD.

Classification rule (applied per page)

Before validating anything, classify the page:

ClassificationCriteria
Meta / fold / excludedFile is in wiki/folds/ OR filename in {_index.md, index.md, log.md, hot.md, overview.md, dashboard.md, dashboard.base, Wiki Map.md, getting-started.md}. Address not required.
Post-rollout (must have address)type is not meta/fold AND frontmatter created: date is >= 2026-04-23 AND file path is NOT in the legacy baseline manifest.
Legacy (backfill-eligible)type is not meta/fold AND frontmatter created: date is < 2026-04-23 OR file path IS in the legacy baseline manifest. Address not required until backfill.

Legacy baseline manifest: optional file at .vault-meta/legacy-pages.txt, one relative path per line. Pages listed there are treated as legacy regardless of created: date. Use this to grandfather pages whose created: metadata is wrong or missing.

Validation checks (run in order)

  1. Format check: any page with address: set must match one of:

- ^c-[0-9]{6}$ — post-rollout creation address. - ^l-[0-9]{6}$ — legacy-backfill address. - Pages under wiki/folds/ use fold_id, not address; do not apply the c-/l- regex there.

  1. Uniqueness check: no two pages share the same address value. Report both paths.
  2. Counter consistency: ./scripts/allocate-address.sh --peek returns the next counter value. Every observed c-NNNNNN must satisfy NNNNNN < peek_value. Violation = counter drift.
  3. Post-rollout enforcement: every page classified as "post-rollout (must have address)" that LACKS the address: field is a lint error, not informational. This prevents the silent-regression path where a new page skips address assignment.
  4. Legacy identification: every page classified as "legacy" that LACKS an address is informational. The lint report lists them under "Pending backfill" with total count.
  5. Address-map consistency (.raw/.manifest.json): for every page path in address_map, the page must exist and its frontmatter address must match the mapping. Mismatches are errors (either a rename dropped the map update, or a manual edit diverged).

Lint posture summary

  • Pages that HAVE an address with bad format: error.
  • Pages that HAVE colliding addresses: error.
  • Pages classified post-rollout WITHOUT an address: error.
  • Pages classified legacy WITHOUT an address: informational (expected).
  • Meta and fold pages without address: ignored (not applicable).
  • Counter drift (observed counter >= peek): error.
  • Address-map mismatch: error.

Lint only observes. Do NOT auto-assign missing addresses during lint. Assignment is wiki-ingest's responsibility only.

Output section in the lint report

## Address Validation

- Counter state: `$(./scripts/allocate-address.sh --peek)`
- Highest c- address observed: c-XXXXXX
- Post-rollout pages checked: N (X passing, Y errors)
- Legacy pages pending backfill: M

### Errors
- [[Page Name]]: invalid address format `{value}`. Expected `c-NNNNNN` or `l-NNNNNN`.
- [[Page A]] and [[Page B]] share address `c-000042`.
- [[Post-Rollout Page]]: missing address. Page created 2026-04-25 (post-rollout); address required. Run wiki-ingest or manually run `./scripts/allocate-address.sh` and add to frontmatter.
- [[Page Name]] has address `c-000100` but counter peek is `50`. Counter drift; run `./scripts/allocate-address.sh --rebuild`.
- `.raw/.manifest.json` maps `wiki/foo.md` -> `c-000010` but page frontmatter has `c-000012`. Resolve mismatch.

### Pending backfill (informational)
- M legacy pages without addresses. See `.vault-meta/legacy-pages.txt` for the canonical legacy set, or filter by `created:` < 2026-04-23.

Semantic Tiling (DragonScale Mechanism 3 MVP, opt-in)

Opt-in feature. Semantic tiling flags candidate duplicate *pages* (not just concept pages — see Scope below) using embedding cosine similarity. Local ollama only by default; remote endpoints require an explicit override flag.

Detection and delegation

if [ -x ./scripts/tiling-check.py ] && command -v python3 >/dev/null 2>&1; then
  ./scripts/tiling-check.py --peek > /tmp/tiling-peek.json 2>/dev/null
  PEEK_EXIT=$?
  case $PEEK_EXIT in
    0)  TILING_READY=1 ;;                                  # ready
    2)  TILING_READY=0 ; echo "tiling ERROR: usage error (exit 2); inspect /tmp/tiling-peek.json" ;;
    3)  TILING_READY=0 ; echo "tiling ERROR: cache corrupt (exit 3); inspect .vault-meta/tiling-cache.json" ;;
    4)  TILING_READY=0 ; echo "tiling ERROR: vault exceeds scale hard-fail (exit 4); batching required" ;;
    10) TILING_READY=0 ; echo "tiling skipped: ollama not reachable (exit 10)" ;;
    11) TILING_READY=0 ; echo "tiling skipped: run 'ollama pull nomic-embed-text' to enable (exit 11)" ;;
    *)  TILING_READY=0 ; echo "tiling ERROR: unexpected exit code $PEEK_EXIT from tiling-check.py --peek" ;;
  esac
else
  TILING_READY=0
  echo "tiling skipped: scripts/tiling-check.py or python3 not available"
fi

Inspect /tmp/tiling-peek.json (structured diagnostics: script path, python interpreter, ollama URL, cache state, thresholds state) whenever the status is ambiguous. Never collapse unknown exits into "unknown status" silently.

When TILING_READY=1:

./scripts/tiling-check.py --report wiki/meta/tiling-report-YYYY-MM-DD.md
REPORT_EXIT=$?
case $REPORT_EXIT in
  0)  echo "tiling report written" ;;
  2)  echo "tiling ERROR: usage error during --report" ;;
  3)  echo "tiling ERROR: cache corrupt during --report" ;;
  4)  echo "tiling ERROR: scale hard-fail during --report" ;;
  10) echo "tiling ERROR: ollama became unreachable between --peek and --report" ;;
  11) echo "tiling ERROR: model became unavailable between --peek and --report" ;;
  *)  echo "tiling ERROR: unexpected exit code $REPORT_EXIT from tiling-check.py --report" ;;
esac

Scope (what the helper scans)

  • Includes: every .md under wiki/ except the exclusion set below. The scope is "candidate tileable pages," not just type: concept.
  • Excludes (path): anything under wiki/folds/ or wiki/meta/.
  • Excludes (filename): _index.md, index.md, log.md, hot.md, overview.md, dashboard.md, Wiki Map.md, getting-started.md.
  • Excludes (frontmatter): type: meta or type: fold.
  • Excludes (security): symlinks. Any page file that is a symlink, or whose resolved path escapes the vault root, is skipped.

If you place a real concept under wiki/meta/ it will be excluded by path regardless of content. Keep concepts in their canonical folders.

How the helper works

  • Computes one embedding per included page via the ollama nomic-embed-text model by default.
  • Caches embeddings at .vault-meta/tiling-cache.json, keyed on sha256(model + body) so model drift auto-invalidates. Frontmatter is not part of the hash or the embedding input — pure frontmatter edits (tag changes, status bumps) do not trigger recomputation.
  • Orphans are GC'd: when a cached page path no longer exists on disk, its entry is dropped on save.
  • Concurrent-safe: exclusive flock on .vault-meta/.tiling.lock around cache I/O; per-PID temp file for atomic writes.

Security posture

  • Defaults to http://127.0.0.1:11434. OLLAMA_URL env override is accepted only with --allow-remote-ollama because page bodies are POSTed as embedding input.
  • Symlinks and vault-root escapes are rejected.

Default bands (conservative seeds, NOT calibrated)

BandSimilarityReport section
Error>= 0.90Errors — strong near-duplicate, likely the same concept
Review0.80 - 0.90Review — possible tile overlap; human judgement needed
Pass< 0.80not emitted

These values are conservative seeds, not literature-backed interpolation. Published reference points: Sentence Transformers community_detection defaults to 0.75; Quora-duplicate calibrations land around 0.7715-0.8352 depending on objective. The 0.80 review floor is already stricter than at least one cited Quora optimum, so expect false negatives against those baselines. Reduce the review floor during calibration if you want more sensitivity.

Calibration procedure (manual, one-time per vault)

  1. Run the helper with defaults. Capture the Review band pairs.
  2. Temporarily lower bands.review to 0.70 in .vault-meta/tiling-thresholds.json to surface a wider sample. Aim for >=50 pairs spanning 0.70-0.95.
  3. Label each pair: duplicate, similar, distinct.
  4. Pick bands such that: (a) the error band contains >= 95% true duplicates; (b) the review band captures similar pairs without swamping the report with distinct ones.
  5. Edit .vault-meta/tiling-thresholds.json: set new bands.error and bands.review, set calibrated: true, set calibration_pairs_labeled to the label count.
  6. Re-run lint. Report footer now says calibrated: true.

Scale

  • Cold-cache cost is O(N) POSTs to ollama. Warm-cache cost is O(N^2) cosines in pure Python.
  • Helper prints a warning at > 500 pages and hard-fails (exit 4) at > 5000. Revisit the implementation (batching, vectorized cosine, or external tooling) before exceeding either limit.

Lint report embed

## Semantic Tiling
See [[tiling-report-YYYY-MM-DD]] for the full pair listing.
- Errors (>=0.90): N pairs
- Review (0.80-0.90): M pairs
- Calibrated: true|false

Invariants

  • Read-only. tiling-check.py never modifies wiki pages.
  • No auto-merge. Duplicates are listed, never resolved.
  • Cache is incremental and model-scoped. Unchanged pages are not re-embedded.
  • Exit codes: 0 ok, 2 usage error, 3 cache corrupt, 4 scale hard-fail, 10 ollama unreachable, 11 model missing. Surface all of them; do not collapse into a single "unknown" bucket.

Before Auto-Fixing

Always show the lint report first. Ask: "Should I fix these automatically, or do you want to review each one?"

Safe to auto-fix:

  • Adding missing frontmatter fields with placeholder values
  • Creating stub pages for missing entities
  • Adding wikilinks for unlinked mentions

Needs review before fixing:

  • Deleting orphan pages (they might be intentionally isolated)
  • Resolving contradictions (requires human judgment)
  • Merging duplicate pages

平台分布

Codex

36.74%
按下载量换算186

Claude

32.83%
按下载量换算166

Cursor

17.43%
按下载量换算88

Gemini CLI

9.53%
按下载量换算48

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills