lint

lint is a skill for Claude Code, Codex from tpierrain/kenjaku. It costs 112 tokens per session (2,245 once invoked), scanned A, original, Apache-2.0.

A deterministic health check for a wiki stored as linked notes. It reports broken links, notes with no incoming links, outdated entity pages, and malformed frontmatter, which is the metadata at the start of a note.

In plain words
What is it for?
Use it to scan a vault, read the binary report, and propose fixes for dangling links, orphan notes, stale pages, and invalid metadata.
Why use it?
It shows where the wiki is inconsistent without guessing or silently changing files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/lint-vault.mjs.

Good fit Use it to scan a vault, read the binary report, and propose fixes for dangling links, orphan notes, stale pages, and invalid metadata.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tpierrain/kenjaku
agentmods
npx agentmods add skills/tpierrain/kenjaku/lint

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 lint

README.md
[![agentmods](https://agentmods.dev/badge/skills/tpierrain/kenjaku/lint/github.svg)](https://agentmods.dev/skills/tpierrain/kenjaku/lint)
Your own site
<a href="https://agentmods.dev/skills/tpierrain/kenjaku/lint"><img src="https://agentmods.dev/badge/skills/tpierrain/kenjaku/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 lint

Your own site · 80×15
<a href="https://agentmods.dev/skills/tpierrain/kenjaku/lint"><img src="https://agentmods.dev/badge/skills/tpierrain/kenjaku/lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,245 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.00112 $0.02245
Opus 5.5 $0.00045 $0.00898
Sonnet 5.5 $0.00022 $0.00449
Haiku 4.5 $0.00011 $0.00225

Measured 2mo ago against content hash 1e0f0136ae85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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.

engine-skills/lint/SKILL.md · 135 lines

How it starts

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

lint — wiki-health check ("where is my wiki bleeding?")

The retrieval side of the brain (the RAG) is a versioned, tested engine. The curation side — keeping the wiki itself healthy: links that resolve, notes woven in, entity pages kept fresh — is this skill's job. It is the deterministic half of the Karpathy "LLM-Wiki compile" discipline (see ADR 0033): the scan is exact and fail-loud; the judgment of what to fix is yours (and the user's).

Principle

One promise: an honest, binary health report of the vault, then help acting on it.

  • The scan is deterministic (ADR 0009): pure code over the parsed notes, no LLM guessing.
  • Each fix belongs to a tier, and the tier belongs to the GESTURE, never to this skill (ADR 0043). This skill spans all three: it repairs an unmistakable typo without asking, it announces a batch of small tidy-ups and proceeds unless stopped, and it refuses to invent a person's page on its own.

⚠️ This replaces the old "propose first, write on yes" posture, and the replacement is deliberate. That rule was right for the judgment calls and wrong for the obvious repairs — it is what turned a tidy-up into about five prompts in a row, in the machinery's vocabulary, for someone who had asked for their notes to be tidied. What buys the change is the safety net, not optimism: everything this skill writes is auto-committed, so any 🟢 or 🟡 is one git revert away in the owner's own history.

Procedure

1. Run the scanner

From the brain folder:

node scripts/lint-vault.mjs
  • Exit 0 = clean (say so plainly, do not invent problems).
  • Exit 1 = issues found; the report lists them by category. Read it verbatim.
  • To check a different path: node scripts/lint-vault.mjs <vault-dir>.

2. Read the report — five categories, and the first one is not like the others

  • Notes the engine cannot read — listed FIRST, and the only finding here that costs the owner answers rather than tidiness. The note opens a frontmatter block the engine's indexer refuses, so it is never re-indexed: it stays searchable and answers from its last good content, quietly out of date, for as long as nobody fixes it. One was measured standing three weeks. Say it that way, in their words ("this note still answers, but with what it said in August"), never as "invalid YAML". The usual cause is a note written by hand or through a shell command, with the frontmatter keys indented by a space or two.
  • Links pointing at a note that does not exist from → [[target]]: a [[link]] whose target note is not there. Usually a typo, a renamed/moved note, or a note that was meant to be written and never was.
  • Notes nothing links to: a note with zero inbound links (raw-capture zones daily/, raw-sources/, inbox/ and _inbox/ are already excluded — they are legitimately unlinked, and so are the engine's own notes, type: engine). An orphan is knowledge that is filed but never woven in, so the wiki (and the RAG's neighbourhood signal) can't reach it.
  • Pages your newer notes have moved past: a curated entity page (type: person|topic|company|project|concept) whose updated: trails the freshest note that cites it by more than the threshold (default 90 days). The world moved on; the canonical page didn't.
  • Notes missing their filing details: a note missing a required key (type / created / updated / tags), so it indexes and sorts poorly. Raw-capture zones and the engine's own notes (type: engine, e.g. the RAG canary) are exempt: neither is a curated wiki node, and telling the owner to fix a file they are told never to touch is a complaint they can never clear.

Read the full file on GitHub · 135 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. 2mo ago Changed · +45 lines · +10 tokens per session 1e0f0136ae85
  2. 2mo ago Changed · +11 lines 36f589617bb3
  3. 3mo ago First seen · 79 lines · 102 tokens per session scan A 5135c9b55078

Subscribe to this mod's changes

lint is a skill published in the GitHub repository tpierrain/kenjaku (100 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 112 tokens to every session and 2,245 once invoked, about $0.0004 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-08-30.

Related

lint compared with skills from other repositories

lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
linttpierrain/kenjakuSkill1002mo agoApache-2.0A112Claude Code, Codex
wiki-lintAgriciDaniel/claude-obsidianSkill17k1mo agoMITA79Claude Code
github-issue-solveholon-run/holonSkill208todayApache-2.0A27Claude Code, Codex
self-mapsmixs/iva-agentSkill315todayMITA85Claude Code, Codex
report-problemsmixs/iva-agentSkill315todayMITA46Claude Code, Codex
share-fixtonydzi/second-brain-starter-kitSkill16yesterdayMITA78Claude Code
skillify-meta-loopmycelium-hq/ai-brain-starterSkill61yesterdayMITA111Claude Code