empiricalwiki: Instructions file for Claude Code

CLAUDE.md

empiricalwiki CLAUDE.md is an instructions file for Claude Code from Lambenthan/empiricalwiki. It costs 4,351 tokens per session, scanned A, original, MIT.

A set of instructions for EmpiricalWiki, a local knowledge base for research in economics, finance, accounting, and management. It defines the wiki's folders, page format, links, logs, and generated graph data.

In plain words
What is it for?
Use it when creating or repairing EmpiricalWiki pages, indexes, logs, research cards, structured theory or evidence entries, and related runtime files.
Why use it?
It gives the agent a consistent structure for storing and connecting research concepts, papers, datasets, models, claims, and study designs. It also helps prevent edits that would break the wiki's required formats.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code.

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 →

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.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 empiricalwiki CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lambenthan/empiricalwiki/claude-md.svg)](https://agentmods.dev/instructions/lambenthan/empiricalwiki/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/lambenthan/empiricalwiki/claude-md"><img src="https://agentmods.dev/badge/instructions/lambenthan/empiricalwiki/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,351 This file is loaded in full into every session.
When invoked 4,351 The same file — it is already loaded in full.
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.04351 $0.04351
Opus 5 $0.02176 $0.02176
Sonnet 5 $0.00870 $0.00870
Haiku 4.5 $0.00435 $0.00435

Measured 7d ago against content hash f3c626b955c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

empiricalwiki CLAUDE.md 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 7d 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.md · 190 lines

How it starts

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

EmpiricalWiki — Runtime Schema

面向经管、会计、金融、管理、经济学实证研究的垂类 LLM Wiki。由 Claude Code 驱动。 本文件是 wiki 的运行时入口,定义页面结构、链接规范、workflow 约束。


仓库布局

需要完整仓库树时,再打开 docs/runtime-directory-structure.zh.md

平时请优先记住这个心智地图:

wiki/ 是主要工作面

  • wiki/index.md 是所有 wiki 页面的目录
  • wiki/log.md 是 append-only 活动日志
  • wiki/papers/ 存放实证论文结构化卡片
  • wiki/variables/wiki/datasets/wiki/models/wiki/mechanisms/wiki/hypotheses/wiki/identification/wiki/robustness/wiki/heterogeneity/wiki/tables/ 存放实证研究设计层
  • wiki/assumptions/wiki/propositions/ 存放理论建模层(模型原语与形式化结论);与 wiki/mechanisms/wiki/hypotheses/ 共同把理论与实证接在同一张 graph 上
  • wiki/concepts/wiki/topics/wiki/foundations/ 存放可复用知识结构
  • wiki/people/wiki/ideas/wiki/experiments/wiki/claims/ 存放研究者、假设、实验和断言
  • wiki/Summary/ 存放领域级综述
  • wiki/outputs/ 存放生成产物
  • wiki/graph/ 是派生状态,禁止手动编辑
  • 想把 wiki 看成带图谱/搜索/反链的本地网站:跑 tools/view.sh,详见 docs/view-quartz.zh.md(基于 Quartz,只读渲染,不改内容)

格式护栏

  • 在新建或修复 wiki 页面结构、YAML、正文章节前,先打开 docs/runtime-page-templates.zh.md
  • 需要 graph 派生文件细节或 index.md / log.md 格式时,打开 docs/runtime-support-files.zh.md
  • SKILL.md 是 skill 的即时入口;较大的 skill 也可以在各自目录下提供按需读取的本地参考文件
  • /init 是这一模式的第一个具体例子:先读 .claude/skills/init/SKILL.md,只有在需要时再打开 .claude/skills/init/references/*

raw/config/

  • raw/papers/raw/notes/raw/web/ 是用户自有输入
  • raw/discovered/ 存放 /init/daily-arxiv 抓取的外部论文
  • raw/tmp/ 存放 /init 与直接本地 /ingest 使用的生成型 prepared sidecar
  • config/ 存放环境与远程服务器模板

页面类型

实证研究核心类型:papersvariablesdatasetsmodelsmechanismshypothesesidentificationrobustnessheterogeneity/empirical-ingest 自动产出这九类。

理论建模核心类型:assumptions(模型原语:参与人/偏好/信息/时序/约束)、propositions(形式化结论:命题/定理/引理)。paperspaper_kind: empirical|theory|both 区分范式,决定 ingest 走 /empirical-ingest 还是 /theory-ingest

按需类型(有模板与目录,但只在特定 skill 或用户明确要求时才创建页面,平时为空是正常状态):

  • tables — 仅当用户要求逐表复现某篇论文时建页;日常 ingest 把关键表格结论写进论文卡即可。
  • conceptspeopleclaims — 由通用 /ingest/novelty/review 维护;纯实证流程可能始终为空。
  • ideasexperiments — 由 /ideate/exp-design/exp-run 维护;经管实证优先用 models/ + identification/ + robustness/experiments/ 留给计算实验与仿真。
  • topicsSummary — 由 /prefill/survey 维护。
  • foundations — 由 /prefill 预填教科书背景,终端节点不写反向链接。

Read the full file on GitHub · 190 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. 7d ago First seen · 190 lines · 4,351 tokens per session scan A f3c626b955c0

Subscribe to this mod's changes

empiricalwiki CLAUDE.md is an instructions file published in the GitHub repository Lambenthan/empiricalwiki (82 stars, last pushed 2mo ago), licensed MIT. It adds 4,351 tokens to every session, about $0.0218 per session on Opus 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

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens