lunwen-skill: Command for Claude Code

.claude/commands/lunwen.md

lunwen is a command for Claude Code from Doryoku1223/lunwen-skill. It costs 19 tokens per session (257 once invoked), scanned A, original, MIT.

A Chinese-language writing workflow for undergraduate theses and graduation design papers.

In plain words
What is it for?
Use it to write, shorten, imitate, format, and deliver Chinese thesis documents, including work based on templates, sample papers, code, references, screenshots, or DOCX files.
Why use it?
It organizes the required writing, formatting, reference, screenshot, and document checks in one process. It also helps keep chapters within their required word counts.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is Doryoku1223/lunwen-skill's own configuration. It tells Claude Code how to work on lunwen-skill 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 lunwen-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Doryoku1223/lunwen-skill. 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/Doryoku1223/lunwen-skill/main/.claude/commands/lunwen.md
Clone the repo
git clone --depth 1 https://github.com/Doryoku1223/lunwen-skill

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 lunwen

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/doryoku1223/lunwen-skill/lunwen"><img src="https://agentmods.dev/badge/commands/doryoku1223/lunwen-skill/lunwen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 257 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.00019 $0.00257
Opus 5 $0.00010 $0.00129
Sonnet 5 $0.00004 $0.00051
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

lunwen 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 10d 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/commands/lunwen.md · 20 lines

What it actually says

使用仓库中的 lunwen 技能完成论文任务。

执行要求:

  1. 先读取 SKILL.md
  2. 按其中的主流程执行
  3. 需要细则时按 prompts/references/tools/ 中的资源展开
  4. 默认输出中文
  5. 如果存在样文、模板、项目代码、参考文献约束、截图需求或 .docx 要求,全部纳入同一工作流
  6. 如果样文是 .docx,先运行 tools/analyze_docx.py 生成样式配置,再开始正文
  7. 写作期间必须用 tools/count_chapter_words.py 控字,并用 tools/ensure_thesis_assets.py 检查图表/截图闭环
  8. 如果存在截图占位,优先用 tools/build_screenshot_plan.py + tools/capture_thesis_screenshots.py 生成 image-map.json

ARGUMENTS: $ARGUMENTS

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. 10d ago First seen · 20 lines · 19 tokens per session scan A 97c52117d867

Subscribe to this mod's changes

lunwen is a command published in the GitHub repository Doryoku1223/lunwen-skill (644 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 257 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.