empiricalwiki: Skill for Claude Code

.claude/skills/edit/SKILL.md

edit is a skill for Claude Code from Lambenthan/empiricalwiki. It costs 13 tokens per session (445 once invoked), scanned A, original, MIT.

A workspace-editing skill for adding or removing source materials and updating research wiki pages.

In plain words
What is it for?
Use it to add local files, download papers from arXiv, save webpages as Markdown, remove sources after confirmation, or update claims, concepts, trackers, and other wiki content.
Why use it?
It keeps source files, wiki pages, navigation, links, and update logs in sync when research information changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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/skills/edit/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 edit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lambenthan/empiricalwiki/edit"><img src="https://agentmods.dev/badge/skills/lambenthan/empiricalwiki/edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 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.00013 $0.00445
Opus 5.5 $0.00005 $0.00178
Sonnet 5.5 $0.00003 $0.00089
Haiku 4.5 $0.00001 $0.00044

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

Security

Grade A, and why

edit 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/edit/SKILL.md · 61 lines

What it actually says

/edit

根据用户要求增删 raw sources 或更新 wiki 内容。

触发

用户手动:/edit <用户要求>

输入

用户请求,例如:

  • "把这篇论文下载到 raw/papers/"
  • "删除 raw/papers/xxx.pdf"
  • "更新 topics/efficient-llm-adaptation 的 SOTA tracker"
  • "给 concepts/lora 加一个新变体"

输出

更新后的 wiki 文件、index.md、log.md

步骤

STEP 1: 解析用户意图

  1. 增加 raw sources:
    • 若用户提供了本地路径:复制到 raw/ 对应目录
    • 若用户提供了 arXiv URL:下载到 raw/papers/
    • 若用户提供了网页 URL:用 markdownify 抓取内容存到 raw/web/
  2. 删除 raw sources:
    • 确认后执行删除
  3. 更新 wiki:
    • 读取相关页面,按用户要求修改内容

STEP 2: 执行更新

  1. 增加的 raw sources 后续可通过 /ingest 纳入 wiki
  2. 直接 wiki 修改:按用户指令更新特定页面的特定字段/内容
  3. 写正向链接时同步写反向链接

STEP 3: 更新导航

  1. EDIT wiki/index.md:更新相关条目
  2. APPEND wiki/log.md:## [{date}] update | {description}

STEP 4: 报告

  • 列出变更内容
  • 提示后续操作(如需要 ingest 新增的 raw sources)

约束

  • raw/ 只读(本 skill 可以往 raw/ 添加文件,但不修改已有文件)
  • wiki 修改遵循模板结构
  • 双向链接同步维护
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 · 61 lines · 13 tokens per session scan A 4ec2394e71c9

Subscribe to this mod's changes

edit is a skill published in the GitHub repository Lambenthan/empiricalwiki (96 stars, last pushed 4mo ago), licensed MIT. It adds 13 tokens to every session and 445 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.