[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJWNV7RFF58CGPSGWKBXWV":3,"skill-same:01M6FJWNV7RFF58CGPSGWKBXWV":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FJWNV7RFF58CGPSGWKBXWV","paper-write",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fwanshuiyin\u002FAuto-claude-code-research-in-sleep\u002Fpaper-write\u002FSKILL.md",[],[18,19,20],"write","paper","paper write","2026-11-10 10:12:30",false,"# Paper Write: Section-by-Section LaTeX Generation\n\nDraft a LaTeX paper based on: **$ARGUMENTS**\n\n## Constants\n\n- **REVIEWER_MODEL = `gpt-5.4`** — Model used via Codex MCP for section review. Must be an OpenAI model.\n- **TARGET_VENUE = `ICLR`** — Default venue. Supported: `ICLR`, `NeurIPS`, `ICML`. Determines style file and formatting.\n- **ANONYMOUS = true** — If true, use anonymous author block. Set `false` for camera-ready.\n- **MAX_PAGES = 9** — Main body page limit. Counts from first page to end of Conclusion section. References and appendix are NOT counted.\n- **DBLP_BIBTEX = true** — Fetch real BibTeX from DBLP\u002FCrossRef instead of LLM-generated entries. Eliminates hallucinated citations. Zero install required. Set `false` to use legacy behavior (LLM search + `[VERIFY]` markers).\n\n## Inputs\n\n1. **PAPER_PLAN.md** — outline with claims-evidence matrix, section plan, figure plan (from `\u002Fpaper-plan`)\n2. **NARRATIVE_REPORT.md** — the research narrative (primary source of content)\n3. **Generated figures** — PDF\u002FPNG files in `figures\u002F` (from `\u002Fpaper-figure`)\n4. **LaTeX includes** — `figures\u002Flatex_includes.tex` (from `\u002Fpaper-figure`)\n5. **Bibliography** — existing `.bib` file, or will create one\n\nIf no PAPER_PLAN.md exists, ask the user to run `\u002Fpaper-plan` first or provide a brief outline.\n\n## Templates\n\n### Venue-Specific Setup\n\nThe skill includes conference templates in `templates\u002F`. Select based on TARGET_VENUE:\n\n**ICLR:**\n```latex\n\\documentclass{article}\n\\usepackage{iclr2026_conference,times}\n% \\iclrfinalcopy  % Uncomment for camera-ready\n```\n\n**NeurIPS:**\n```latex\n\\documentclass{article}\n\\usepackage[preprint]{neurips_2025}\n% \\usepackage[final]{neurips_2025}  % Camera-ready\n```\n\n**ICML:**\n```latex\n\\documentclass[accepted]{icml2025}\n% Use [accepted] for camera-ready\n```\n\n### Project Structure\n\nGenerate this file structure:\n\n```\npaper\u002F\n├── main.tex                    # master file (includes sections)\n├── iclr2026_conference.sty     # or neurips_2025.sty \u002F icml2025.sty\n├── math_commands.tex           # shared math macros\n├── references.bib              # bibliography (filtered — only cited entries)\n├── sections\u002F\n│   ├── 0_abstract.tex\n│   ├── 1_introduction.tex\n│   ├── 2_related_work.tex\n│   ├── 3_method.tex            # or preliminaries, setup, etc.\n│   ├── 4_experiments.tex\n│   ├── 5_conclusion.tex\n│   └── A_appendix.tex          # proof details, extra experiments\n└── figures\u002F                    # symlink or copy from project figures\u002F\n```\n\n**Section files are FLEXIBLE**: If the paper plan has 6-8 sections, create corresponding files (e.g., `4_theory.tex`, `5_experiments.tex`, `6_analysis.tex`, `7_conclusion.tex`).\n\n## Workflow\n\n### Step 0: Backup and Clean\n\nIf `paper\u002F` already exists, back up to `paper-backup-{timestamp}\u002F` before overwriting. Never silently destroy existing work.\n\n**CRITICAL: Clean stale files.** When changing section structure (e.g., 5 sections → 7 sections), delete section files that are no longer referenced by `main.tex`. Stale files (e.g., old `5_conclusion.tex` left behind when conclusion moved to `7_conclusion.tex`) cause confusion and waste space.\n\n### Step 1: Initialize Project\n\n1. Create `paper\u002F` directory\n2. Copy venue template from `templates\u002F` — the template already includes:\n   - All standard packages (amsmath, hyperref, cleveref, booktabs, etc.)\n   - Theorem environments with `\\crefname{assumption}` fix\n   - Anonymous author block\n3. Generate `math_commands.tex` with paper-specific notation\n4. Create section files matching PAPER_PLAN structure\n\n**Author block (anonymous mode):**\n```latex\n\\author{Anonymous Authors}\n```\n\n### Step 2: Generate math_commands.tex\n\nCreate shared math macros based on the paper's notation:\n\n```latex\n% math_commands.tex — shared notation\n\\newcommand{\\R}{\\mathbb{R}}\n\\newcommand{\\E}{\\mathbb{E}}\n\\DeclareMathOperator*{\\argmin}{arg\\,min}\n\\DeclareMathOperator*{\\argmax}{arg\\,max}\n% Add paper-specific notation here\n```\n\n### Step 3: Write Each Section\n\nProcess sections in order. For each section:\n\n1. **Read the plan** — what claims, evidence, citations belong here\n2. **Read NARRATIVE_REPORT.md** — extract relevant content, findings, and quantitative results\n3. **Draft content** — write complete LaTeX (not placeholders)\n4. **Insert figures\u002Ftables** — use snippets from `figures\u002Flatex_includes.tex`\n5. **Add citations** — use `\\citep{}` \u002F `\\citet{}` (all three venues use `natbib`)\n\n#### Section-Specific Guidelines\n\n**§0 Abstract:**\n- Must be self-contained (understandable without reading the paper)\n- Structure: problem → approach → key result → implication\n- Include one concrete quantitative result\n- 150-250 words (check venue limit)\n- No citations, no undefined acronyms\n- No `\\begin{abstract}` — that's in main.tex\n\n**§1 Introduction:**\n- Open with a compelling hook (1-2 sentences, problem motivation)\n- State the gap clearly (\"However, ...\")\n- List contributions as a numbered or bulleted list\n- End with a brief roadmap (\"The rest of this paper is organized as...\")\n- Include the main result figure if space allows\n- Target: 1.5 pages\n\n**§2 Related Work:**\n- **MINIMUM 1 full page** (3-4 substantive paragraphs). Short related work sections are a common reviewer complaint.\n- Organize by category using `\\paragraph{Category Name.}`\n- Each category: 1 paragraph summarizing the line of work + 1-2 sentences positioning this paper\n- Do NOT just list papers — synthesize and compare\n- End each paragraph with how this paper relates\u002Fdiffers\n\n**§3 Method \u002F Preliminaries \u002F Setup:**\n- Define notation early (reference math_commands.tex)\n- Use `\\begin{definition}`, `\\begin{theorem}` environments for formal statements\n- For theory papers: include proof sketches of key results in main body, full proofs in appendix\n- For theory papers: include a **comparison table** of prior bounds vs. this paper\n- Include algorithm pseudocode if applicable (`algorithm2e` or `algorithmic`)\n- Target: 1.5-2 pages\n\n**§4 Experiments:**\n- Start with experimental setup (datasets, baselines, metrics, implementation details)\n- Main results table\u002Ffigure first\n- Then ablations and analysis\n- Every claim from the introduction must have supporting evidence here\n- Target: 2.5-3 pages\n\n**§5 Conclusion:**\n- Summarize contributions (NOT copy-paste from intro — rephrase)\n- Limitations (be honest — reviewers appreciate this)\n- Future work (1-2 concrete directions)\n- Ethics statement and reproducibility statement (if venue requires)\n- Target: 0.5 pages\n\n**Appendix:**\n- Proof details (full proofs of main-body theorems)\n- Additional experiments, ablations\n- Implementation details, hyperparameter tables\n- Additional visualizations\n\n### Step 4: Build Bibliography\n\n**CRITICAL: Only include entries that are actually cited in the paper.**\n\n1. Scan all `\\citep{}` and `\\citet{}` references in the drafted sections\n2. Build a citation key list\n3. For each citation key:\n   - Check existing `.bib` files in the project\u002Fnarrative docs\n   - If not found and **DBLP_BIBTEX = true**, use the verified fetch chain below\n   - If not found and **DBLP_BIBTEX = false**, search arXiv\u002FScholar for correct BibTeX\n   - **NEVER fabricate BibTeX entries** — mark unknown ones with `[VERIFY]` comment\n4. Write `references.bib` containing ONLY cited entries (no bloat)\n\n#### Verified BibTeX Fetch (when DBLP_BIBTEX = true)\n\nThree-step fallback chain — zero install, zero auth, all real BibTeX:\n\n**Step A: DBLP (best quality — full venue, pages, editors)**\n```bash\n# 1. Search by title + first author\ncurl -s \"https:\u002F\u002Fdblp.org\u002Fsearch\u002Fpubl\u002Fapi?q=TITLE+AUTHOR&format=json&h=3\"\n# 2. Extract DBLP key from result (e.g., conf\u002Fnips\u002FVaswaniSPUJGKP17)\n# 3. Fetch real BibTeX\ncurl -s \"https:\u002F\u002Fdblp.org\u002Frec\u002F{key}.bib\"\n```\n\n**Step B: CrossRef DOI (fallback — works for arXiv preprints)**\n```bash\n# If paper has a DOI or arXiv ID (arXiv DOI = 10.48550\u002FarXiv.{id})\ncurl -sLH \"Accept: application\u002Fx-bibtex\" \"https:\u002F\u002Fdoi.org\u002F{doi}\"\n```\n\n**Step C: Mark `[VERIFY]` (last resort)**\nIf both DBLP and CrossRef return nothing, mark the entry with `% [VERIFY]` comment. Do NOT fabricate.\n\n**Why this matters:** LLM-generated BibTeX frequently hallucinates venue names, page numbers, or even co-authors. DBLP and CrossRef return publisher-verified metadata. Upstream skills (`\u002Fresearch-lit`, `\u002Fnovelty-check`) may mention papers from LLM memory — this fetch chain is the gate that prevents hallucinated citations from entering the final `.bib`.\n\n**Automated bib cleaning** — use this Python pattern to extract only cited entries:\n\n```python\nimport re\n# 1. Grep all \\citep{...} and \\citet{...} from all .tex files\n# 2. Extract unique keys (handle multi-cite like \\citep{a,b,c})\n# 3. Parse the full .bib file, keep only entries whose key is in the cited set\n# 4. Write the filtered bib\n```\n\nThis prevents bib bloat (e.g., 948 lines → 215 lines in testing).\n\n**Citation verification rules (from claude-scholar + Imbad0202):**\n1. Every BibTeX entry must have: author, title, year, venue\u002Fjournal\n2. Prefer published venue versions over arXiv preprints (if published)\n3. Use consistent key format: `{firstauthor}{year}{keyword}` (e.g., `ho2020denoising`)\n4. Double-check year and venue for every entry\n5. Remove duplicate entries (same paper with different keys)\n\n### Step 5: De-AI Polish (from kgraph57\u002Fpaper-writer-skill)\n\nAfter drafting all sections, scan for common AI writing patterns and fix them:\n\n**Content patterns to fix:**\n- Significance inflation (\"groundbreaking\", \"revolutionary\" → use measured language)\n- Formulaic transitions (\"In this section, we...\" → remove or vary)\n- Generic conclusions (\"This work opens exciting new avenues\" → be specific)\n\n**Language patterns to fix (watch words):**\n- Replace: delve, pivotal, landscape, tapestry, underscore, noteworthy, intriguingly\n- Remove filler: \"It is worth noting that\", \"Importantly,\", \"Notably,\"\n- Avoid rule-of-three lists (\"X, Y, and Z\" appearing repeatedly)\n- Don't start consecutive sentences with \"This\" or \"We\"\n\n### Step 6: Cross-Review with REVIEWER_MODEL\n\nSend the complete draft to GPT-5.4 xhigh:\n\n```\nmcp__codex__codex:\n  model: gpt-5.4\n  config: {\"model_reasoning_effort\": \"xhigh\"}\n  prompt: |\n    Review this [VENUE] paper draft (main body, excluding appendix).\n\n    Focus on:\n    1. Does each claim from the intro have supporting evidence?\n    2. Is the writing clear, concise, and free of AI-isms?\n    3. Any logical gaps or unclear explanations?\n    4. Does it fit within [MAX_PAGES] pages (to end of Conclusion)?\n    5. Is related work sufficiently comprehensive (≥1 page)?\n    6. For theory papers: are proof sketches adequate?\n    7. Are figures\u002Ftables clearly described and properly referenced?\n\n    For each issue, specify: severity (CRITICAL\u002FMAJOR\u002FMINOR), location, and fix.\n\n    [paste full draft text]\n```\n\nApply CRITICAL and MAJOR fixes. Document MINOR issues for the user.\n\n### Step 7: Reverse Outline Test (from Research-Paper-Writing-Skills)\n\nAfter drafting all sections:\n\n1. **Extract topic sentences** — pull the first sentence of every paragraph\n2. **Read them in sequence** — they should form a coherent narrative on their own\n3. **Check claim coverage** — every claim from the Claims-Evidence Matrix must appear\n4. **Check evidence mapping** — every experiment\u002Ffigure must support a stated claim\n5. **Fix gaps** — if a topic sentence doesn't advance the story, rewrite the paragraph\n\n### Step 8: Final Checks\n\nBefore declaring done:\n\n- [ ] All `\\ref{}` and `\\label{}` match (no undefined references)\n- [ ] All `\\citep{}` \u002F `\\citet{}` have corresponding BibTeX entries\n- [ ] No author information in anonymous mode\n- [ ] Figure\u002Ftable numbering is correct\n- [ ] Page count within MAX_PAGES (main body to Conclusion end)\n- [ ] No TODO\u002FFIXME\u002FXXX markers left in the text\n- [ ] No `[VERIFY]` markers left unchecked\n- [ ] Abstract is self-contained (understandable without reading the paper)\n- [ ] Title is specific and informative (not generic)\n- [ ] Related work is ≥1 full page\n- [ ] references.bib contains ONLY cited entries (no bloat)\n- [ ] **No stale section files** — every .tex in `sections\u002F` is `\\input`ed by `main.tex`\n- [ ] **Section files match main.tex** — file numbering and `\\input` paths are consistent\n\n## Key Rules\n\n- **Large file handling**: If the Write tool fails due to file size, immediately retry using Bash (`cat \u003C\u003C 'EOF' > file`) to write in chunks. Do NOT ask the user for permission — just do it silently.\n\n- **Do NOT generate author names, emails, or affiliations** — use anonymous block or placeholder\n- **Write complete sections, not outlines** — the output should be compilable LaTeX\n- **One file per section** — modular structure for easy editing\n- **Every claim must cite evidence** — cross-reference the Claims-Evidence Matrix\n- **Compile-ready** — the output should compile with `latexmk` without errors (modulo missing figures)\n- **No over-claiming** — use hedging language (\"suggests\", \"indicates\") for weak evidence\n- **Venue style matters** — all three venues (ICLR\u002FNeurIPS\u002FICML) use `natbib` (`\\citep`\u002F`\\citet`)\n- **Page limit = main body to Conclusion** — references and appendix do NOT count\n- **Clean bib** — references.bib must only contain entries that are actually `\\cite`d\n- **Section count is flexible** — match PAPER_PLAN structure, don't force into 5 sections\n- **Backup before overwrite** — never destroy existing `paper\u002F` directory without backing up\n\n## Writing Quality Reference\n\nPrinciples from [Research-Paper-Writing-Skills](https:\u002F\u002Fgithub.com\u002FMaster-cai\u002FResearch-Paper-Writing-Skills):\n\n1. **One message per paragraph** — each paragraph makes exactly one point\n2. **Topic sentence first** — the first sentence states the paragraph's message\n3. **Explicit transitions** — connect paragraphs with logical connectors\n4. **Reverse outline test** — extract topic sentences; they should form a coherent narrative\n\nDe-AI patterns from [kgraph57\u002Fpaper-writer-skill](https:\u002F\u002Fgithub.com\u002Fkgraph57\u002Fpaper-writer-skill):\n\n5. **No AI watch words** — delve, pivotal, landscape, tapestry, underscore\n6. **No significance inflation** — groundbreaking, revolutionary, paradigm shift\n7. **No formulaic structures** — vary sentence openings and transitions\n\n## Acknowledgements\n\nWriting methodology adapted from [Research-Paper-Writing-Skills](https:\u002F\u002Fgithub.com\u002FMaster-cai\u002FResearch-Paper-Writing-Skills) (CCF award-winning methodology). Citation verification from [claude-scholar](https:\u002F\u002Fgithub.com\u002FGalaxy-Dawn\u002Fclaude-scholar) and [Imbad0202\u002Facademic-research-skills](https:\u002F\u002Fgithub.com\u002FImbad0202\u002Facademic-research-skills). De-AI polish from [kgraph57\u002Fpaper-writer-skill](https:\u002F\u002Fgithub.com\u002Fkgraph57\u002Fpaper-writer-skill). Backup mechanism from [baoyu-skills](https:\u002F\u002Fgithub.com\u002Fjimliu\u002Fbaoyu-skills).\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fwanshuiyin\u002FAuto-claude-code-research-in-sleep\u002Fpaper-write",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill paper-write",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill paper-write",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill paper-write","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fwanshuiyin\u002FAuto-claude-code-research-in-sleep\u002Fpaper-write\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]