edit

edit is a skill for Claude Code, Codex 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 CodeCodex

Install

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.

agentmods
npx agentmods add skills/lambenthan/empiricalwiki/edit
Any agent
npx skills add Lambenthan/empiricalwiki --skill edit
Clone the repo
git clone --depth 1 https://github.com/Lambenthan/empiricalwiki

Made for: Claude Code, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00013 $0.00445
Opus 5 $0.00006 $0.00222
Sonnet 5 $0.00003 $0.00089
Haiku 4.5 $0.00001 $0.00044

Measured 5d ago against content hash 4ec2394e71c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.mdlog.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. 5d 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 (82 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 445 once invoked, about $0.0001 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 skills, from other repositories

paper-workflow

经管 / 社科实证论文全流程 meta-orchestrator:把选题、设计、数据、估计、方法闸门、 表图、写作、去 AI 味、质量门、修订、投稿与复盘编排成 Stage 0–9 可断点续跑流水线。 本 skill 不重复实现子能力,而是按阶段调用既有 skill 或并行 subagent,并在 Stage 3–4 路由 Python/StatsPAI、Stata、R 三种分析后端,Stage 9 交付一份含正文+表+图+参考文献的 Word 全文定稿(09submission/main.docx,另可出 .tex)。触发:/paper-workflow、 帮我写一篇实证论文、从选题到投稿、端到端 empirical…

brycewang-stanford/Paper-WorkFlow · 262 tokens

chinese-documentation

中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens

seven-pass-review

Mechanize Pattern 15 — the seven-pass adversarial review protocol for academic manuscripts. Spawns 7 forked subagents in parallel (abstract, intro, methods, results, robustness, prose, citations), then synthesizes a prioritized revision checklist. Use for submission-ready or R&R-stage papers where single-pass review…

pedrohcgs/claude-code-my-workflow · 70 tokens

slide-excellence

Multi-agent comprehensive slide review (visual + pedagogy + proofreading, plus TikZ / parity / substance conditionally). Use when user says "full review", "excellence pass", "comprehensive check", "review everything", "pre-release review", "slide excellence", or before teaching / shipping a deck. Fanout wrapper — for…

pedrohcgs/claude-code-my-workflow · 94 tokens

triage-inbox

Triage academic email and calendar (Gmail / Google Calendar via the session's MCP) into a prioritized digest plus a referee-obligations tracker — classifying referee requests, R&R and editor correspondence, co-author threads, seminar and conference invites, and grant/admin deadlines, and proposing a human-gated action…

pedrohcgs/claude-code-my-workflow · 132 tokens

scaffold-exercises

Scaffold a graded problem set with sections, problems, worked solutions, and short "why this matters" explainers across analytical, empirical, and coding types. Use when user says "make a problem set on X", "scaffold exercises for this lecture", "create practice problems", "generate homework with a solution key"…

pedrohcgs/claude-code-my-workflow · 101 tokens