skills/67-econfin-workflow-toolkit/paper-self-revise/SKILL.md
Revise an academic paper based on internal review comments. Reads review report or annotated manuscript, then applies revisions one by one with user approval. Trigger when user says "self revise" / "paper-selfrevise" / "内部修改" / "根据审稿意见修改".
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research paper-self-reviseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill revises an academic paper (main.tex) based on internal review comments. The user provides a project folder containing the manuscript and review materials. The skill extracts review comments, then processes them one by one: displaying the comment, showing the original text, proposing a revision, and asking for user approval before applying the change.
Input: A project folder containing:
main.tex — the main manuscript (the file to be modified)review.txt, review.md, review.pdf, report.txt, report.md, report.pdf)annotated.tex, annotated.pdf) where annotations/comments serve as review commentsOutput: The revised main.tex with all approved changes applied in place.
$ARGUMENTS or ask).main.tex and all supporting materials (tables, figures) in the project folder to fully understand the paper.
b. Draft a review report in English (~3000 words), structured as:
review.pdf in the project folder using a Bash command to generate the PDF (e.g., via pandoc or a Python script with reportlab/fpdf). If pandoc is available, first write the content to review.md then convert: pandoc review.md -o review.pdf. If pandoc is not available, use Python to generate the PDF.
d. Count the words of the generated review report (count words in the source text — the review.md content or the raw English text used to build review.pdf, excluding markdown/PDF formatting markup). Use a Bash command such as wc -w review.md or a Python word-count snippet on the text.
e. Inform the user, displaying the actual word count: "审稿报告已生成并保存为 review.pdf(共 X 词),现在开始逐条修改。" — substitute X with the measured count.
f. Proceed to Phase 1 using the newly created review.pdf as the review material.main.tex (the target file to revise).review*, report*, referee*, comments*, annotated*, feedback*, revision*.main.tex in full to understand the current manuscript (skip if already read in Phase 0)..tex files: look for comments marked with % or annotation commands (e.g., \annotate{}, \comment{}, \todo{}, or any custom annotation commands)..txt / .md files: read the full content as review comments..pdf files: read the PDF content to extract review text..docx files: use Bash to extract text content.\added{}, \deleted{}, \replaced{}{}, \st{}, \sout{}, \hl{}, or similar commands from packages like changes, trackchanges, latexdiff).%-comments, \todo{}, \comment{}, etc.I have extracted the following review comments:
No. | Type | Location | Comment Summary
----|----------|---------------------------|------------------------------------------
1 | 批注 | Section 3, para 2 | Clarify the identification strategy
2 | 修订痕迹 | Section 4.1, Table 2 | Replace "effect" with "impact" in sentence about...
3 | 批注 | Section 5, para 1 | Strengthen the mechanism discussion
...
Total: N comments. Shall I proceed with revisions one by one?
For each review comment, follow this exact interaction pattern:
For annotation comments (批注):
───────────────────────────────────────────
批注 [X/N]:
[Full text of the reviewer's comment]
───────────────────────────────────────────
For tracked changes (修订痕迹):
───────────────────────────────────────────
修订痕迹 [X/N]:
[Description: e.g., "删除了 'XXX',替换为 'YYY'" or "插入了 'XXX'" or "删除了 'XXX'"]
───────────────────────────────────────────
Locate and display the relevant passage from main.tex:
Original text:
┌─────────────────────────────────────────┐
│ [The exact paragraph(s) from main.tex │
│ that this comment refers to] │
└─────────────────────────────────────────┘
If the comment refers to missing content (e.g., "add a discussion of X"), show the surrounding context where the new text should be inserted.
For annotation comments: Generate a revised version of the text that addresses the reviewer's comment.
For tracked changes: The proposed revision is the result of accepting the tracked change (i.e., applying the deletion/insertion/replacement as marked by the reviewer).
Proposed revision:
┌─────────────────────────────────────────┐
│ [The revised paragraph(s) that address │
│ the reviewer's comment] │
└─────────────────────────────────────────┘
Rationale: [Brief explanation of what was changed and why]
Use AskUserQuestion to ask:
Do you approve this revision? (yes / no / skip / edit)
- yes: Apply this revision to main.tex
- no: I will propose a new revision
- skip: Skip this comment and move to the next
- edit: You provide the revised text yourself
main.tex. Confirm the change was applied, then move to the next comment.After processing all comments:
Revision complete!
Applied: X / N items (A annotation comments + B tracked changes)
Skipped: Y items
Auto-filtered (formatting-only): Z items
Total changes made to main.tex: X
Modified sections:
- Section 3: 2 revisions
- Section 4: 1 revision
- Section 5: 3 revisions
main.tex to check for consistency or flow issues introduced by the revisions.\section{}, \subsection{}, \ref{}, \cite{}, \citep{}, math environments, etc.\label{}), cross-references (\ref{}), and citations intact unless the review specifically asks to change them.\cite{} / 70% \citep{}).---): Do not use the LaTeX em-dash --- in revised or newly written prose. It is a common AI-writing tell and clutters academic text. Replace each occurrence with the punctuation its grammatical role calls for: a parenthetical aside becomes parentheses (or commas if short); a connector before an explanation becomes a colon or semicolon; an abrupt shift becomes a period and two sentences; a list continuation becomes a comma plus a connecting word. Leave the en-dash -- used for page and number ranges untouched (e.g., pages={259--271}, 2012--2026). When a revision touches a paragraph, also strip any pre-existing --- from that paragraph as part of the edit..tex file from the project folder before proposing the revision, to ensure accuracy.ref.bib or similar bibliography files, modify those files as well.\vspace, \hspace, \newpage, \clearpage, figure/table positioning options like [htbp], etc.) must be automatically skipped without presenting to the user. Only substantive content comments are shown.tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.