Paper plan

From Lambenthan/empiricalwiki · View interactive version

Paper plan is an AI agent skill from the GitHub repository Lambenthan/empiricalwiki. 从 claim graph 编译论文大纲:编译 evidence map → 叙事结构 → 章节计划 + figure plan + citation plan,Review LLM review 必选

How to use this skill

Skill file

/paper-plan

从 wiki 的 claim graph 编译论文大纲。

输入 target claims(status: supported 或 weakly_supported),指定目标会议/期刊,

从 wiki 编译 evidence map → 确定叙事结构 → 生成章节大纲 + figure plan + citation plan。

Review LLM review 是必选步骤(作为 area chair 审查大纲说服力)。

输出 PAPER_PLAN.md 到 wiki/outputs/。

关键差异:大纲由 claim graph 驱动 — 每个 section 存在是因为它支撑某个 claim,

而非因为论文惯例要求有该 section。

Inputs

Outputs

Wiki Interaction

Reads

Writes

Graph edges created

Workflow

前置:确认工作目录为 wiki 项目根(包含 wiki/、raw/、tools/ 的目录)。

Step 1: 加载 Claim Graph

  1. 读取所有 target claims 的 wiki/claims/{slug}.md
  2. 对每个 claim,收集其 evidence 列表:
  1. 对每条 evidence source,读取对应的 wiki 页面:
  1. 从 wiki/graph/edges.jsonl 加载相关边,构建 claims 之间的关系
  2. 读取 wiki/graph/context_brief.md 获取全局上下文
  3. 读取 wiki/graph/open_questions.md 标注 known limitations

验证:

Step 2: 从 Wiki 编译 Evidence Map

生成一个结构化矩阵,映射 claims → evidence → sections:

| Claim | Status | Confidence | Evidence Sources | Strength | Paper Section |
|-------|--------|-----------|-----------------|----------|---------------|
| [[primary-claim]] | supported | 0.85 | exp-main, paper-A | strong | Method + Exp 5.2 |
| [[supporting-claim-1]] | supported | 0.75 | exp-ablation-1 | moderate | Exp 5.3 (Ablation) |
| [[supporting-claim-2]] | weakly_supported | 0.55 | exp-scaling | weak | Exp 5.4 (Scaling) |

按维度映射 claims 到论文结构:

Step 3: 确定叙事结构

遵循 shared-references/academic-writing.md 的 hourglass 原则:

  1. 确定 paper 的核心故事线:
  1. 确定叙事角度:
  1. 建立 section → claim 映射:

每个 section 必须至少支撑一个 claim。没有 claim 支撑的 section 是填充,应删除。

Step 4: 生成章节大纲

按 venue 格式要求生成大纲,每个 section 包含:

## 1. Introduction (1.5 pages)

### Claims addressed
- Gap claim: {existing approaches lack X because Y}
- Contribution claim: [[primary-claim]]

### Paragraph plan
1. Broad context: {field importance, recent progress}
2. Specific problem: {what's missing, why it matters}
3. Our approach: "In this work, we propose..." + contributions list
4. Results preview: {headline numbers}
5. Paper structure: "The rest of this paper..."

### Key citations
- [[paper-A]] — establishes the problem
- [[paper-B]] — closest prior work (we improve upon)
- [[paper-C]] — our baseline

---

## 2. Related Work (1 page)

### Groupings
- Direction A: {papers, our position}
- Direction B: {papers, our position}
- Direction C: {papers, our position}

### Claims addressed
- Contextual claims distinguishing from prior work

---

## 3. Method (2-3 pages)

### Claims addressed
- [[primary-claim]]: section 3.1-3.2
- [[supporting-claim-1]]: section 3.3

### Subsection plan
- 3.1 Problem formulation: notation, objective
- 3.2 Core approach: intuition → formalism
- 3.3 Component X: design decision + justification
- 3.4 Training/inference details

### Figures
- Figure 1: Overall architecture (mandatory)
- Figure 2: Component X detail (if complex)

---

## 4. Experiments (2-3 pages)

### Claims addressed
- [[primary-claim]]: section 4.2 (main results)
- [[supporting-claim-1]]: section 4.3 (ablation)
- [[supporting-claim-2]]: section 4.4 (scaling)

### Subsection plan
- 4.1 Setup: datasets, baselines, metrics, implementation details
- 4.2 Main results: Table 1 (main comparison), [[exp-main]]
- 4.3 Ablation study: Table 2 (component analysis), [[exp-ablation-*]]
- 4.4 Analysis: scaling, robustness, qualitative examples

### Figures/Tables
- Table 1: Main comparison vs baselines
- Table 2: Ablation results
- Figure 3: Scaling curves / qualitative examples

---

## 5. Conclusion (0.5 page)

### Key takeaway
- {one sentence the reader should remember}

### Limitations
- {from gap_map or claim conditions}

### Future work
- {from gap_map open questions}

Page budget:根据 --venue 分配(参考 academic-writing.md 的 venue 表),总 section 页数 <= venue 主文限制。

Step 5: Figure Plan

为每个计划中的 figure/table 设计:

## Figure Plan

### Figure 1: System Architecture
- Type: diagram
- Source: Method section description
- Style: block diagram with labeled components
- Size: full width (1 column = text width)

### Table 1: Main Results
- Type: comparison table
- Source: [[exp-main]] key_result + baselines
- Columns: Method | Metric-1 | Metric-2 | ...
- Rows: baselines + ours (ours in bold)
- Notes: best bold, second underline, ↑/↓ arrows for direction

### Figure 3: Scaling Analysis
- Type: line plot
- Source: [[exp-scaling]] results
- X-axis: scale dimension (model size / data size)
- Y-axis: performance metric
- Lines: ours vs baseline, with error bands

Step 6: Citation Plan

参照 shared-references/citation-verification.md:

  1. 列出大纲中所有 [[slug]] 引用的 wiki papers
  2. 对每篇论文,pre-fetch BibTeX:
  1. 生成 citation coverage 报告:

```

Citations: 15 total, 12 verified (DBLP: 8, CrossRef: 3, S2: 1), 3 [UNCONFIRMED]

```

  1. 对 [UNCONFIRMED] 条目,提供建议的手动检查 URL

Step 7: Review LLM Review(必选)

mcp__llm-review__chat:
  system: "You are an area chair at {venue} reviewing a paper outline.
           Assess: Is the narrative convincing? Does every section serve a clear purpose?
           Are the experiments sufficient to support the claims?
           Is the related work coverage adequate?
           Are there obvious gaps that reviewers will attack?
           Provide specific suggestions for strengthening the outline."
  message: |
    ## Paper Outline
    {complete outline from Step 4}

    ## Evidence Map
    {evidence map from Step 2}

    ## Figure/Table Plan
    {plan from Step 5}

    ## Citation Coverage
    {report from Step 6}

    ## Questions for Review
    1. Is the narrative arc (gap → solution → evidence → impact) convincing?
    2. Are any claims under-supported? Which experiments are missing?
    3. Is the related work grouping appropriate? Missing directions?
    4. Will the page budget work? Any section too long/short?
    5. Are the figures/tables sufficient to tell the story?

根据 Review LLM 反馈修改大纲(补充 section、调整 page budget、添加 figure/table、修正叙事结构)。

Step 8: 输出到 Wiki

  1. 生成 slug:

```bash

python3 tools/research_wiki.py slug "<working-title>"

```

  1. 写入 PAPER_PLAN.md:

创建 wiki/outputs/paper-plan-{slug}-{date}.md,包含:

  1. 添加 graph edges:

```bash

# plan → target claim

python3 tools/research_wiki.py add-edge wiki/ \

--from "outputs/paper-plan-{slug}-{date}" --to "claims/{primary-claim}" \

--type derived_from --evidence "Paper plan built from this claim"

# plan → key papers

python3 tools/research_wiki.py add-edge wiki/ \

--from "outputs/paper-plan-{slug}-{date}" --to "papers/{paper-slug}" \

--type derived_from --evidence "Paper plan cites this paper"

```

  1. 重建派生数据:

```bash

python3 tools/research_wiki.py rebuild-context-brief wiki/

```

  1. 追加日志:

```bash

python3 tools/research_wiki.py log wiki/ \

"paper-plan | {venue} paper outline for [[{slug}]] | claims: {claim-list} | citations: {verified}/{total}"

```

  1. 输出 PAPER_PLAN_REPORT 到终端:

```markdown

# Paper Plan Report

## Meta

## Claims → Sections

| Claim | Confidence | Section |

|-------|-----------|---------|

| [[primary]] | 0.85 | Method + Exp 5.2 |

| [[supporting-1]] | 0.75 | Exp 5.3 |

## Page Budget

| Section | Pages | Claims |

|---------|-------|--------|

| Introduction | 1.5 | gap, contribution |

| Related Work | 1.0 | context |

| Method | 2.5 | primary, supporting |

| Experiments | 2.5 | all |

| Conclusion | 0.5 | — |

## Figures/Tables: {N} planned

## Citations: {verified}/{total} verified, {verify_count} [UNCONFIRMED]

## Review LLM Review: score {X}/10, verdict: {verdict}

## Next Steps

```

Constraints

Error Handling

Dependencies

Tools(via Bash)

MCP Servers

Claude Code Native

Shared References

Called by

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.