paper-write
Skill7 starsChanged 2 months agoApache-2.0View on GitHub
Draft, revise, frame, review, or finalize top-venue ML/AI papers (ICML, NeurIPS, ICLR) in standalone English and Chinese sections, abstracts, introductions, theory, or rebuttals. 起草、改写、润色、审稿或定稿顶会中英文论文、摘要、引言与审稿回复。Do NOT use for casual partner chat (follow AGENTS.md), literature search (use paper_search), figure drawing (use paper-figure-craft), or pre-coding architecture/idea vetting (use research-gate).
12 other projects use a version of this.
Adopted by
Most recently taken up by
- cabbage2000-lab/paper-tutor-skillstheir own version, first seen Nov 8, 2026
- wangyi0403/dl-research-workflowtheir own version, first seen Oct 13, 2026
- PUNCKe/manuscript-context-integritytheir own version, first seen Sep 19, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
- wanshuiyin/Auto-claude-code-research-in-sleeptheir own version, first seen Jul 15, 2026
- catalsqlb-cmd/Prism-Htheir own version, first seen May 29, 2026
Used with
Projects with it also use paper-illustration, auto-paper-improvement-loop and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
raja21068Skillpaper-illustration
Generate publication-quality AI illustrations for academic papers using Gemini image generation. Creates architecture diagrams, method illustrations with Claude-supervised iterative refinement loop. Use when user says \"生成图表\", \"画架构图\", \"AI绘图\", \"paper illustration\", \"generate diagram\", or needs visual figures for papers.
Also in 6 projects that use this
Yusong-EnceladusSkillauto-paper-improvement-loop
Autonomously improve a generated paper via GPT-5.4 xhigh review → implement fixes → recompile, for 2 rounds. Use when user says \"改论文\", \"improve paper\", \"论文润色循环\", \"auto improve\", or wants to iteratively polish a generated paper.
Also in 4 projects that use this
raja21068Skilldeepxiv
Search and progressively read open-access academic papers through DeepXiv. Use when the user wants layered paper access, section-level reading, trending papers, or DeepXiv-backed literature retrieval.
Also in 4 projects that use this
Yusong-EnceladusSkilldse-loop
Autonomous design space exploration loop for computer architecture and EDA. Runs a program, analyzes results, tunes parameters, and iterates until objective is met or timeout. Use when user says \"DSE\", \"design space exploration\", \"sweep parameters\", \"optimize\", \"find best config\", or wants iterative parameter tuning.
Also in 4 projects that use this
- +8 more from raja21068
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- wanshuiyin/Auto-claude-code-research-in-sleep★ 20ksame name
- xstongxue/best-skills★ 3.2ksame name
- cabbage2000-lab/paper-tutor-skills★ 48same name
- Chanw-research/claude-code-paper-writing★ 42same name
- catalsqlb-cmd/Prism-H★ 16same name
- Yusong-Enceladus/claude-skills★ 8same name
- b1mango/Agent-Skills★ 4same name
- wangyi0403/dl-research-workflow★ 4same name
- PUNCKe/manuscript-context-integrity★ 2same name
- raja21068/AutoResearch★ 2same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- latex-typesetSkill
- paper-figure-craftSkill
- research-gateSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read top-venue-writing-rules.md in full.
- Very specific: line 19
After writing, run the clarity check and paper_gate.py.
- Very specific: line 24
Default layout during research is clean single-column arXiv preprint ("venue": "arxiv" in paper_gate.json).
- Distinctive: line 26
Use Abstract → Introduction → Setup → Method → [Optional Theoretical Justification] → Experiments → Related Work → Discussion & Limitations …
- Distinctive: line 36
Keep the Abstract free of internal module checklists.
- Distinctive: line 40
Narrative Planning Rule: Before drafting, map the problem, evidence of the bottleneck, proposed mechanism and supported result.
- Very specific: line 42
Pre-Compile De-AI Pass: Run check_sentence_clarity.py --submission-mode --strict-deai --draft-dir <paper-dir> on both languages and review …
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Manuscript writing
The lead agent writes and translates all manuscript prose. Use the lead model as the default writer. Keep pre-code checklists out of drafting.
Draft vs. Freeze (Anti-Amnesia). Do not let style or formatting rules stall early drafting: during everyday compilation, record known gaps with % gate-sorry: <check> — <reason> or TBD so the PDF still delivers while every deferred item stays counted and listed. Before submission or --freeze, run with --no-sorry and --require-headline-bindings so every deferred debt turns back into a hard check and nothing is forgotten.
Before writing anything, read (long files in slices of at most 200 lines):
- Read top-venue-writing-rules.md in full.
- For an abstract, introduction or theorem narrative, read exemplars/index.md, then one matching card and its original passage.
- Pre-Draft 3-Question Positioning Gate (hard gate before drafting Abstract/Intro/Method): Run a read-only
independent-reviewer(Domain Skeptic + Devil's Advocate) check against the locked Fact Ledger and eval code, answering three questions (if evidence is missing, narrow the claim instead of spinning):- Equal-budget ablation: If shared components are split at matched capacity and compute, what joint capability is actually lost? (No evidence → do not claim "unification".)
- Premise-to-code binding: Which exact update line in code and independent measurement supports each theorem hypothesis, and does any lower bound cover the actual baseline algorithm in code?
- Comparability & wall-clock symmetry: After adding same-supervision amortized baselines, end-to-end wall-clock latency (
ms), and real-environment zero-action / trivial baselines, which headline claim still holds?
- After writing, run the clarity check and
paper_gate.py. Passingpaper_gate.pymeans deliverable build/format parity, not scientific positioning or empirical validity.
Draft
- Write independent
latex/sections_en/00..08.texandlatex/sections_zh/00..08.texmodules. Include them fromlatex/main_en.texandlatex/main_zh.tex. Single-source multi-wrapper rule: never clonesections_*into separatearxiv_en/orarxiv_zh/folders; put all target wrappers (main_arxiv_en.tex,main_arxiv_zh.tex, venue wrappers) and theirpaper_gate*.jsonconfigs insidelatex/so every PDF builds from identical source bytes. Use--markdownwhen assembling a legacy Markdown draft. - Default layout during research is clean single-column arXiv preprint (
"venue": "arxiv"inpaper_gate.json). When switching to a target conference/journal wrapper (main_<venue>.tex+"venue"/"page_limit"), runpaper_gate.py --compile --layout-check --render-pagesto check page limits, overfull boxes and margins automatically and visually inspect the rendered PNG pages with the Main Model. - Generate
\input{tables/auto_*.tex}directly from experimentRESULTS.jsonviaverify_manuscript_formal.py --results-to-texinstead of hand-copying numbers. - Use Abstract → Introduction → Setup → Method → [Optional Theoretical Justification] → Experiments → Related Work → Discussion & Limitations → Appendix. Swap Method and Theory only for pure theory; omit Theory and extra table slots cleanly when empirical evidence carries the paper instead of padding weak claims into a fixed template.
- Open the abstract and introduction with a concrete problem, why it matters and where current methods fail. Name the method and its capability by abstract sentence 3.
- State only supported claims. Cut lab tags, repo paths, workflow slogans, coined shorthand, proxy-metric padding and speculative side claims. Keep protocols, speedups and unit tests out of the headline.
- Describe completed results and protocols in the present or past tense, keep plans, reruns, internal stages and submission schedules out of the prose, and mark pending numbers as TBD in tables. Sentence clarity in submission mode and the paper gate both flag internal workflow wording.
- Match prose and figures to code. Give each metric its direction (↑/↓), denominator, seed count and precision. Separate three-seed main tables from single-seed appendix tables. Use plain type for numbers, hyperparameters and model names.
- Write one idea per sentence and connect sentences through cause and consequence. Sentence-length numbers are p90 diagnostics reported by
check_sentence_clarity.py, not drafting targets: it flags English sentences above 25 words (maximum 35) or Chinese sentences above 42 Han characters (maximum 60), and comma-plus-semicolon counts above EN 3 / ZH 2 (hard EN 4 / ZH 3). Fix a flagged sentence by untangling its logic, not by chopping it into fragments. Avoid ≥3 的 and nested 在…中通过…以… chains. - Give each main-text theorem 1–2 intuition sentences, a statement with ≤5 active symbols and a proof sketch of ≤5 steps. Move algebra, auxiliary constants and edge cases to the appendix.
De-AI hard rules
- Keep the Abstract free of internal module checklists. Name the method and its capability there. Introduce individual modules in Method.
- Connect sentences through cause and consequence. Read paragraphs aloud and revise runs of similarly short sentences with parallel openings.
- Draft Chinese independently from the claims and evidence. Explain the argument aloud in natural Chinese before writing, then check EN/ZH claim parity. Cut calques such as
记分反事实查询,对称排版,零点归零门控, and学得X.
Narrative Planning Rule. Before drafting, map the problem, evidence of the bottleneck, proposed mechanism and supported result. Give each paragraph a job in that sequence and identify the evidence supporting its claim.
Pre-Compile De-AI Pass. Run check_sentence_clarity.py --submission-mode --strict-deai --draft-dir <paper-dir> on both languages and review the flagged passages in context before compiling. See the six mechanical checks.
Anti-Autoresearch Style DNA & Content-Lock Rewrite. Before drafting or rewriting any Abstract, Introduction, Theory narrative, or Conclusion, read style-dna-anti-autoresearch.md for advisory word/decimal budgets, Information Layering, and the Two-Stage Content-Lock Protocol (FACT_LEDGER.md → clean-room fresh rewrite → ledger back-check). Style DNA improves readability only; scientific positioning is governed by the Pre-Draft 3-Question Positioning Gate above.
Lead–GPT Complementarity & Clean-Room Voice Charter
The Lead owns the thesis, framing, core manuscript voice, and final visual PNG sign-off. Anchor that voice to a relevant card in exemplars/ and its original passage. Offload mechanical TeX/BibTeX/table/ref/acronym fixes, layout/page-limit loops, and EN↔ZH numeric/label parity checks to workers via scripts/dispatch_gpt.py --skill latex-typeset (automatically enforcing --verify-prose), alongside counterexamples, Lean↔LaTeX checks, and read-only evaluations. The Lead drafts from manuscript evidence and lead_action_brief.md. Keep raw worker commentary outside the Lead's writing context. Apply scope caveats to §7 Limitations and state the supported claims directly in the Abstract, Introduction and Method.
Assemble and freeze
LaTeX-native papers. After every edit run python scripts/paper_gate.py PAPER_DIR --fix --compile and deliver only when it exits 0. scripts/paper_gate_watch.py (started at logon) also runs the gate without --fix 30 s after the last save and notifies on failure. It copies the PDF to deliver_as itself (one path or a list; an absolute path such as the project's Obsidian library delivers the stage PDF there). It auto-fixes registered term variants, undefined first-use acronyms and self-range cross-references, then compiles and checks duplicate display equations, figure-only acronyms, number claims against same-named main-table rows, floats placed ≥2 pages late or after the Conclusion, and unresolved refs, and tasks or datasets that appear only in the abstract or conclusion (scope). When you introduce an acronym, coined term or a new name for an existing module, register it in PAPER_DIR/paper_gate.json in the same edit. Keep that registration in the paper configuration. Allowed placeholders such as TBD are counted, not failed. An acknowledged gap works like Lean's sorry: % gate-sorry: <check> — <reason> on the flagged line or the line above turns that error into a counted sorry and the PDF is still delivered; a marker without a reason or matching no error fails; build the submission with --no-sorry.
Register manuscript-wide aliases in terms and context-dependent expressions in term_context with a reason. Add --semantic for advisory duplicate, vocabulary and evidence checks through the local EmbeddingGemma service. Review candidates in their source sentences before promoting aliases. See LaTeX terminology and evidence for the configuration and report. When the gate emits PAPER_GATE_AUTOFIX_APPLIED, read its writer_review.json, check the changed passages for meaning and agreement, and use the approved names in further drafting. Correct any context-specific mismatch before delivering.
- Tier 1. For bilingual drafts, run
verify_manuscript_formal.py,check_sentence_clarity.pyin submission mode on both languages, andpaper_gate.py --compilewithlatex/paper_gate.jsonandlatex/paper_gate_zh.jsonin order. Each config supplies its PDF delivery path viadeliver_as. For LaTeX, parity compares section names, labels and decimal/percentage counts in each section. Use--require-headline-bindingsto bind every headline decimal or percentage to the ledger. LaTeX freeze briefs contain text extracted from the.texsections. Audits record the raw source hashes and scope their checks to the correspondinglatex/sections_en/*.texandlatex/sections_zh/*.texpaths. Legacy section paths in ledger bindings resolve to their LaTeX counterparts. - Tier 2. Before a major freeze, run
freeze_review.py, which sends both reviews below in parallel, stamps the staged hashes into the reports and checks them, so nobody relays reviews by hand. First rerunverify_manuscript_formal.py --require-headline-bindings, so every decimal or percentage in sections 00–01 (EN and ZH) binds to the ledger. Require a read-onlyindependent-reviewerreview of math, claims and entailment (with configurable--auditormodel). Its JSON verdict must bePASSand match the staged manuscript hashes. Also require a read-onlyeditorial-reviewereditorial review (codex exec -s read-only) on the same drafts for framing, flow and EN/ZH fidelity. The workflow uses only the lead model and independent reviewers; the lead model writes, so it never approves its own draft. Give both reviewers the drafts plus the bindings, ledger rows andrun_meta.json, never the lead's summary or verdict. Run them independently; neither sees the other's report. A blocking finding that survives a mechanical recheck stops the freeze. Stop reviewers after review. Changed drafts require fresh reviews. Each finding in the audit JSON carries an id, severity, type, status, evidence and a countercheck; an open critical or major finding also needs a resolution condition and cannot coexist withPASS. Build what reviewers read withscripts/build_review_brief.py: the first freeze sends every section; later freezes send only changed sections (as diffs), open findings and the bindings they use, and every changed section needs an audit item whosescopenames it. The audit records the brief'ssection_sha256. On a re-review, pass the previous audit with--prior-audit-json: every earlier open finding must reappear with its status, and each finding states its origin (inherited,revision_regression,previously_undetected,newly_revealed_by_evidence,external_standard_change).
Rebuttal
Follow rebuttal and revision: snapshot the submitted source, keep one ledger with a verbatim quote per reviewer comment, tag every reply paragraph with its comment id, bind every number and promise only what the ledger records. scripts/check_rebuttal.py check must print PASS before any reviewer reads the replies. The reviewer then gets QA.json, the ledger, the replies and the reviews, not the whole paper.
Read on demand
- Writing exemplars: before drafting an abstract, introduction or theorem narrative, read one matching card and its original passage.
- Claim scope and quantitative framing · Venue terminology · Prose and theorem rules
- Titles and introductions · Abstracts · Process leakage
- Peer review · Revision patches · Read ARS scope before following any ARS step that names a script or
shared/file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

