[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJWT078FB08SZ618TBT0YR":3,"skill-same:01M6FJWT078FB08SZ618TBT0YR":61},{"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":30,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6FJWT078FB08SZ618TBT0YR","paper-writing",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",66,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fwanshuiyin\u002FAuto-claude-code-research-in-sleep\u002Fpaper-writing\u002FSKILL.md",[17,22,25],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[31,32,33],"writing","Paper Writing","paper","2026-11-10 10:12:30",false,"# Workflow 3: Paper Writing Pipeline\n\nOrchestrate a complete paper writing workflow for: **$ARGUMENTS**\n\n## Overview\n\nThis skill chains five sub-skills into a single automated pipeline:\n\n```\n\u002Fpaper-plan → \u002Fpaper-figure → \u002Fpaper-write → \u002Fpaper-compile → \u002Fauto-paper-improvement-loop\n  (outline)     (plots)        (LaTeX)        (build PDF)       (review & polish ×2)\n```\n\nEach phase builds on the previous one's output. The final deliverable is a polished, reviewed `paper\u002F` directory with LaTeX source and compiled PDF.\n\n## Constants\n\n- **VENUE = `ICLR`** — Target venue. Options: `ICLR`, `NeurIPS`, `ICML`. Affects style file, page limit, citation format.\n- **MAX_IMPROVEMENT_ROUNDS = 2** — Number of review→fix→recompile rounds in the improvement loop.\n- **REVIEWER_MODEL = `gpt-5.4`** — Model used via Codex MCP for plan review, figure review, writing review, and improvement loop.\n- **AUTO_PROCEED = true** — Auto-continue between phases. Set `false` to pause and wait for user approval after each phase.\n- **HUMAN_CHECKPOINT = false** — When `true`, the improvement loop (Phase 5) pauses after each round's review to let you see the score and provide custom modification instructions. When `false` (default), the loop runs fully autonomously. Passed through to `\u002Fauto-paper-improvement-loop`.\n\n> Override inline: `\u002Fpaper-writing \"NARRATIVE_REPORT.md\" — venue: NeurIPS, human checkpoint: true`\n\n## Inputs\n\nThis pipeline accepts one of:\n\n1. **`NARRATIVE_REPORT.md`** (best) — structured research narrative with claims, experiments, results, figures\n2. **Research direction + experiment results** — the skill will help draft the narrative first\n3. **Existing `PAPER_PLAN.md`** — skip Phase 1, start from Phase 2\n\nThe more detailed the input (especially figure descriptions and quantitative results), the better the output.\n\n## Pipeline\n\n### Phase 1: Paper Plan\n\nInvoke `\u002Fpaper-plan` to create the structural outline:\n\n```\n\u002Fpaper-plan \"$ARGUMENTS\"\n```\n\n**What this does:**\n- Parse NARRATIVE_REPORT.md for claims, evidence, and figure descriptions\n- Build a **Claims-Evidence Matrix** — every claim maps to evidence, every experiment supports a claim\n- Design section structure (5-8 sections depending on paper type)\n- Plan figure\u002Ftable placement with data sources\n- Scaffold citation structure\n- GPT-5.4 reviews the plan for completeness\n\n**Output:** `PAPER_PLAN.md` with section plan, figure plan, citation scaffolding.\n\n**Checkpoint:** Present the plan summary to the user.\n\n```\n? Paper plan complete:\n- Title: [proposed title]\n- Sections: [N] ([list])\n- Figures: [N] auto-generated + [M] manual\n- Target: [VENUE], [PAGE_LIMIT] pages\n\nShall I proceed with figure generation?\n```\n\n- **User approves** (or AUTO_PROCEED=true) → proceed to Phase 2.\n- **User requests changes** → adjust plan and re-present.\n\n### Phase 2: Figure Generation\n\nInvoke `\u002Fpaper-figure` to generate data-driven plots and tables:\n\n```\n\u002Fpaper-figure \"PAPER_PLAN.md\"\n```\n\n**What this does:**\n- Read figure plan from PAPER_PLAN.md\n- Generate matplotlib\u002Fseaborn plots from JSON\u002FCSV data\n- Generate LaTeX comparison tables\n- Create `figures\u002Flatex_includes.tex` for easy insertion\n- GPT-5.4 reviews figure quality and captions\n\n**Output:** `figures\u002F` directory with PDFs, generation scripts, and LaTeX snippets.\n\n> **Scope:** Auto-generates ~60% of figures (data plots, comparison tables). Architecture diagrams, pipeline figures, and qualitative result grids must be created manually and placed in `figures\u002F` before proceeding. See `\u002Fpaper-figure` SKILL.md for details.\n\n**Checkpoint:** List generated vs manual figures.\n\n```\n? Figures complete:\n- Auto-generated: [list]\n- Manual (need your input): [list]\n- LaTeX snippets: figures\u002Flatex_includes.tex\n\n[If manual figures needed]: Please add them to figures\u002F before I proceed.\n[If all auto]: Shall I proceed with LaTeX writing?\n```\n\n### Phase 3: LaTeX Writing\n\nInvoke `\u002Fpaper-write` to generate section-by-section LaTeX:\n\n```\n\u002Fpaper-write \"PAPER_PLAN.md\"\n```\n\n**What this does:**\n- Write each section following the plan, with proper LaTeX formatting\n- Insert figure\u002Ftable references from `figures\u002Flatex_includes.tex`\n- Build `references.bib` from citation scaffolding\n- Clean stale files from previous section structures\n- Automated bib cleaning (remove uncited entries)\n- De-AI polish (remove \"delve\", \"pivotal\", \"landscape\"...)\n- GPT-5.4 reviews each section for quality\n\n**Output:** `paper\u002F` directory with `main.tex`, `sections\u002F*.tex`, `references.bib`, `math_commands.tex`.\n\n**Checkpoint:** Report section completion.\n\n```\n✍️ LaTeX writing complete:\n- Sections: [N] written ([list])\n- Citations: [N] unique keys in references.bib\n- Stale files cleaned: [list, if any]\n\nShall I proceed with compilation?\n```\n\n### Phase 4: Compilation\n\nInvoke `\u002Fpaper-compile` to build the PDF:\n\n```\n\u002Fpaper-compile \"paper\u002F\"\n```\n\n**What this does:**\n- `latexmk -pdf` with automatic multi-pass compilation\n- Auto-fix common errors (missing packages, undefined refs, BibTeX syntax)\n- Up to 3 compilation attempts\n- Post-compilation checks: undefined refs, page count, font embedding\n- Precise page verification via `pdftotext`\n- Stale file detection\n\n**Output:** `paper\u002Fmain.pdf`\n\n**Checkpoint:** Report compilation results.\n\n```\n? Compilation complete:\n- Status: SUCCESS\n- Pages: [X] (main body) + [Y] (references) + [Z] (appendix)\n- Within page limit: YES\u002FNO\n- Undefined references: 0\n- Undefined citations: 0\n\nShall I proceed with the improvement loop?\n```\n\n### Phase 5: Auto Improvement Loop\n\nInvoke `\u002Fauto-paper-improvement-loop` to polish the paper:\n\n```\n\u002Fauto-paper-improvement-loop \"paper\u002F\"\n```\n\n**What this does (2 rounds):**\n\n**Round 1:** GPT-5.4 xhigh reviews the full paper → identifies CRITICAL\u002FMAJOR\u002FMINOR issues → Claude Code implements fixes → recompile → save `main_round1.pdf`\n\n**Round 2:** GPT-5.4 xhigh re-reviews with conversation context → identifies remaining issues → Claude Code implements fixes → recompile → save `main_round2.pdf`\n\n**Typical improvements:**\n- Fix assumption-model mismatches\n- Soften overclaims to match evidence\n- Add missing interpretations and notation\n- Strengthen limitations section\n- Add theory-aligned experiments if needed\n\n**Output:** Three PDFs for comparison + `PAPER_IMPROVEMENT_LOG.md`.\n\n**Format check** (included in improvement loop Step 8): After final recompilation, auto-detect and fix overfull hboxes (content exceeding margins), verify page count vs venue limit, and ensure compact formatting. Any overfull > 10pt is fixed before generating the final PDF.\n\n### Phase 6: Final Report\n\n```markdown\n# Paper Writing Pipeline Report\n\n**Input**: [NARRATIVE_REPORT.md or topic]\n**Venue**: [ICLR\u002FNeurIPS\u002FICML]\n**Date**: [today]\n\n## Pipeline Summary\n\n| Phase | Status | Output |\n|-------|--------|--------|\n| 1. Paper Plan | ✅ | PAPER_PLAN.md |\n| 2. Figures | ✅ | figures\u002F ([N] auto + [M] manual) |\n| 3. LaTeX Writing | ✅ | paper\u002Fsections\u002F*.tex ([N] sections, [M] citations) |\n| 4. Compilation | ✅ | paper\u002Fmain.pdf ([X] pages) |\n| 5. Improvement | ✅ | [score0]\u002F10 → [score2]\u002F10 |\n\n## Improvement Scores\n| Round | Score | Key Changes |\n|-------|-------|-------------|\n| Round 0 | X\u002F10 | Baseline |\n| Round 1 | Y\u002F10 | [summary] |\n| Round 2 | Z\u002F10 | [summary] |\n\n## Deliverables\n- paper\u002Fmain.pdf — Final polished paper\n- paper\u002Fmain_round0_original.pdf — Before improvement\n- paper\u002Fmain_round1.pdf — After round 1\n- paper\u002Fmain_round2.pdf — After round 2\n- paper\u002FPAPER_IMPROVEMENT_LOG.md — Full review log\n\n## Remaining Issues (if any)\n- [items from final review that weren't addressed]\n\n## Next Steps\n- [ ] Visual inspection of PDF\n- [ ] Add any missing manual figures\n- [ ] Submit to [venue] via OpenReview \u002F CMT \u002F HotCRP\n```\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- **Don't skip phases.** Each phase builds on the previous one — skipping leads to errors.\n- **Checkpoint between phases** when AUTO_PROCEED=false. Present results and wait for approval.\n- **Manual figures first.** If the paper needs architecture diagrams or qualitative results, the user must provide them before Phase 3.\n- **Compilation must succeed** before entering the improvement loop. Fix all errors first.\n- **Preserve all PDFs.** The user needs round0\u002Fround1\u002Fround2 for comparison.\n- **Document everything.** The pipeline report should be self-contained.\n- **Respect page limits.** If the paper exceeds the venue limit, suggest specific cuts before the improvement loop.\n\n## Composing with Other Workflows\n\n```\n\u002Fidea-discovery \"direction\"         ← Workflow 1: find ideas\nimplement                           ← write code\n\u002Frun-experiment                     ← deploy experiments\n\u002Fauto-review-loop \"paper topic\"     ← Workflow 2: iterate research\n\u002Fpaper-writing \"NARRATIVE_REPORT.md\"  ← Workflow 3: you are here\n                                         submit! ?\n\nOr use \u002Fresearch-pipeline for the Workflow 1+2 end-to-end flow,\nthen \u002Fpaper-writing for the final writing step.\n```\n\n## Typical Timeline\n\n| Phase | Duration | Can sleep? |\n|-------|----------|------------|\n| 1. Paper Plan | 5-10 min | No |\n| 2. Figures | 5-15 min | No |\n| 3. LaTeX Writing | 15-30 min | Yes ✅ |\n| 4. Compilation | 2-5 min | No |\n| 5. Improvement | 15-30 min | Yes ✅ |\n\n**Total: ~45-90 min** for a full paper from narrative report to polished PDF.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fwanshuiyin\u002FAuto-claude-code-research-in-sleep\u002Fpaper-writing",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":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill paper-writing",{"tool":53,"command":54},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill paper-writing",{"tool":56,"command":57},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill paper-writing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fwanshuiyin\u002FAuto-claude-code-research-in-sleep\u002Fpaper-writing\u002FSKILL.md",true,[],[62,74,84,93,99,106],{"skillNo":63,"name":64,"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":65,"categories":66,"keywords":70,"publishedAt":34},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[67],{"categoryNo":68,"categoryName":69,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[71,72,73],"model","model hierarchy","model hierarchy skill",{"skillNo":75,"name":76,"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":77,"categories":78,"keywords":80,"publishedAt":34},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[79],{"categoryNo":68,"categoryName":69,"taxonomyType":20,"taxonomyTypeDesc":21},[81,82,83],"MCP","zoom","zoom mcp",{"skillNo":85,"name":86,"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":87,"categories":88,"keywords":89,"publishedAt":34},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[90,91,92,82],"sdk","zoom apps sdk","apps",{"skillNo":94,"name":95,"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":96,"categories":97,"keywords":98,"publishedAt":34},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"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":102,"categories":103,"keywords":105,"publishedAt":34},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[104],{"categoryNo":68,"categoryName":69,"taxonomyType":20,"taxonomyTypeDesc":21},[101],{"skillNo":107,"name":108,"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":109,"categories":110,"keywords":111,"publishedAt":34},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[108]]