Wiki lint
一套将 PDF/LaTeX 自动转化为 Obsidian 结构化 Markdown 知识图谱的 AI 智能体技能。
npx -y skills add Misaka16384/Wikify --skill wiki_lintAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Statically check and repair double-bracket linkages and frontmatter within your compiled wiki directory.
SKILL.md
2.6 KB, 574 tokens by cl100k_base, as published. Nobody here has run it
LLM Wiki — Lint Skill (wiki_lint)
Resolving script paths (read first): Commands below invoke scripts as
<BIN>/X.py(and a few as<SKILLS>/...). Resolve these to absolute paths once before running anything:
<SKILL_DIR>= the directory thisSKILL.mdlives in.<SKILLS>= theskills/folder containing this skill =<SKILL_DIR>/..<BIN>= thebin/folder beside it =<SKILL_DIR>/../../binDo not hardcode a fixed prefix like
.agents/binor../bin: shell relative paths resolve against the current working directory (usually the topic root), not this skill's location. Once resolved,<BIN>is typically.agents/binwhen invoked from the hub root, or.claude/binfrom inside a topic directory.
This skill handles static validation, claim mapping, and link structural checks to keep the personal knowledge base completely healthy and integrated.
When the user asks to lint, repair, or audit the links in their vault:
- Execute Local Python CLI: Bypass semantic guesswork. Run the Python validator script:
python <BIN>/llm-wiki.py lint --fix <TOPIC_DIR>- Math Syntax Validation: Linting automatically runs math syntax checks on all markdown files (validating LaTeX syntax). Math syntax errors in compiled
wiki/files arecritical(blocking), while errors inraw/files arewarnings(non-blocking). - Skip Math Option: To run fast structural/link-only checks and skip LaTeX validation, add the
--skip-mathflag:python <BIN>/llm-wiki.py lint --skip-math <TOPIC_DIR>
- Math Syntax Validation: Linting automatically runs math syntax checks on all markdown files (validating LaTeX syntax). Math syntax errors in compiled
- Report to User: Present all parsed warnings, dangling double-brackets
[[links]], missing metadata frontmatter properties, math syntax errors, or directory structure discrepancies. - Self-Contained Sandbox Verification: For developer test runs, you can utilize the sandboxed directories in
<SKILL_DIR>/tests/fixtures/to benchmark and verify the validator's performance:golden-wiki/contains a flawless mock vault.defects/contains defect-injected vaults.
- Log: Update the activity log
log.md.
Error Handling
- If any script exits with non-zero code, report the full stderr output to the user and stop.
- If a file cannot be read or parsed, log a warning and continue with remaining files.
- Do NOT silently skip errors or proceed with partial results without reporting.
What ships with it: 716 files
344.2 KB alongside SKILL.md, 10 of them executable
scripts/
- llm-wiki65 B
tests/
- ci/plugin-tests.yml2.9 KB
- evals/assertions/check-frontmatter.jsruns2.1 KB
- evals/assertions/check-index-integrity.jsruns967 B
- evals/assertions/check-raw-source.jsruns1014 B
- fixtures/defects/bad-frontmatter/config.md257 B
- fixtures/defects/bad-frontmatter/datasets/bitcointalk-temporal-graph/_index.md498 B
- fixtures/defects/bad-frontmatter/datasets/bitcointalk-temporal-graph/MANIFEST.md1011 B
- fixtures/defects/bad-frontmatter/datasets/bitcointalk-temporal-graph/profiles/_index.md192 B
- fixtures/defects/bad-frontmatter/datasets/bitcointalk-temporal-graph/queries/_index.md194 B
- fixtures/defects/bad-frontmatter/datasets/bitcointalk-temporal-graph/samples/_index.md203 B
- fixtures/defects/bad-frontmatter/datasets/_index.md483 B
- fixtures/defects/bad-frontmatter/inbox/.gitkeep28 B
- fixtures/defects/bad-frontmatter/inbox/.processed/.gitkeep39 B
- fixtures/defects/bad-frontmatter/_index.md860 B
- fixtures/defects/bad-frontmatter/inventory/candidates/bitcointalk-archive.md729 B
- fixtures/defects/bad-frontmatter/inventory/candidates/_index.md425 B
- fixtures/defects/bad-frontmatter/inventory/corpora/_index.md284 B
- fixtures/defects/bad-frontmatter/inventory/entities/_index.md282 B
- fixtures/defects/bad-frontmatter/inventory/_index.md879 B
- fixtures/defects/bad-frontmatter/inventory/items/_index.md419 B
- fixtures/defects/bad-frontmatter/inventory/items/trx4m-ring-and-pinion.md1000 B
- fixtures/defects/bad-frontmatter/inventory/views/active-actions.md452 B
- fixtures/defects/bad-frontmatter/inventory/views/_index.md339 B
- fixtures/defects/bad-frontmatter/log.md506 B
- fixtures/defects/bad-frontmatter/output/_index.md130 B
- fixtures/defects/bad-frontmatter/output/sample-output.md313 B
- fixtures/defects/bad-frontmatter/raw/articles/2026-01-01-sample-article.md505 B
- fixtures/defects/bad-frontmatter/raw/articles/2026-01-02-second-article.md466 B
- fixtures/defects/bad-frontmatter/raw/articles/2026-01-03-Title Cased Source.md442 B
- fixtures/defects/bad-frontmatter/raw/articles/_index.md378 B
- fixtures/defects/bad-frontmatter/raw/data/_index.md76 B
- fixtures/defects/bad-frontmatter/raw/_index.md330 B
- fixtures/defects/bad-frontmatter/raw/notes/_index.md77 B
- fixtures/defects/bad-frontmatter/raw/papers/2026-01-01-sample-paper.md485 B
- fixtures/defects/bad-frontmatter/raw/papers/_index.md172 B
- fixtures/defects/bad-frontmatter/raw/repos/_index.md77 B
- fixtures/defects/bad-frontmatter/wiki/concepts/_index.md192 B
- fixtures/defects/bad-frontmatter/wiki/concepts/sample-concept.md1.4 KB
- fixtures/defects/bad-frontmatter/wiki/_index.md242 B
676 more files not listed here. See all 716 in the repository.