Obsidian Wiki Lint Triage 标志

Obsidian Wiki Lint Triage

社区
xiaohei-info
obsidian-wiki-lint-triage

检查现有 `_wiki/` 整理知识层的健康状况,找出优先修复项,并评估待处理候选内容。可在搭建初始 Wiki 框架后使用,也可在维护期间定期使用。

Add to TypingMind

概览

发布者xiaohei-info
代码仓库oh-my-agent-skills
技能名称obsidian-wiki-lint-triage
星标数
30
复刻数
2
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 xiaohei-info 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Obsidian Wiki Lint Triage AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/xiaohei-info/oh-my-agent-skills/tree/main/skills/knowledge-compilation/obsidian-wiki-lint-triage
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xiaohei-info/oh-my-agent-skills.git /tmp/oh-my-agent-skills
mkdir -p .claude/skills
cp -r /tmp/oh-my-agent-skills/skills/knowledge-compilation/obsidian-wiki-lint-triage .claude/skills/obsidian-wiki-lint-triage
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Obsidian Wiki Lint Triage,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Obsidian Wiki Lint Triage。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Obsidian Wiki Lint Triage 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Obsidian Wiki Lint Triage

Overview

Use this skill when _wiki/ exists and Hermes should review its structural health, surface problems, and propose fixes in priority order.

This is an execution skill, not a methodology skill. It assumes a Karpathy-style wiki is already in place:

  • Inbox/ = source space
  • _wiki/ = compiled knowledge

Core principle: lint for knowledge health, not typo/formatting.

Default Mode: Audit-Only

Default lint behavior is audit-only.

Read scope:

  • all of _wiki/
  • relevant source candidates anywhere under Inbox/, including Inbox/hermes/default/

Default write scope:

  • none

Unless the user explicitly asks for repairs or persistent audit logging, do not modify _wiki/ pages, do not rewrite _wiki/index.md, and do not append/prepend to _wiki/log.md.

Lint should surface findings and recommended repairs first. Repair is a separate follow-up step.

When to Use

Use when:

  • the user asks to lint or check _wiki/
  • _wiki/ has grown and may have duplicates, orphans, stale pages, or navigation gaps
  • Hermes should surface backlog items stuck in Inbox/ that now deserve compilation
  • the user wants a structured triage report rather than a laundry list

Do not use when:

  • the task is to explain the Karpathy workflow itself; use karpathy-llm-wiki-obsidian
  • the task is to ingest one specific note; use obsidian-inbox-to-wiki-ingest
  • _wiki/ has not yet been scaffolded

Preflight

Before judging health:

  1. confirm the vault path
  2. if a vault-root AGENTS.md exists, read it for local mappings and writeback conventions
  3. if _wiki/hot.md exists, read it first for recent context
  4. inspect the live _wiki/ structure and key pages
  5. determine whether a legacy Wiki/ tree is also present

What Lint Checks

Lint should answer seven structural questions:

  1. Is _wiki/ still navigable?
  2. Are there duplicate or synonym pages?
  3. Are there orphan or weakly linked pages?
  4. Are any pages outdated or contradicted by newer sources?
  5. Are there missing high-value pages that should exist?
  6. Is important Inbox/ content still stuck uncompiled?
  7. Is the vault in a split-root state where both _wiki/ and a populated legacy Wiki/ tree coexist?

Valid Extensions and Carrier Artifacts

Do not mistake a richer carrier-specific layout for structural drift. By default, treat these as valid _wiki/ extensions when they are actively used by the local workflow:

  • hot.md for short-lived recent-context cache
  • domains/ for top-level topic entry pages
  • meta/ for dashboards, manifests, lint reports, or other maintenance artifacts
  • optional canvases/ or folds/ when the local workflow explicitly creates them

Also distinguish compiled wiki content from vault-root workflow/runtime folders such as .agents/, .codex/, and .vault-meta/. Those folders may define local carrier behavior, but they are not themselves _wiki/ health targets unless their conventions directly affect navigation, provenance, or writeback inside _wiki/.

Navigation Checks

Inspect:

  • _wiki/index.md reflects the real current structure
  • important pages have clear entries in the index
  • overview.md still matches the intended scope
  • recent high-value pages are findable via index or nearby links
  • when present as first-class local conventions, hot.md, domains/, and key meta/ pages are consistent with the compiled layer's real current state

If navigation is broken, report it as a P1 issue. Only fix _wiki/index.md during lint when the user explicitly requests writeback.

Duplicate and Synonym Handling

Detect:

  • pages with the same object under different filenames
  • naming variants that represent the same concept/entity
  • repeated summaries across sources/ that could be merged

Actions:

  • recommend one canonical page
  • recommend merge targets instead of proliferating pages
  • do not merge synonym pages during audit-only lint unless the user explicitly requests repairs

Orphan and Link Health

Detect:

  • pages in _wiki/ with no incoming links
  • pages referenced only from obscure corners
  • concepts/entities that should appear in sources/ pages but do not

Actions:

  • recommend link additions before any deletion
  • recommend downgrade or merge only if the page truly lacks future value
  • do not delete, merge, or downgrade pages during audit-only lint unless the user explicitly requests repairs

Outdated or Contradicted Content

Detect:

  • core topic pages contradicted by newer sources/
  • stale thesis pages in syntheses/ that no longer reflect current understanding
  • unanswered or stale questions/ that newer sources may resolve

Actions:

  • identify pages contradicted by newer evidence
  • recommend exact updates for materially wrong core pages
  • do not silently rewrite pages during audit-only lint unless the user explicitly requests repairs

Missing High-Value Pages

Detect:

  • concepts/entities that recur across multiple sources/ but have no dedicated page
  • questions that are repeatedly asked across sources but not yet compiled into questions/
  • comparison opportunities that would clarify a decision

Gate: do not create pages merely for neatness. Create only when the missing page is:

  • recurring
  • reusable
  • likely to save future work

Inbox Backlog Candidates

Detect:

  • raw notes in Inbox/ that now justify compilation because they:
    • relate to an established wiki topic
    • add evidence to an existing question or synthesis
    • introduce a stable recurring concept/entity
    • would clarify an important distinction

Actions:

  • list backlog candidates in the lint report
  • recommend which items to ingest next using obsidian-inbox-to-wiki-ingest

Split-root / Migration State

Detect:

  • whether both _wiki/ and a populated legacy Wiki/ tree exist in the same vault
  • whether audits aimed at _wiki/ would therefore under-report the health of the currently active compiled corpus
  • whether new ingest into _wiki/ is at risk of duplicating already-compiled material that only exists under Wiki/

Actions:

  • report split-root state explicitly when present
  • recommend whether the next step is migration, dual-read caution, or target-root clarification
  • do not silently treat a scaffold-only _wiki/ as a fully healthy compiled system when Wiki/ still holds the substantive corpus

Priority Levels

Use a three-tier priority system:

  • P1 — broken index, stale core topic pages, duplicate sprawl harming retrieval, high-value pages not navigable
  • P2 — orphan pages, missing key links, stale question or synthesis pages
  • P3 — naming cleanup, possible new pages, cosmetic structure improvements

Focus on P1 first. P3 should not dominate a lint pass.

Shared File-Format Expectations

When judging navigation and chronology, treat these as the expected minimums:

  • _wiki/index.md: - [[path/to/page|Display Title]] — one-line why this page matters
  • if the local workflow keeps _wiki/log.md newest-first and structured for parseability, do not flag top-prepended entries as a defect
  • _wiki/hot.md, when present, is a cache file that may be overwritten wholesale rather than appended

Recommended Lint Procedure

  1. Inspect _wiki/ structure: subfolders, page counts, key pages.
  2. Read _wiki/hot.md first if it exists.
  3. Read _wiki/index.md to understand intended navigation.
  4. Check for duplicates: similar titles, overlapping concepts, repeated summaries.
  5. Check for orphans: pages with no wikilinks pointing to them.
  6. Check outdated content: compare sources/ dates to core pages.
  7. Check missing pages: concepts/entities that recur in sources but lack dedicated pages.
  8. Check Inbox/ backlog: candidates now worth compiling.
  9. Write a structured lint report, not a raw dump.
  10. Prioritize fixes into P1/P2/P3.
  11. If and only if the user asked for writeback or persistent audit logging, prepend a concise entry to _wiki/log.md using the local convention; otherwise leave vault files unchanged.

Output Structure

For this user's current vault, lint output should default to Chinese unless the user explicitly asks for English.

A lint pass should produce a short report in this form:

  1. Healthy: one-line status for what is working well
  2. Findings: grouped by category (duplicates, orphans, outdated, missing, backlog)
  3. Priority Fixes: P1 items with specific pages and recommended actions, marked as not yet applied unless repair mode was explicitly requested
  4. Backlog Candidates: Inbox/ items recommended for next ingest
  5. Suggested Next Ingest / Synthesis: optional recommendation for next major wiki work

Keep the report concise. Do not dump full page lists.

Anti-Patterns

Avoid:

  • large refactors during lint
  • creating pages just for neatness
  • moving raw content directly into _wiki/
  • treating hot.md, domains/, or meta/ as structural bugs merely because they are optional in another carrier
  • over-prioritizing minor formatting issues
  • focusing on format over knowledge validity
  • leaving outdated core pages unchanged because they are “stable”
  • silently repairing pages during an audit-only run

Verification

Before claiming lint is complete, confirm:

  • AGENTS.md was consulted when present
  • _wiki/hot.md and _wiki/index.md were actually inspected
  • duplicates and orphans were detected by reading page content, not filenames alone
  • outdated pages were identified against newer sources/
  • backlog candidates are grounded in Inbox/ inspection
  • the lint report is structured and concise
  • no vault files were modified unless the user explicitly requested writeback

Expected Outcome

A successful run of this skill should leave:

  • a structured triage report delivered to the user
  • a clear list of P1 fixes if any
  • a short backlog candidate list if any
  • an optional _wiki/log.md update only if writeback was explicitly requested
  • a recommendation for next ingest or synthesis work
  • no speculative page creation or silent repairs during audit-only lint

常见问题

Obsidian Wiki Lint Triage AI 技能有什么作用?

检查现有 `_wiki/` 整理知识层的健康状况,找出优先修复项,并评估待处理候选内容。可在搭建初始 Wiki 框架后使用,也可在维护期间定期使用。

为什么在 TypingMind 中使用 Obsidian Wiki Lint Triage?

因为您只需安装一次,就能搭配任何模型使用。Obsidian Wiki Lint Triage 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Obsidian Wiki Lint Triage?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/xiaohei-info/oh-my-agent-skills/tree/main/skills/knowledge-compilation/obsidian-wiki-lint-triage。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Obsidian Wiki Lint Triage?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Obsidian Wiki Lint Triage 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Obsidian Wiki Lint Triage 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Obsidian Wiki Lint Triage AI 技能免费吗?

是的。xiaohei-info 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇