/llm-wiki:lintfrom llm-wiki
Use when the user invokes /llm-wiki:lint or /llm-wiki:stats, or asks for a health check, statistics, orphan/broken-link counts, or a semantic audit of an OKF bundle. Runs mechanical stats via okf_stats.py, then the deep semantic audit, and produces a prioritized fix-it report.
Ships in llm-wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Karpathy's "Lint" operation. Combines mechanical stats (okf_stats.py) with a
semantic audit no script can do into a prioritized fix-it report.
/llm-wiki:lint [path] # full pass: stats + conformance + semantic audit
/llm-wiki:lint --quick [path] # mechanical stats only, no semantic audit
path defaults to the nearest bundle root.
Mechanical stats (always run first):
python3 <plugin_root>/scripts/okf_stats.py <bundle_root>
Output JSON:
{
"total_concepts": 12,
"by_type": {"BigQuery Dataset": 1, "BigQuery Table": 4, "Reference": 7},
"total_links": 34,
"orphans": ["references/metrics/ltv"],
"broken_links": [{"from": "tables/events_", "to": "references/event_parameters"}],
"citation_coverage": "9/12"
}
With --quick, stop here and present it as a readable summary:
OKF Bundle Stats — <path>
12 concepts: 4 BigQuery Table, 7 Reference, 1 BigQuery Dataset
34 internal links
1 orphan (not linked from anywhere): references/metrics/ltv
1 broken link: tables/events_ → references/event_parameters (missing)
Citation coverage: 9/12 (75%)
For orphans or broken links, suggest:
Conformance check:
python3 <plugin_root>/scripts/okf_validate.py <bundle_root>
Semantic audit — follow references/semantic-audit.md for the deep
read: what to look for, the rules that keep it honest, and the findings shape.
On Claude Code you may dispatch it into a general-purpose subagent to
isolate a large bundle read; on Antigravity run it inline.
Synthesize the combined report:
## OKF Bundle Health Report — <path>
### Stats
- N concepts (A BigQuery Table, B Reference, ...)
- N links, N orphans, N broken links
- Citation coverage: N/M
### Critical (fix before sharing)
[1] Broken link: tables/events_ → references/event_parameters.md (file not found)
Fix: create the missing reference doc or remove the link.
### Moderate
[2] Orphan: references/metrics/ltv.md — not linked from any concept doc.
Fix: add a link from tables/users.md or tables/events_.md.
### Minor
[3] Thin description: datasets/crypto_bitcoin.md — description is 3 words.
Fix: expand to one tight sentence about what this dataset is.
Severity levels:
Offer to fix specific Critical issues inline, or save the full report:
"Should I fix issue [1] now, or save this report to
concepts/lint-report-2026-06-19.md?"
For a data gap finding — a concept that is thin because the bundle never
ingested the material — follow query/references/finding-sources.md to
recommend what to ingest.
/llm-wiki:validate — confirm all violations are resolved
/llm-wiki:index — regenerate indexes if docs were added/removed
/llm-wiki:log — record the lint pass
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mlarkin00/plugins --plugin llm-wiki9 skills in this plugin
/authoring-conceptsUse when writing or rewriting a single OKF concept document, or when you need the OKF v0.1 format rules — frontmatter conventions, concept IDs, reserved files, body structure, cross-linking, citation format, and what NOT to invent. The shared authoring routine that ingest, query, and lint all call./indexUse when the user invokes /llm-wiki:index or asks to regenerate the index.md files in an OKF bundle. Runs okf_index.py for deterministic bottom-up index generation./ingestUse when the user invokes /llm-wiki:ingest or asks to ingest, add, or re-enrich a source in an OKF bundle — a BigQuery dataset, a web page or crawl, or local files. Covers source detection, adapter routing, the supervised ingest loop, per-concept dispatch, and the adapter contract for new sources.Other plugins' skills for the same job