agentsclimarketplace

Wiki lint

Skill Misaka16384/Wikify/skills/wiki_lint

一套将 PDF/LaTeX 自动转化为 Obsidian 结构化 Markdown 知识图谱的 AI 智能体技能。

Install
npx -y skills add Misaka16384/Wikify --skill wiki_lint

Assembled 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 this SKILL.md lives in.
  • <SKILLS> = the skills/ folder containing this skill = <SKILL_DIR>/..
  • <BIN> = the bin/ folder beside it = <SKILL_DIR>/../../bin

Do not hardcode a fixed prefix like .agents/bin or ../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/bin when invoked from the hub root, or .claude/bin from 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:

  1. 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 are critical (blocking), while errors in raw/ files are warnings (non-blocking).
    • Skip Math Option: To run fast structural/link-only checks and skip LaTeX validation, add the --skip-math flag: python <BIN>/llm-wiki.py lint --skip-math <TOPIC_DIR>
  2. Report to User: Present all parsed warnings, dangling double-brackets [[links]], missing metadata frontmatter properties, math syntax errors, or directory structure discrepancies.
  3. 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.
  4. 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/

tests/

676 more files not listed here. See all 716 in the repository.

Keep looking

Skills are one crate of 326,970. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.