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.
npx skills add KerberosClaw/kc_ai_skills --skill llm-wiki-lintgit clone --depth 1 https://github.com/KerberosClaw/kc_ai_skillsWrote 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.
[](https://agentmods.dev/skills/kerberosclaw/kc_ai_skills/llm-wiki-lint)<a href="https://agentmods.dev/skills/kerberosclaw/kc_ai_skills/llm-wiki-lint"><img src="https://agentmods.dev/badge/skills/kerberosclaw/kc_ai_skills/llm-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.
<a href="https://agentmods.dev/skills/kerberosclaw/kc_ai_skills/llm-wiki-lint"><img src="https://agentmods.dev/badge/skills/kerberosclaw/kc_ai_skills/llm-wiki-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.05207 |
| Opus 5.5 | $0.00046 | $0.02083 |
| Sonnet 5.5 | $0.00023 | $0.01041 |
| Haiku 4.5 | $0.00012 | $0.00521 |
Grade A, and why
llm-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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 351 lines — stays where its author put it; the contents beside it link to each section on GitHub.
llm-wiki-lint — Karpathy LLM Wiki 三層健檢
You are a documentation auditor for repos following the Karpathy LLM Wiki pattern. Scan the three layers (raw/ + wiki/ + SCHEMA.md / index.md / log.md), surface drift and gaps, report — then fix only with explicit user approval.
CRITICAL — 兩段式契約:
- Phase 1(report)純 read-only。掃描期間任何「順手補一下 frontmatter」「順手更新 index」都是違規。
- Phase 2(fix)必須等 user 對報告明確點頭(「修」「fix」「都修掉」)才啟動。User 只說「跑 lint」= 只做 Phase 1。
跟 memory-lint 差異:
memory-lint→ Claude memory 目錄(feedback / user profile / project,prefix-based)llm-wiki-lint→ LLM Wiki repo(wiki/ 主題頁 + frontmatter + raw source traceability + index 一致性)
Step 1: Detect wiki repo path
依序嘗試,命中第一個就用:
| 順序 | 來源 | 條件 |
|---|---|---|
| 1 | $ARGUMENTS 第一個位置參數 |
使用者明確傳入,最優先 |
| 2 | 環境變數 $WIKI_REPO_DIR |
export 過 |
| 3 | 當前工作目錄 $PWD |
含 SCHEMA.md + wiki/ 子目錄 |
| 4 | — | 都找不到 → 停止,告訴 user「偵測不到 wiki repo」,不要瞎猜 |
決定路徑後,先驗證結構:
ls "$WIKI_PATH/SCHEMA.md" "$WIKI_PATH/wiki/" 2>/dev/null
ls "$WIKI_PATH/index.md" 2>/dev/null || echo "WARN: index.md 不存在"
ls "$WIKI_PATH/log.md" 2>/dev/null || echo "WARN: log.md 不存在"
SCHEMA.md或wiki/任一缺 → fatal,停止 lintindex.md/log.md缺 → warning,繼續 lint 並在報告建議新建
Step 1b: 載入 repo 自有規約(lint 的 source of truth)
不要硬編碼 Karpathy 預設值 — 以目標 repo 自己的宣告為準:
| 規約 | 來源 | fallback |
|---|---|---|
| type allow-list | SCHEMA.md §Type 分類(含本地擴充) |
Karpathy 5 類(overview/entity/concept/comparison/synthesis)+ 報告註明 SCHEMA 未宣告 |
| frontmatter 必備欄位 | SCHEMA.md §Frontmatter 欄位 |
title / type / last_updated / sources |
| lint 後是否 append log.md | SCHEMA.md §Lint 節奏 |
不 append |
| 額外文件風格規則(如「body 禁 date marker」) | repo 的 CLAUDE.md / docs/ 規則檔(如有) |
跳過此項檢查 |
Step 2: Scan & lint(Phase 1 — read-only)
Step 2a: 掃描範圍
find "$WIKI_PATH/wiki" -maxdepth 1 -name '*.md' -type f
find "$WIKI_PATH/wiki" -mindepth 1 -maxdepth 1 -type d # 子目錄偵測 — 上面那條只看 .md,抓不到目錄
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.
- 3mo ago First seen · 351 lines · 115 tokens per session scan A b9fea800bb94
llm-wiki-lint is a skill published in the GitHub repository KerberosClaw/kc_ai_skills (80 stars, last pushed 5d ago), licensed MIT. It adds 115 tokens to every session and 5,207 once invoked, about $0.0005 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.
llm-wiki-lint compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| llm-wiki-lintKerberosClaw/kc_ai_skills | Skill | 80 | 5d ago | MIT | A | 115 | Claude Code |
| software-in-wortenellmos-ai/skills | Skill | 10 | today | MIT | A | 87 | Claude Code, Codex |
| orchestratorellmos-ai/skills | Skill | 10 | today | MIT | A | 115 | Claude Code, Codex |
| decision-briefingellmos-ai/skills | Skill | 10 | today | MIT | A | 70 | Claude Code, Codex |
| dev-cycleellmos-ai/skills | Skill | 10 | today | MIT | A | 114 | Claude Code, Codex |
| exposure-guidanceellmos-ai/skills | Skill | 10 | today | MIT | A | 117 | Claude Code, Codex |
| trauma-psychoeducationellmos-ai/skills | Skill | 10 | today | MIT | A | 40 | Claude Code, Codex |