empiricalwiki: Skill for Claude Code

.claude/skills/check/SKILL.md

check is a skill for Claude Code from Lambenthan/empiricalwiki. It costs 27 tokens per session (2,112 once invoked), scanned A, original, MIT.

A health checker for a research wiki, meaning a structured collection of pages about papers, ideas, claims, experiments, and related entities.

In plain words
What is it for?
Use it to scan the whole wiki, produce a repair report, output JSON, or preview automatic fixes.
Why use it?
It finds broken links, missing fields, invalid relationships, and inconsistencies in the wiki and its graph data.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Lambenthan/empiricalwiki's own configuration. It tells Claude Code how to work on empiricalwiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything empiricalwiki configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/lint.py --wiki-dir wiki/ --json.

Reuse

Borrowing it

Nothing to install: this file belongs to Lambenthan/empiricalwiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Lambenthan/empiricalwiki/main/.claude/skills/check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Lambenthan/empiricalwiki

Made for: Claude Code.

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 check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lambenthan/empiricalwiki/check"><img src="https://agentmods.dev/badge/skills/lambenthan/empiricalwiki/check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,112 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.
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.00027 $0.02112
Opus 5.5 $0.00011 $0.00845
Sonnet 5.5 $0.00005 $0.00422
Haiku 4.5 $0.00003 $0.00211

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

Security

Grade A, and why

check 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 1mo 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.

.claude/skills/check/SKILL.md · 185 lines

How it starts

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

/check

扫描全 wiki,发现结构、链接、字段、graph 的健康问题,生成分级修复建议。 覆盖所有 9 种 entity 类型,包括 claims confidence 合理性、idea 失败原因完整性、 experiment-claim 链接有效性、graph edges 一致性。

Inputs

  • 全 wiki 目录(默认 wiki/)
  • 可选:--json 标志(通过 tools/lint.py 输出 JSON 格式)
  • 可选:--fix 标志(自动修复确定性问题)
  • 可选:--fix --dry-run(预览修复但不执行)
  • 可选:--suggest 标志(显示非自动修复问题的建议)

Outputs

  • Lint report(直接报告给用户)
  • 可选写入文件:wiki/outputs/lint-report-{date}.md

Wiki Interaction

Reads

  • wiki/papers/*.md — 论文页面字段和链接
  • wiki/concepts/*.md — 概念页面字段和链接
  • wiki/topics/*.md — 方向页面字段和链接
  • wiki/people/*.md — 人物页面字段和链接
  • wiki/ideas/*.md — idea 状态、failure_reason、origin_gaps
  • wiki/experiments/*.md — experiment 状态、target_claim、outcome
  • wiki/claims/*.md — claim confidence、status、evidence、source_papers
  • wiki/Summary/*.md — 综述页面字段
  • wiki/graph/edges.jsonl — semantic graph edge 一致性检查
  • wiki/graph/citations.jsonl — bibliographic citation 一致性检查
  • wiki/index.md — 对照页面完整性

Writes

  • 不直接修改 wiki 内容(只报告不修复)
  • wiki/log.md — 通过 tools/research_wiki.py log 记录 lint 结果摘要

Workflow

前置:确认工作目录为 wiki 项目根(包含 wiki/、raw/、tools/ 的目录)。 设 WIKI_ROOT=wiki/。

Step 1: 运行自动化 lint 工具

默认模式(只报告):

python3 tools/lint.py --wiki-dir wiki/ --json

自动修复模式(用户指定 --fix 时):

python3 tools/lint.py --wiki-dir wiki/ --fix --json

自动修复确定性问题(xref 反向链接补全、缺失字段填默认值),输出修复报告。

预览模式(用户指定 --fix --dry-run 时):

python3 tools/lint.py --wiki-dir wiki/ --fix --dry-run --json

预览会修复什么,不实际执行。

解析 JSON 输出,获取所有自动检测到的 issues(及修复结果)。

Step 2: 结构完整性(自动化覆盖)

自动化工具检查以下项目:

  1. Broken wikilinks:[[slug]] 目标文件不存在
  2. Orphan pages:无任何入链的页面
  3. 必填字段缺失(全 9 种 entity):
    • papers: title, slug, tags, importance
    • concepts: title, tags, maturity, key_papers
    • topics: title, tags
    • people: name, tags
    • Summary: title, scope, key_topics
    • ideas: title, slug, status, origin, tags, priority
    • experiments: title, slug, status, target_claim, hypothesis, tags
    • claims: title, slug, status, confidence, tags, source_papers, evidence

Read the full file on GitHub · 185 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. 1mo ago First seen · 185 lines · 27 tokens per session scan A fa659471f3ac

Subscribe to this mod's changes

check is a skill published in the GitHub repository Lambenthan/empiricalwiki (96 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 2,112 once invoked, about $0.0001 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.