@bohuyeshan/openagent-labforge-core 3.11.1 → 3.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +34 -27
- package/README.ko.md +34 -27
- package/README.md +245 -188
- package/README.ru.md +28 -21
- package/README.zh-cn.md +245 -188
- package/bin/platform.test.ts +21 -20
- package/dist/agents/atlas/default.d.ts +1 -1
- package/dist/agents/atlas/gemini.d.ts +1 -1
- package/dist/agents/atlas/gpt.d.ts +1 -1
- package/dist/agents/bio-methodologist.d.ts +1 -1
- package/dist/agents/bio-pipeline-operator.d.ts +1 -1
- package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +2 -0
- package/dist/agents/env-context.d.ts +1 -1
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/metis.d.ts +1 -1
- package/dist/agents/prometheus/gemini.d.ts +1 -1
- package/dist/agents/prometheus/gpt.d.ts +1 -1
- package/dist/agents/prometheus/interview-mode.d.ts +1 -1
- package/dist/agents/prometheus/plan-generation.d.ts +1 -1
- package/dist/agents/prometheus/plan-template.d.ts +1 -1
- package/dist/agents/prometheus/system-prompt.d.ts +1 -1
- package/dist/agents/types.d.ts +1 -1
- package/dist/cli/config-manager/bun-install.d.ts +6 -1
- package/dist/cli/config-manager/plugin-name-with-version.d.ts +1 -1
- package/dist/cli/doctor/constants.d.ts +1 -1
- package/dist/cli/index.js +763 -467
- package/dist/cli/install-validators.d.ts +1 -0
- package/dist/cli/model-fallback-types.d.ts +1 -0
- package/dist/cli/openai-only-model-catalog.d.ts +3 -0
- package/dist/cli/run/index.d.ts +1 -0
- package/dist/cli/run/model-resolver.d.ts +4 -0
- package/dist/cli/run/types.d.ts +1 -0
- package/dist/cli/types.d.ts +3 -0
- package/dist/config/schema/agent-names.d.ts +3 -1
- package/dist/config/schema/background-task.d.ts +2 -0
- package/dist/config/schema/git-env-prefix.d.ts +5 -0
- package/dist/config/schema/git-master.d.ts +1 -0
- package/dist/config/schema/hooks.d.ts +2 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +54 -1
- package/dist/config/schema.d.ts +1 -0
- package/dist/create-hooks.d.ts +13 -0
- package/dist/features/background-agent/compaction-aware-message-resolver.d.ts +16 -1
- package/dist/features/background-agent/constants.d.ts +1 -1
- package/dist/features/background-agent/manager.d.ts +20 -4
- package/dist/features/background-agent/process-cleanup.d.ts +1 -1
- package/dist/features/background-agent/remove-task-toast-tracking.d.ts +1 -0
- package/dist/features/background-agent/subagent-spawn-limits.d.ts +23 -0
- package/dist/features/background-agent/task-history.d.ts +1 -0
- package/dist/features/background-agent/task-poller.d.ts +1 -0
- package/dist/features/background-agent/types.d.ts +4 -0
- package/dist/features/claude-code-agent-loader/claude-model-mapper.d.ts +4 -0
- package/dist/features/claude-code-agent-loader/loader.d.ts +3 -3
- package/dist/features/claude-code-agent-loader/types.d.ts +8 -1
- package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +2 -2
- package/dist/features/claude-code-plugin-loader/loader.d.ts +2 -2
- package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
- package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +1 -1
- package/dist/features/skill-mcp-manager/types.d.ts +4 -0
- package/dist/features/tmux-subagent/index.d.ts +1 -0
- package/dist/features/tmux-subagent/manager.d.ts +5 -0
- package/dist/features/tmux-subagent/pane-state-parser.d.ts +8 -0
- package/dist/features/tmux-subagent/tracked-session-state.d.ts +8 -0
- package/dist/features/tmux-subagent/types.d.ts +2 -0
- package/dist/hooks/atlas/boulder-session-lineage.d.ts +6 -0
- package/dist/hooks/atlas/final-wave-approval-gate.d.ts +4 -0
- package/dist/hooks/atlas/idle-event.d.ts +8 -0
- package/dist/hooks/atlas/resolve-active-boulder-session.d.ts +11 -0
- package/dist/hooks/atlas/tool-execute-after.d.ts +2 -0
- package/dist/hooks/atlas/types.d.ts +2 -0
- package/dist/hooks/atlas/verification-reminders.d.ts +4 -0
- package/dist/hooks/auto-slash-command/hook.d.ts +7 -0
- package/dist/hooks/auto-slash-command/processed-command-store.d.ts +7 -0
- package/dist/hooks/auto-update-checker/checker/sync-package-json.d.ts +7 -0
- package/dist/hooks/auto-update-checker/checker.d.ts +3 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +2 -2
- package/dist/hooks/comment-checker/downloader.d.ts +1 -1
- package/dist/hooks/compaction-context-injector/compaction-context-prompt.d.ts +1 -0
- package/dist/hooks/compaction-context-injector/constants.d.ts +5 -0
- package/dist/hooks/compaction-context-injector/hook.d.ts +5 -1
- package/dist/hooks/compaction-context-injector/recovery-prompt-config.d.ts +6 -0
- package/dist/hooks/compaction-context-injector/recovery.d.ts +6 -0
- package/dist/hooks/compaction-context-injector/session-id.d.ts +2 -0
- package/dist/hooks/compaction-context-injector/session-prompt-config-resolver.d.ts +16 -0
- package/dist/hooks/compaction-context-injector/tail-monitor.d.ts +13 -0
- package/dist/hooks/compaction-context-injector/types.d.ts +43 -0
- package/dist/hooks/compaction-context-injector/validated-model.d.ts +13 -0
- package/dist/hooks/context-window-monitor.d.ts +2 -5
- package/dist/hooks/delegate-task-english-directive/hook.d.ts +14 -0
- package/dist/hooks/delegate-task-english-directive/index.d.ts +1 -0
- package/dist/hooks/gpt-permission-continuation/assistant-message.d.ts +23 -0
- package/dist/hooks/gpt-permission-continuation/constants.d.ts +4 -0
- package/dist/hooks/gpt-permission-continuation/detector.d.ts +1 -0
- package/dist/hooks/gpt-permission-continuation/handler.d.ts +12 -0
- package/dist/hooks/gpt-permission-continuation/index.d.ts +13 -0
- package/dist/hooks/gpt-permission-continuation/session-state.d.ts +15 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/keyword-detector/hook.d.ts +1 -0
- package/dist/hooks/preemptive-compaction.d.ts +2 -5
- package/dist/hooks/ralph-loop/pending-verification-handler.d.ts +16 -0
- package/dist/hooks/runtime-fallback/fallback-bootstrap-model.d.ts +10 -0
- package/dist/hooks/runtime-fallback/fallback-retry-dispatcher.d.ts +11 -0
- package/dist/hooks/runtime-fallback/hook.d.ts +2 -3
- package/dist/hooks/runtime-fallback/last-user-retry-parts.d.ts +4 -0
- package/dist/hooks/runtime-fallback/message-update-handler.d.ts +1 -2
- package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +7 -0
- package/dist/hooks/runtime-fallback/session-messages.d.ts +9 -0
- package/dist/hooks/runtime-fallback/session-status-handler.d.ts +3 -0
- package/dist/hooks/runtime-fallback/types.d.ts +57 -3
- package/dist/hooks/runtime-fallback/visible-assistant-response.d.ts +3 -0
- package/dist/hooks/session-notification-content.d.ts +30 -0
- package/dist/hooks/session-notification-scheduler.d.ts +5 -3
- package/dist/hooks/session-notification.d.ts +2 -0
- package/dist/hooks/start-work/index.d.ts +1 -1
- package/dist/hooks/start-work/worktree-detector.d.ts +7 -0
- package/dist/hooks/todo-continuation-enforcer/constants.d.ts +6 -2
- package/dist/hooks/todo-continuation-enforcer/handler.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +10 -1
- package/dist/hooks/todo-continuation-enforcer/stagnation-detection.d.ts +6 -0
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +5 -0
- package/dist/hooks/tool-output-truncator.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10581 -7245
- package/dist/openagent-labforge.schema.json +70 -4
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
- package/dist/plugin/normalize-tool-arg-schemas.d.ts +2 -0
- package/dist/plugin/ultrawork-model-override.d.ts +1 -15
- package/dist/plugin/ultrawork-variant-availability.d.ts +6 -0
- package/dist/plugin-dispose.d.ts +10 -0
- package/dist/plugin-handlers/agent-override-protection.d.ts +3 -0
- package/dist/plugin-state.d.ts +5 -0
- package/dist/shared/compaction-agent-config-checkpoint.d.ts +11 -0
- package/dist/shared/context-limit-resolver.d.ts +5 -0
- package/dist/shared/data-path.d.ts +2 -2
- package/dist/shared/dynamic-truncator.d.ts +4 -7
- package/dist/shared/external-plugin-detector.d.ts +1 -1
- package/dist/shared/fallback-chain-from-models.d.ts +3 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/model-error-classifier.d.ts +2 -1
- package/dist/shared/opencode-command-dirs.d.ts +3 -0
- package/dist/shared/plugin-identity.d.ts +7 -0
- package/dist/shared/question-denied-session-permission.d.ts +6 -0
- package/dist/shared/retry-status-utils.d.ts +2 -0
- package/dist/shared/system-directive.d.ts +6 -5
- package/dist/shared/vision-capable-models-cache.d.ts +4 -0
- package/dist/tools/call-omo-agent/background-executor.d.ts +2 -1
- package/dist/tools/call-omo-agent/constants.d.ts +1 -1
- package/dist/tools/call-omo-agent/sync-executor.d.ts +11 -3
- package/dist/tools/call-omo-agent/tools.d.ts +2 -1
- package/dist/tools/delegate-task/cancel-unstable-agent-task.d.ts +2 -0
- package/dist/tools/delegate-task/model-selection.d.ts +1 -0
- package/dist/tools/delegate-task/model-string-parser.d.ts +1 -3
- package/dist/tools/look-at/multimodal-fallback-chain.d.ts +4 -0
- package/dist/tools/lsp/constants.d.ts +1 -0
- package/dist/tools/lsp/directory-diagnostics.d.ts +1 -0
- package/dist/tools/lsp/lsp-client-transport.d.ts +4 -2
- package/dist/tools/lsp/lsp-client-wrapper.d.ts +2 -1
- package/dist/tools/lsp/server-path-bases.d.ts +1 -0
- package/generated/skills-bundles/catalog.json +282 -39
- package/generated/skills-bundles/full/INDEX.md +38 -10
- package/generated/skills-bundles/full/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +63 -0
- package/generated/skills-bundles/full/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +112 -0
- package/generated/skills-bundles/full/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +279 -0
- package/generated/skills-bundles/full/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +47 -0
- package/generated/skills-bundles/full/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +281 -0
- package/generated/skills-bundles/full/skills/productivity/communication/auto-claude__feishu-notify/SKILL.md +154 -0
- package/generated/skills-bundles/full/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +138 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +252 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +254 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +310 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +255 -0
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +133 -0
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +87 -0
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +194 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +228 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +186 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +351 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +174 -0
- package/generated/skills-bundles/full/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +224 -0
- package/generated/skills-bundles/paper/INDEX.md +40 -0
- package/generated/skills-bundles/paper/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +63 -0
- package/generated/skills-bundles/paper/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +112 -0
- package/generated/skills-bundles/paper/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +279 -0
- package/generated/skills-bundles/paper/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +47 -0
- package/generated/skills-bundles/paper/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +281 -0
- package/generated/skills-bundles/paper/skills/productivity/communication/auto-claude__feishu-notify/SKILL.md +154 -0
- package/generated/skills-bundles/paper/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +138 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +252 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +254 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +310 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +255 -0
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +133 -0
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +87 -0
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +194 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +228 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +186 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +351 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +174 -0
- package/generated/skills-bundles/paper/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +224 -0
- package/package.json +21 -21
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/LICENSE.txt +0 -21
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/SKILL.md +0 -615
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/_meta.json +0 -11
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/scripts/virtualbox-utils.ts +0 -586
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/.clawhubsafe +0 -0
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/LICENSE +0 -21
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/README.md +0 -127
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/SECURITY.md +0 -68
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/SKILL.md +0 -141
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/_meta.json +0 -11
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/scripts/speak.sh +0 -52
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/scripts/transcribe.sh +0 -50
- package/generated/skills-bundles/full/skills/research/media-search/skills-main__youtube-search/LICENSE.txt +0 -21
- package/generated/skills-bundles/full/skills/research/media-search/skills-main__youtube-search/SKILL.md +0 -416
- package/generated/skills-bundles/full/skills/research/media-search/skills-main__youtube-search/_meta.json +0 -11
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "auto-claude/paper-plan"
|
|
3
|
+
description: "Generate a structured paper outline from review conclusions and experiment results. Use when user says \"写大纲\", \"paper outline\", \"plan the paper\", \"论文规划\", or wants to create a paper plan before writing."
|
|
4
|
+
argument-hint: ["topic-or-narrative-doc"]
|
|
5
|
+
allowed-tools: "Bash(*), Read, Write, Edit, Grep, Glob, Agent, WebSearch, WebFetch, mcp__codex__codex, mcp__codex__codex-reply"
|
|
6
|
+
metadata:
|
|
7
|
+
category: "research/document-authoring"
|
|
8
|
+
---
|
|
9
|
+
# Paper Plan: From Review Conclusions to Paper Outline
|
|
10
|
+
|
|
11
|
+
Generate a structured, section-by-section paper outline from: **$ARGUMENTS**
|
|
12
|
+
|
|
13
|
+
## Constants
|
|
14
|
+
|
|
15
|
+
- **REVIEWER_MODEL = `gpt-5.4`** — Model used via Codex MCP for outline review. Must be an OpenAI model.
|
|
16
|
+
- **TARGET_VENUE = `ICLR`** — Default venue. User can override (e.g., `/paper-plan "topic" — venue: NeurIPS`). Supported: `ICLR`, `NeurIPS`, `ICML`.
|
|
17
|
+
- **MAX_PAGES** — Main body page limit, measured from first page to end of Conclusion section (excluding references, appendix, and acknowledgements). ICLR=9, NeurIPS=9, ICML=8.
|
|
18
|
+
|
|
19
|
+
## Inputs
|
|
20
|
+
|
|
21
|
+
The skill expects one or more of these in the project directory:
|
|
22
|
+
|
|
23
|
+
1. **NARRATIVE_REPORT.md** or **STORY.md** — research narrative with claims and evidence
|
|
24
|
+
2. **Experiment results** — JSON files in `figures/`, screen logs, tables
|
|
25
|
+
3. **IDEA_REPORT.md** — from idea-discovery pipeline (if applicable)
|
|
26
|
+
|
|
27
|
+
If none exist, ask the user to describe the paper's contribution in 3-5 sentences.
|
|
28
|
+
|
|
29
|
+
## Workflow
|
|
30
|
+
|
|
31
|
+
### Step 1: Extract Claims and Evidence
|
|
32
|
+
|
|
33
|
+
Read all available narrative documents and extract:
|
|
34
|
+
|
|
35
|
+
1. **Core claims** (3-5 main contributions)
|
|
36
|
+
2. **Evidence** for each claim (which experiments, which metrics, which figures)
|
|
37
|
+
3. **Known weaknesses** (from reviewer feedback)
|
|
38
|
+
4. **Suggested framing** (from review conclusions)
|
|
39
|
+
|
|
40
|
+
Build a **Claims-Evidence Matrix**:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
| Claim | Evidence | Status | Section |
|
|
44
|
+
|-------|----------|--------|---------|
|
|
45
|
+
| [claim 1] | [exp A, metric B] | Supported | §3.2 |
|
|
46
|
+
| [claim 2] | [exp C] | Partially supported | §4.1 |
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Step 2: Determine Paper Type and Structure
|
|
50
|
+
|
|
51
|
+
Based on TARGET_VENUE and paper content, classify and select structure.
|
|
52
|
+
|
|
53
|
+
**IMPORTANT**: The section count is FLEXIBLE (5-8 sections). Choose what fits the content best. The templates below are starting points, not rigid constraints.
|
|
54
|
+
|
|
55
|
+
**Empirical/Diagnostic paper:**
|
|
56
|
+
```
|
|
57
|
+
1. Introduction (1.5 pages)
|
|
58
|
+
2. Related Work (1 page)
|
|
59
|
+
3. Method / Setup (1.5 pages)
|
|
60
|
+
4. Experiments (3 pages)
|
|
61
|
+
5. Analysis / Discussion (1 page)
|
|
62
|
+
6. Conclusion (0.5 pages)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Theory + Experiments paper:**
|
|
66
|
+
```
|
|
67
|
+
1. Introduction (1.5 pages)
|
|
68
|
+
2. Related Work (1 page)
|
|
69
|
+
3. Preliminaries & Modeling (1.5 pages)
|
|
70
|
+
4. Experiments (1.5 pages)
|
|
71
|
+
5. Theory Part A (1.5 pages)
|
|
72
|
+
6. Theory Part B (1.5 pages)
|
|
73
|
+
7. Conclusion (0.5 pages)
|
|
74
|
+
— Total: 9 pages
|
|
75
|
+
```
|
|
76
|
+
Theory papers often need 7 sections (splitting theory into estimation + optimization, or setup + analysis). The total page budget MUST sum to MAX_PAGES.
|
|
77
|
+
|
|
78
|
+
Theory papers should:
|
|
79
|
+
- Include **proof sketch** locations (not just theorem statements)
|
|
80
|
+
- Plan a **comparison table** of prior theoretical bounds vs. this paper's bounds
|
|
81
|
+
- Identify which proofs go in appendix vs. main body
|
|
82
|
+
|
|
83
|
+
**Method paper:**
|
|
84
|
+
```
|
|
85
|
+
1. Introduction (1.5 pages)
|
|
86
|
+
2. Related Work (1 page)
|
|
87
|
+
3. Method (2 pages)
|
|
88
|
+
4. Experiments (2.5 pages)
|
|
89
|
+
5. Ablation / Analysis (1 page)
|
|
90
|
+
6. Conclusion (0.5 pages)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Step 3: Section-by-Section Planning
|
|
94
|
+
|
|
95
|
+
For each section, specify:
|
|
96
|
+
|
|
97
|
+
```markdown
|
|
98
|
+
### §0 Abstract
|
|
99
|
+
- **One-sentence problem**: [what gap this paper addresses]
|
|
100
|
+
- **Approach**: [what we do, in one sentence]
|
|
101
|
+
- **Key result**: [most compelling quantitative finding]
|
|
102
|
+
- **Implication**: [why it matters]
|
|
103
|
+
- **Estimated length**: 150-250 words
|
|
104
|
+
- **Self-contained check**: can a reader understand this without the paper?
|
|
105
|
+
|
|
106
|
+
### §1 Introduction
|
|
107
|
+
- **Opening hook**: [1-2 sentences that motivate the problem]
|
|
108
|
+
- **Gap**: [what's missing in prior work]
|
|
109
|
+
- **Key questions**: [the research questions this paper answers]
|
|
110
|
+
- **Contributions**: [numbered list, matching Claims-Evidence Matrix]
|
|
111
|
+
- **Hero figure**: [describe what Figure 1 should show — MUST include clear comparison if applicable]
|
|
112
|
+
- **Estimated length**: 1.5 pages
|
|
113
|
+
- **Key citations**: [3-5 papers to cite here]
|
|
114
|
+
|
|
115
|
+
### §2 Related Work
|
|
116
|
+
- **Subtopics**: [2-4 categories of related work]
|
|
117
|
+
- **Positioning**: [how this paper differs from each category]
|
|
118
|
+
- **Minimum length**: 1 full page (at least 3-4 paragraphs with substantive synthesis)
|
|
119
|
+
- **Must NOT be just a list** — synthesize, compare, and position
|
|
120
|
+
|
|
121
|
+
### §3 Method / Setup / Preliminaries
|
|
122
|
+
- **Notation**: [key symbols and their meanings]
|
|
123
|
+
- **Problem formulation**: [formal setup]
|
|
124
|
+
- **Method description**: [algorithm, model, or experimental design]
|
|
125
|
+
- **Formal statements**: [theorems, propositions if applicable]
|
|
126
|
+
- **Proof sketch locations**: [which key steps appear here vs. appendix]
|
|
127
|
+
- **Estimated length**: 1.5-2 pages
|
|
128
|
+
|
|
129
|
+
### §4 Experiments / Main Results
|
|
130
|
+
- **Figures planned**:
|
|
131
|
+
- Fig 1: [description, type: bar/line/table/architecture, WHAT COMPARISON it shows]
|
|
132
|
+
- Fig 2: [description]
|
|
133
|
+
- Table 1: [what it shows, which methods/baselines compared]
|
|
134
|
+
- **Data source**: [which JSON files / experiment results]
|
|
135
|
+
|
|
136
|
+
### §5 Conclusion
|
|
137
|
+
- **Restatement**: [contributions rephrased, not copy-pasted from intro]
|
|
138
|
+
- **Limitations**: [honest assessment — reviewers value this]
|
|
139
|
+
- **Future work**: [1-2 concrete directions]
|
|
140
|
+
- **Estimated length**: 0.5 pages
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Step 4: Figure Plan
|
|
144
|
+
|
|
145
|
+
List every figure and table:
|
|
146
|
+
|
|
147
|
+
```markdown
|
|
148
|
+
## Figure Plan
|
|
149
|
+
|
|
150
|
+
| ID | Type | Description | Data Source | Priority |
|
|
151
|
+
|----|------|-------------|-------------|----------|
|
|
152
|
+
| Fig 1 | Hero/Architecture | System overview + comparison | manual | HIGH |
|
|
153
|
+
| Fig 2 | Line plot | Training curves comparison | figures/exp_A.json | HIGH |
|
|
154
|
+
| Fig 3 | Bar chart | Ablation results | figures/ablation.json | MEDIUM |
|
|
155
|
+
| Table 1 | Comparison table | Main results vs. baselines | figures/main_results.json | HIGH |
|
|
156
|
+
| Table 2 | Theory comparison | Prior bounds vs. ours | manual | HIGH (theory papers) |
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
**CRITICAL for Figure 1 / Hero Figure**: Describe in detail what the figure should contain, including:
|
|
160
|
+
- Which methods are being compared
|
|
161
|
+
- What the visual difference should demonstrate
|
|
162
|
+
- Caption draft that clearly states the comparison
|
|
163
|
+
|
|
164
|
+
### Step 5: Citation Scaffolding
|
|
165
|
+
|
|
166
|
+
For each section, list required citations:
|
|
167
|
+
|
|
168
|
+
```markdown
|
|
169
|
+
## Citation Plan
|
|
170
|
+
- §1 Intro: [paper1], [paper2], [paper3] (problem motivation)
|
|
171
|
+
- §2 Related: [paper4]-[paper10] (categorized by subtopic)
|
|
172
|
+
- §3 Method: [paper11] (baseline), [paper12] (technique we build on)
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**Citation rules** (from claude-scholar + Imbad0202/academic-research-skills):
|
|
176
|
+
1. NEVER generate BibTeX from memory — always verify via search or existing .bib files
|
|
177
|
+
2. Every citation must be verified: correct authors, year, venue
|
|
178
|
+
3. Flag any citation you're unsure about with `[VERIFY]`
|
|
179
|
+
4. Prefer published versions over arXiv preprints when available
|
|
180
|
+
|
|
181
|
+
### Step 6: Cross-Review with REVIEWER_MODEL
|
|
182
|
+
|
|
183
|
+
Send the complete outline to GPT-5.4 xhigh for feedback:
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
mcp__codex__codex:
|
|
187
|
+
model: gpt-5.4
|
|
188
|
+
config: {"model_reasoning_effort": "xhigh"}
|
|
189
|
+
prompt: |
|
|
190
|
+
Review this paper outline for a [VENUE] submission.
|
|
191
|
+
[full outline including Claims-Evidence Matrix]
|
|
192
|
+
|
|
193
|
+
Score 1-10 on:
|
|
194
|
+
1. Logical flow — does the story build naturally?
|
|
195
|
+
2. Claim-evidence alignment — every claim backed?
|
|
196
|
+
3. Missing experiments or analysis
|
|
197
|
+
4. Positioning relative to prior work
|
|
198
|
+
5. Page budget feasibility (MAX_PAGES = main body to Conclusion end, excluding refs/appendix)
|
|
199
|
+
|
|
200
|
+
For each weakness, suggest the MINIMUM fix.
|
|
201
|
+
Be specific and actionable — "add X" not "consider more experiments".
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Apply feedback before finalizing.
|
|
205
|
+
|
|
206
|
+
### Step 7: Output
|
|
207
|
+
|
|
208
|
+
Save the final outline to `PAPER_PLAN.md` in the project root:
|
|
209
|
+
|
|
210
|
+
```markdown
|
|
211
|
+
# Paper Plan
|
|
212
|
+
|
|
213
|
+
**Title**: [working title]
|
|
214
|
+
**Venue**: [target venue]
|
|
215
|
+
**Type**: [empirical/theory/method]
|
|
216
|
+
**Date**: [today]
|
|
217
|
+
**Page budget**: [MAX_PAGES] pages (main body to Conclusion end, excluding references & appendix)
|
|
218
|
+
**Section count**: [N] (must match the number of section files that will be created)
|
|
219
|
+
|
|
220
|
+
## Claims-Evidence Matrix
|
|
221
|
+
[from Step 1]
|
|
222
|
+
|
|
223
|
+
## Structure
|
|
224
|
+
[from Step 2-3, section by section]
|
|
225
|
+
|
|
226
|
+
## Figure Plan
|
|
227
|
+
[from Step 4, with detailed hero figure description]
|
|
228
|
+
|
|
229
|
+
## Citation Plan
|
|
230
|
+
[from Step 5]
|
|
231
|
+
|
|
232
|
+
## Reviewer Feedback
|
|
233
|
+
[from Step 6, summarized]
|
|
234
|
+
|
|
235
|
+
## Next Steps
|
|
236
|
+
- [ ] /paper-figure to generate all figures
|
|
237
|
+
- [ ] /paper-write to draft LaTeX
|
|
238
|
+
- [ ] /paper-compile to build PDF
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Key Rules
|
|
242
|
+
|
|
243
|
+
- **Do NOT generate author information** — leave author block as placeholder or anonymous
|
|
244
|
+
- **Be honest about evidence gaps** — mark claims as "needs experiment" rather than overclaiming
|
|
245
|
+
- **Page budget is hard** — if content exceeds MAX_PAGES, suggest what to move to appendix
|
|
246
|
+
- **MAX_PAGES counts main body only** — from first page to end of Conclusion. References and appendix are NOT counted.
|
|
247
|
+
- **Venue-specific norms** — all three venues (ICLR/NeurIPS/ICML) use `natbib` (`\citep`/`\citet`)
|
|
248
|
+
- **Claims-Evidence Matrix is the backbone** — every claim must map to evidence, every experiment must support a claim
|
|
249
|
+
- **Figures need detailed descriptions** — especially the hero figure, which must clearly specify comparisons and visual expectations
|
|
250
|
+
- **Section count is flexible** — 5-8 sections depending on paper type. Don't force content into a rigid 5-section template.
|
|
251
|
+
|
|
252
|
+
## Acknowledgements
|
|
253
|
+
|
|
254
|
+
Outline methodology inspired by [Research-Paper-Writing-Skills](https://github.com/Master-cai/Research-Paper-Writing-Skills) (claim-evidence mapping), [claude-scholar](https://github.com/Galaxy-Dawn/claude-scholar) (citation verification), and [Imbad0202/academic-research-skills](https://github.com/Imbad0202/academic-research-skills) (claim verification protocol).
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "auto-claude/paper-write"
|
|
3
|
+
description: "Draft LaTeX paper section by section from an outline. Use when user says \"写论文\", \"write paper\", \"draft LaTeX\", \"开始写\", or wants to generate LaTeX content from a paper plan."
|
|
4
|
+
argument-hint: ["venue-or-section"]
|
|
5
|
+
allowed-tools: "Bash(*), Read, Write, Edit, Grep, Glob, Agent, WebSearch, WebFetch, mcp__codex__codex, mcp__codex__codex-reply"
|
|
6
|
+
metadata:
|
|
7
|
+
category: "research/document-authoring"
|
|
8
|
+
---
|
|
9
|
+
# Paper Write: Section-by-Section LaTeX Generation
|
|
10
|
+
|
|
11
|
+
Draft a LaTeX paper based on: **$ARGUMENTS**
|
|
12
|
+
|
|
13
|
+
## Constants
|
|
14
|
+
|
|
15
|
+
- **REVIEWER_MODEL = `gpt-5.4`** — Model used via Codex MCP for section review. Must be an OpenAI model.
|
|
16
|
+
- **TARGET_VENUE = `ICLR`** — Default venue. Supported: `ICLR`, `NeurIPS`, `ICML`. Determines style file and formatting.
|
|
17
|
+
- **ANONYMOUS = true** — If true, use anonymous author block. Set `false` for camera-ready.
|
|
18
|
+
- **MAX_PAGES = 9** — Main body page limit. Counts from first page to end of Conclusion section. References and appendix are NOT counted.
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
|
|
22
|
+
1. **PAPER_PLAN.md** — outline with claims-evidence matrix, section plan, figure plan (from `/paper-plan`)
|
|
23
|
+
2. **NARRATIVE_REPORT.md** — the research narrative (primary source of content)
|
|
24
|
+
3. **Generated figures** — PDF/PNG files in `figures/` (from `/paper-figure`)
|
|
25
|
+
4. **LaTeX includes** — `figures/latex_includes.tex` (from `/paper-figure`)
|
|
26
|
+
5. **Bibliography** — existing `.bib` file, or will create one
|
|
27
|
+
|
|
28
|
+
If no PAPER_PLAN.md exists, ask the user to run `/paper-plan` first or provide a brief outline.
|
|
29
|
+
|
|
30
|
+
## Templates
|
|
31
|
+
|
|
32
|
+
### Venue-Specific Setup
|
|
33
|
+
|
|
34
|
+
The skill includes conference templates in `templates/`. Select based on TARGET_VENUE:
|
|
35
|
+
|
|
36
|
+
**ICLR:**
|
|
37
|
+
```latex
|
|
38
|
+
\documentclass{article}
|
|
39
|
+
\usepackage{iclr2026_conference,times}
|
|
40
|
+
% \iclrfinalcopy % Uncomment for camera-ready
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**NeurIPS:**
|
|
44
|
+
```latex
|
|
45
|
+
\documentclass{article}
|
|
46
|
+
\usepackage[preprint]{neurips_2025}
|
|
47
|
+
% \usepackage[final]{neurips_2025} % Camera-ready
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**ICML:**
|
|
51
|
+
```latex
|
|
52
|
+
\documentclass[accepted]{icml2025}
|
|
53
|
+
% Use [accepted] for camera-ready
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Project Structure
|
|
57
|
+
|
|
58
|
+
Generate this file structure:
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
paper/
|
|
62
|
+
├── main.tex # master file (includes sections)
|
|
63
|
+
├── iclr2026_conference.sty # or neurips_2025.sty / icml2025.sty
|
|
64
|
+
├── math_commands.tex # shared math macros
|
|
65
|
+
├── references.bib # bibliography (filtered — only cited entries)
|
|
66
|
+
├── sections/
|
|
67
|
+
│ ├── 0_abstract.tex
|
|
68
|
+
│ ├── 1_introduction.tex
|
|
69
|
+
│ ├── 2_related_work.tex
|
|
70
|
+
│ ├── 3_method.tex # or preliminaries, setup, etc.
|
|
71
|
+
│ ├── 4_experiments.tex
|
|
72
|
+
│ ├── 5_conclusion.tex
|
|
73
|
+
│ └── A_appendix.tex # proof details, extra experiments
|
|
74
|
+
└── figures/ # symlink or copy from project figures/
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**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`).
|
|
78
|
+
|
|
79
|
+
## Workflow
|
|
80
|
+
|
|
81
|
+
### Step 0: Backup and Clean
|
|
82
|
+
|
|
83
|
+
If `paper/` already exists, back up to `paper-backup-{timestamp}/` before overwriting. Never silently destroy existing work.
|
|
84
|
+
|
|
85
|
+
**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.
|
|
86
|
+
|
|
87
|
+
### Step 1: Initialize Project
|
|
88
|
+
|
|
89
|
+
1. Create `paper/` directory
|
|
90
|
+
2. Copy venue template from `templates/` — the template already includes:
|
|
91
|
+
- All standard packages (amsmath, hyperref, cleveref, booktabs, etc.)
|
|
92
|
+
- Theorem environments with `\crefname{assumption}` fix
|
|
93
|
+
- Anonymous author block
|
|
94
|
+
3. Generate `math_commands.tex` with paper-specific notation
|
|
95
|
+
4. Create section files matching PAPER_PLAN structure
|
|
96
|
+
|
|
97
|
+
**Author block (anonymous mode):**
|
|
98
|
+
```latex
|
|
99
|
+
\author{Anonymous Authors}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Step 2: Generate math_commands.tex
|
|
103
|
+
|
|
104
|
+
Create shared math macros based on the paper's notation:
|
|
105
|
+
|
|
106
|
+
```latex
|
|
107
|
+
% math_commands.tex — shared notation
|
|
108
|
+
\newcommand{\R}{\mathbb{R}}
|
|
109
|
+
\newcommand{\E}{\mathbb{E}}
|
|
110
|
+
\DeclareMathOperator*{\argmin}{arg\,min}
|
|
111
|
+
\DeclareMathOperator*{\argmax}{arg\,max}
|
|
112
|
+
% Add paper-specific notation here
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Step 3: Write Each Section
|
|
116
|
+
|
|
117
|
+
Process sections in order. For each section:
|
|
118
|
+
|
|
119
|
+
1. **Read the plan** — what claims, evidence, citations belong here
|
|
120
|
+
2. **Read NARRATIVE_REPORT.md** — extract relevant content, findings, and quantitative results
|
|
121
|
+
3. **Draft content** — write complete LaTeX (not placeholders)
|
|
122
|
+
4. **Insert figures/tables** — use snippets from `figures/latex_includes.tex`
|
|
123
|
+
5. **Add citations** — use `\citep{}` / `\citet{}` (all three venues use `natbib`)
|
|
124
|
+
|
|
125
|
+
#### Section-Specific Guidelines
|
|
126
|
+
|
|
127
|
+
**§0 Abstract:**
|
|
128
|
+
- Must be self-contained (understandable without reading the paper)
|
|
129
|
+
- Structure: problem → approach → key result → implication
|
|
130
|
+
- Include one concrete quantitative result
|
|
131
|
+
- 150-250 words (check venue limit)
|
|
132
|
+
- No citations, no undefined acronyms
|
|
133
|
+
- No `\begin{abstract}` — that's in main.tex
|
|
134
|
+
|
|
135
|
+
**§1 Introduction:**
|
|
136
|
+
- Open with a compelling hook (1-2 sentences, problem motivation)
|
|
137
|
+
- State the gap clearly ("However, ...")
|
|
138
|
+
- List contributions as a numbered or bulleted list
|
|
139
|
+
- End with a brief roadmap ("The rest of this paper is organized as...")
|
|
140
|
+
- Include the main result figure if space allows
|
|
141
|
+
- Target: 1.5 pages
|
|
142
|
+
|
|
143
|
+
**§2 Related Work:**
|
|
144
|
+
- **MINIMUM 1 full page** (3-4 substantive paragraphs). Short related work sections are a common reviewer complaint.
|
|
145
|
+
- Organize by category using `\paragraph{Category Name.}`
|
|
146
|
+
- Each category: 1 paragraph summarizing the line of work + 1-2 sentences positioning this paper
|
|
147
|
+
- Do NOT just list papers — synthesize and compare
|
|
148
|
+
- End each paragraph with how this paper relates/differs
|
|
149
|
+
|
|
150
|
+
**§3 Method / Preliminaries / Setup:**
|
|
151
|
+
- Define notation early (reference math_commands.tex)
|
|
152
|
+
- Use `\begin{definition}`, `\begin{theorem}` environments for formal statements
|
|
153
|
+
- For theory papers: include proof sketches of key results in main body, full proofs in appendix
|
|
154
|
+
- For theory papers: include a **comparison table** of prior bounds vs. this paper
|
|
155
|
+
- Include algorithm pseudocode if applicable (`algorithm2e` or `algorithmic`)
|
|
156
|
+
- Target: 1.5-2 pages
|
|
157
|
+
|
|
158
|
+
**§4 Experiments:**
|
|
159
|
+
- Start with experimental setup (datasets, baselines, metrics, implementation details)
|
|
160
|
+
- Main results table/figure first
|
|
161
|
+
- Then ablations and analysis
|
|
162
|
+
- Every claim from the introduction must have supporting evidence here
|
|
163
|
+
- Target: 2.5-3 pages
|
|
164
|
+
|
|
165
|
+
**§5 Conclusion:**
|
|
166
|
+
- Summarize contributions (NOT copy-paste from intro — rephrase)
|
|
167
|
+
- Limitations (be honest — reviewers appreciate this)
|
|
168
|
+
- Future work (1-2 concrete directions)
|
|
169
|
+
- Ethics statement and reproducibility statement (if venue requires)
|
|
170
|
+
- Target: 0.5 pages
|
|
171
|
+
|
|
172
|
+
**Appendix:**
|
|
173
|
+
- Proof details (full proofs of main-body theorems)
|
|
174
|
+
- Additional experiments, ablations
|
|
175
|
+
- Implementation details, hyperparameter tables
|
|
176
|
+
- Additional visualizations
|
|
177
|
+
|
|
178
|
+
### Step 4: Build Bibliography
|
|
179
|
+
|
|
180
|
+
**CRITICAL: Only include entries that are actually cited in the paper.**
|
|
181
|
+
|
|
182
|
+
1. Scan all `\citep{}` and `\citet{}` references in the drafted sections
|
|
183
|
+
2. Build a citation key list
|
|
184
|
+
3. For each citation key:
|
|
185
|
+
- Check existing `.bib` files in the project/narrative docs
|
|
186
|
+
- If not found, search arXiv/Scholar for correct BibTeX
|
|
187
|
+
- **NEVER fabricate BibTeX entries** — mark unknown ones with `[VERIFY]` comment
|
|
188
|
+
4. Write `references.bib` containing ONLY cited entries (no bloat)
|
|
189
|
+
|
|
190
|
+
**Automated bib cleaning** — use this Python pattern to extract only cited entries:
|
|
191
|
+
|
|
192
|
+
```python
|
|
193
|
+
import re
|
|
194
|
+
# 1. Grep all \citep{...} and \citet{...} from all .tex files
|
|
195
|
+
# 2. Extract unique keys (handle multi-cite like \citep{a,b,c})
|
|
196
|
+
# 3. Parse the full .bib file, keep only entries whose key is in the cited set
|
|
197
|
+
# 4. Write the filtered bib
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
This prevents bib bloat (e.g., 948 lines → 215 lines in testing).
|
|
201
|
+
|
|
202
|
+
**Citation verification rules (from claude-scholar + Imbad0202):**
|
|
203
|
+
1. Every BibTeX entry must have: author, title, year, venue/journal
|
|
204
|
+
2. Prefer published venue versions over arXiv preprints (if published)
|
|
205
|
+
3. Use consistent key format: `{firstauthor}{year}{keyword}` (e.g., `ho2020denoising`)
|
|
206
|
+
4. Double-check year and venue for every entry
|
|
207
|
+
5. Remove duplicate entries (same paper with different keys)
|
|
208
|
+
|
|
209
|
+
### Step 5: De-AI Polish (from kgraph57/paper-writer-skill)
|
|
210
|
+
|
|
211
|
+
After drafting all sections, scan for common AI writing patterns and fix them:
|
|
212
|
+
|
|
213
|
+
**Content patterns to fix:**
|
|
214
|
+
- Significance inflation ("groundbreaking", "revolutionary" → use measured language)
|
|
215
|
+
- Formulaic transitions ("In this section, we..." → remove or vary)
|
|
216
|
+
- Generic conclusions ("This work opens exciting new avenues" → be specific)
|
|
217
|
+
|
|
218
|
+
**Language patterns to fix (watch words):**
|
|
219
|
+
- Replace: delve, pivotal, landscape, tapestry, underscore, noteworthy, intriguingly
|
|
220
|
+
- Remove filler: "It is worth noting that", "Importantly,", "Notably,"
|
|
221
|
+
- Avoid rule-of-three lists ("X, Y, and Z" appearing repeatedly)
|
|
222
|
+
- Don't start consecutive sentences with "This" or "We"
|
|
223
|
+
|
|
224
|
+
### Step 6: Cross-Review with REVIEWER_MODEL
|
|
225
|
+
|
|
226
|
+
Send the complete draft to GPT-5.4 xhigh:
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
mcp__codex__codex:
|
|
230
|
+
model: gpt-5.4
|
|
231
|
+
config: {"model_reasoning_effort": "xhigh"}
|
|
232
|
+
prompt: |
|
|
233
|
+
Review this [VENUE] paper draft (main body, excluding appendix).
|
|
234
|
+
|
|
235
|
+
Focus on:
|
|
236
|
+
1. Does each claim from the intro have supporting evidence?
|
|
237
|
+
2. Is the writing clear, concise, and free of AI-isms?
|
|
238
|
+
3. Any logical gaps or unclear explanations?
|
|
239
|
+
4. Does it fit within [MAX_PAGES] pages (to end of Conclusion)?
|
|
240
|
+
5. Is related work sufficiently comprehensive (≥1 page)?
|
|
241
|
+
6. For theory papers: are proof sketches adequate?
|
|
242
|
+
7. Are figures/tables clearly described and properly referenced?
|
|
243
|
+
|
|
244
|
+
For each issue, specify: severity (CRITICAL/MAJOR/MINOR), location, and fix.
|
|
245
|
+
|
|
246
|
+
[paste full draft text]
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
Apply CRITICAL and MAJOR fixes. Document MINOR issues for the user.
|
|
250
|
+
|
|
251
|
+
### Step 7: Reverse Outline Test (from Research-Paper-Writing-Skills)
|
|
252
|
+
|
|
253
|
+
After drafting all sections:
|
|
254
|
+
|
|
255
|
+
1. **Extract topic sentences** — pull the first sentence of every paragraph
|
|
256
|
+
2. **Read them in sequence** — they should form a coherent narrative on their own
|
|
257
|
+
3. **Check claim coverage** — every claim from the Claims-Evidence Matrix must appear
|
|
258
|
+
4. **Check evidence mapping** — every experiment/figure must support a stated claim
|
|
259
|
+
5. **Fix gaps** — if a topic sentence doesn't advance the story, rewrite the paragraph
|
|
260
|
+
|
|
261
|
+
### Step 8: Final Checks
|
|
262
|
+
|
|
263
|
+
Before declaring done:
|
|
264
|
+
|
|
265
|
+
- [ ] All `\ref{}` and `\label{}` match (no undefined references)
|
|
266
|
+
- [ ] All `\citep{}` / `\citet{}` have corresponding BibTeX entries
|
|
267
|
+
- [ ] No author information in anonymous mode
|
|
268
|
+
- [ ] Figure/table numbering is correct
|
|
269
|
+
- [ ] Page count within MAX_PAGES (main body to Conclusion end)
|
|
270
|
+
- [ ] No TODO/FIXME/XXX markers left in the text
|
|
271
|
+
- [ ] No `[VERIFY]` markers left unchecked
|
|
272
|
+
- [ ] Abstract is self-contained (understandable without reading the paper)
|
|
273
|
+
- [ ] Title is specific and informative (not generic)
|
|
274
|
+
- [ ] Related work is ≥1 full page
|
|
275
|
+
- [ ] references.bib contains ONLY cited entries (no bloat)
|
|
276
|
+
- [ ] **No stale section files** — every .tex in `sections/` is `\input`ed by `main.tex`
|
|
277
|
+
- [ ] **Section files match main.tex** — file numbering and `\input` paths are consistent
|
|
278
|
+
|
|
279
|
+
## Key Rules
|
|
280
|
+
|
|
281
|
+
- **Do NOT generate author names, emails, or affiliations** — use anonymous block or placeholder
|
|
282
|
+
- **Write complete sections, not outlines** — the output should be compilable LaTeX
|
|
283
|
+
- **One file per section** — modular structure for easy editing
|
|
284
|
+
- **Every claim must cite evidence** — cross-reference the Claims-Evidence Matrix
|
|
285
|
+
- **Compile-ready** — the output should compile with `latexmk` without errors (modulo missing figures)
|
|
286
|
+
- **No over-claiming** — use hedging language ("suggests", "indicates") for weak evidence
|
|
287
|
+
- **Venue style matters** — all three venues (ICLR/NeurIPS/ICML) use `natbib` (`\citep`/`\citet`)
|
|
288
|
+
- **Page limit = main body to Conclusion** — references and appendix do NOT count
|
|
289
|
+
- **Clean bib** — references.bib must only contain entries that are actually `\cite`d
|
|
290
|
+
- **Section count is flexible** — match PAPER_PLAN structure, don't force into 5 sections
|
|
291
|
+
- **Backup before overwrite** — never destroy existing `paper/` directory without backing up
|
|
292
|
+
|
|
293
|
+
## Writing Quality Reference
|
|
294
|
+
|
|
295
|
+
Principles from [Research-Paper-Writing-Skills](https://github.com/Master-cai/Research-Paper-Writing-Skills):
|
|
296
|
+
|
|
297
|
+
1. **One message per paragraph** — each paragraph makes exactly one point
|
|
298
|
+
2. **Topic sentence first** — the first sentence states the paragraph's message
|
|
299
|
+
3. **Explicit transitions** — connect paragraphs with logical connectors
|
|
300
|
+
4. **Reverse outline test** — extract topic sentences; they should form a coherent narrative
|
|
301
|
+
|
|
302
|
+
De-AI patterns from [kgraph57/paper-writer-skill](https://github.com/kgraph57/paper-writer-skill):
|
|
303
|
+
|
|
304
|
+
5. **No AI watch words** — delve, pivotal, landscape, tapestry, underscore
|
|
305
|
+
6. **No significance inflation** — groundbreaking, revolutionary, paradigm shift
|
|
306
|
+
7. **No formulaic structures** — vary sentence openings and transitions
|
|
307
|
+
|
|
308
|
+
## Acknowledgements
|
|
309
|
+
|
|
310
|
+
Writing methodology adapted from [Research-Paper-Writing-Skills](https://github.com/Master-cai/Research-Paper-Writing-Skills) (CCF award-winning methodology). Citation verification from [claude-scholar](https://github.com/Galaxy-Dawn/claude-scholar) and [Imbad0202/academic-research-skills](https://github.com/Imbad0202/academic-research-skills). De-AI polish from [kgraph57/paper-writer-skill](https://github.com/kgraph57/paper-writer-skill). Backup mechanism from [baoyu-skills](https://github.com/jimliu/baoyu-skills).
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
% ICLR 2026 Paper Template
|
|
2
|
+
% Generated by ARIS paper-write skill
|
|
3
|
+
% Style file: download from https://iclr.cc/Conferences/2026/CallForPapers
|
|
4
|
+
|
|
5
|
+
\documentclass{article}
|
|
6
|
+
\usepackage{iclr2026_conference,times}
|
|
7
|
+
|
|
8
|
+
% Math
|
|
9
|
+
\usepackage{amsmath,amssymb,amsfonts,amsthm,mathtools}
|
|
10
|
+
|
|
11
|
+
% Typography
|
|
12
|
+
\usepackage[utf8]{inputenc}
|
|
13
|
+
\usepackage[T1]{fontenc}
|
|
14
|
+
\usepackage{hyperref}
|
|
15
|
+
\usepackage{url}
|
|
16
|
+
\usepackage{booktabs}
|
|
17
|
+
\usepackage{nicefrac}
|
|
18
|
+
\usepackage{microtype}
|
|
19
|
+
\usepackage{xcolor}
|
|
20
|
+
\usepackage{graphicx}
|
|
21
|
+
\usepackage{subcaption}
|
|
22
|
+
\usepackage{multirow}
|
|
23
|
+
\usepackage{algorithm}
|
|
24
|
+
\usepackage{algorithmic}
|
|
25
|
+
|
|
26
|
+
% cleveref must be loaded AFTER hyperref
|
|
27
|
+
\usepackage[capitalize,noabbrev]{cleveref}
|
|
28
|
+
|
|
29
|
+
% Theorems
|
|
30
|
+
\theoremstyle{plain}
|
|
31
|
+
\newtheorem{theorem}{Theorem}[section]
|
|
32
|
+
\newtheorem{proposition}[theorem]{Proposition}
|
|
33
|
+
\newtheorem{lemma}[theorem]{Lemma}
|
|
34
|
+
\newtheorem{corollary}[theorem]{Corollary}
|
|
35
|
+
\theoremstyle{definition}
|
|
36
|
+
\newtheorem{definition}[theorem]{Definition}
|
|
37
|
+
\newtheorem{assumption}[theorem]{Assumption}
|
|
38
|
+
\theoremstyle{remark}
|
|
39
|
+
\newtheorem{remark}[theorem]{Remark}
|
|
40
|
+
|
|
41
|
+
% cleveref names for custom theorem types
|
|
42
|
+
\crefname{assumption}{Assumption}{Assumptions}
|
|
43
|
+
\Crefname{assumption}{Assumption}{Assumptions}
|
|
44
|
+
|
|
45
|
+
% Shared math commands
|
|
46
|
+
\input{math_commands}
|
|
47
|
+
|
|
48
|
+
% === ANONYMOUS SUBMISSION ===
|
|
49
|
+
% Comment out \iclrfinalcopy for anonymous submission
|
|
50
|
+
% Uncomment for camera-ready version
|
|
51
|
+
% \iclrfinalcopy
|
|
52
|
+
|
|
53
|
+
\title{Paper Title Here}
|
|
54
|
+
|
|
55
|
+
% Authors — leave anonymous for submission
|
|
56
|
+
% Uncomment and fill for camera-ready
|
|
57
|
+
% \author{
|
|
58
|
+
% Author Name \\
|
|
59
|
+
% Affiliation \\
|
|
60
|
+
% \texttt{email@example.com}
|
|
61
|
+
% }
|
|
62
|
+
|
|
63
|
+
\begin{document}
|
|
64
|
+
|
|
65
|
+
\maketitle
|
|
66
|
+
|
|
67
|
+
\begin{abstract}
|
|
68
|
+
\input{sections/0_abstract}
|
|
69
|
+
\end{abstract}
|
|
70
|
+
|
|
71
|
+
\input{sections/1_introduction}
|
|
72
|
+
\input{sections/2_related_work}
|
|
73
|
+
\input{sections/3_method}
|
|
74
|
+
\input{sections/4_experiments}
|
|
75
|
+
\input{sections/5_conclusion}
|
|
76
|
+
|
|
77
|
+
\bibliography{references}
|
|
78
|
+
\bibliographystyle{iclr2026_conference}
|
|
79
|
+
|
|
80
|
+
\newpage
|
|
81
|
+
\appendix
|
|
82
|
+
\input{sections/A_appendix}
|
|
83
|
+
|
|
84
|
+
\end{document}
|