wiki-lint

wiki-lint is a skill for Claude Code, Codex from saski/arnesto. It costs 82 tokens per session (3,020 once invoked), scanned A, original, Unlicense.

A maintenance tool for checking an Obsidian wiki, a collection of linked notes, for structural problems. It looks for isolated pages, broken links, contradictions, and outdated content.

In plain words
What is it for?
Use it to audit the wiki, find pages with no incoming links, detect broken references, and identify content that needs review.
Why use it?
It helps reveal parts of the wiki that are difficult to navigate or no longer trustworthy. Finding these issues makes the knowledge base easier to maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to audit the wiki, find pages with no incoming links, detect broken references, and identify content that needs review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/wiki-lint
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add saski/arnesto --skill wiki-lint
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wiki-lint

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/wiki-lint/github.svg)](https://agentmods.dev/skills/saski/arnesto/wiki-lint)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/wiki-lint"><img src="https://agentmods.dev/badge/skills/saski/arnesto/wiki-lint/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wiki-lint

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/wiki-lint"><img src="https://agentmods.dev/badge/skills/saski/arnesto/wiki-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.03020
Opus 5.5 $0.00033 $0.01208
Sonnet 5.5 $0.00016 $0.00604
Haiku 4.5 $0.00008 $0.00302

Measured 5d ago against content hash d87846e6841e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wiki-lint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/wiki-lint/SKILL.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wiki Lint — Health Audit

You are performing a health check on an Obsidian wiki. Your goal is to find and fix structural issues that degrade the wiki's value over time.

Before scanning anything: follow the Retrieval Primitives table in llm-wiki/SKILL.md. Prefer frontmatter-scoped greps and section-anchored reads over full-page reads. On a large vault, blindly reading every page to lint it is exactly what this framework is built to avoid.

Before You Start

  1. Read .env to get OBSIDIAN_VAULT_PATH
  2. Read index.md for the full page inventory
  3. Read log.md for recent activity context

Read the selected vault’s schema before checking required fields, lifecycle values, or relationship types. Use the framework defaults below for rules the owner has not customized.

Lint Checks

Run these checks in order. Report findings as you go.

1. Orphaned Pages

Find pages with zero incoming wikilinks. These are knowledge islands that nothing connects to.

How to check:

  • Glob all .md files in the vault
  • For each page, Grep the rest of the vault for [[page-name]] references
  • Pages with zero incoming links (except index.md and log.md) are orphans

How to fix:

  • Identify which existing pages should link to the orphan
  • Add wikilinks in appropriate sections

2. Broken Wikilinks

Find [[wikilinks]] that point to pages that don't exist.

How to check:

  • Grep for \[\[.*?\]\] across all pages
  • Extract the link targets
  • Check if a corresponding .md file exists

How to fix:

  • If the target was renamed, update the link
  • If the target should exist, create it
  • If the link is wrong, remove or correct it

3. Missing Frontmatter

By default, pages should have title, category, tags, sources, created, and updated. Use the selected vault’s declared required fields when it defines them.

How to check:

  • Grep frontmatter blocks (scope to ^--- at file heads) instead of reading every page in full
  • Flag pages missing required fields

Read the full file on GitHub · 256 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +2 lines d87846e6841e
  2. 2mo ago First seen · 254 lines · 82 tokens per session scan A b5e618768f7c

Subscribe to this mod's changes

wiki-lint is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 82 tokens to every session and 3,020 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

wiki-lint compared with skills from other repositories

wiki-lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wiki-lintsaski/arnestoSkill75d agoUnlicenseA82Claude Code, Codex
git-ai-searchgit-ai-project/git-aiSkill3.0ktodayApache-2.0A13Claude Code
session-compaction-and-restoremvschwarz/openrigSkill9.0ktodayApache-2.0B88Claude Code
brain-ingestmindmuxai/brain.mdSkill72818d agoApache-2.0A48Claude Code, Codex
immuneMathews-Tom/armorySkill3467d agoMITA73Claude Code
usage-auditMathews-Tom/armorySkill3467d agoMITA69Claude Code
atlas-absorbwlsdks/ontology-atlasSkill173todayMITA45Claude Code