Ideate

From Lambenthan/empiricalwiki · View interactive version

Ideate is an AI agent skill from the GitHub repository Lambenthan/empiricalwiki. 多阶段研究 idea 生成管道:景观扫描 → 双模型脑暴 → 初筛 → 深度验证 → 写入 wiki

How to use this skill

Skill file

/ideate

基于 wiki 知识库和外部搜索,通过 5 阶段管道生成高质量研究 idea。

Phase 1 扫描研究景观(wiki + WebSearch + S2),Phase 2 双模型脑暴(Claude + Review LLM 独立生成),

Phase 3 初步筛选(可行性 + 快速 novelty),Phase 4 深度验证(调用 /novelty + /review),

Phase 5 写入 wiki(ideas/ + graph edges),包括被淘汰的 ideas(记录原因作为 anti-repetition 记忆)。

Inputs

Outputs

Wiki Interaction

Reads

Writes

Graph edges created

Workflow

前置:

  1. 确认工作目录为 wiki 项目根(包含 wiki/、raw/、tools/ 的目录)
  2. 检查 wiki 成熟度:

```bash

python3 tools/research_wiki.py maturity wiki/ --json

```

根据 maturity level 调整后续行为:

跳过 wiki 内部上下文加载(为空无意义),标注 "cold-start mode: heavier external search"

Phase 3 gap_alignment_bonus 从 +2 提升到 +3,优先解决 wiki 中已有的 weak claims

  1. Snapshot wiki 状态(用于结束时的 Growth Report):

保存 maturity 返回的 JSON 到内存变量 maturity_before

Phase 1: 景观扫描(Landscape Scan)

目标:构建目标领域的全面视角,包括已有工作、知识缺口和最新进展。

  1. 加载 wiki 内部上下文:
  1. 外部搜索(使用 Agent tool 并行):

```bash

python3 tools/fetch_s2.py search "<direction-keywords>" --limit 20

```

对 top 5 高引论文获取详情

```bash

python3 tools/fetch_deepxiv.py search "<direction-keywords>" --mode hybrid --limit 20

```

对 top 5 高相关结果获取 TLDR 和关键词:

```bash

python3 tools/fetch_deepxiv.py brief <arxiv_id>

```

语义搜索补充 S2 关键词搜索可能遗漏的概念相关论文。

```bash

python3 tools/fetch_deepxiv.py trending --days 14

```

热门论文指示社区关注热点,有助于发现趋势性 gap。

  1. 汇总景观报告(内部使用,不写入 wiki):

Phase 2: 双模型脑暴(Dual-Model Brainstorm)

目标:通过 Claude 和 Review LLM 独立生成 ideas,利用不同模型的视角差异获得多样性。

遵循 shared-references/cross-model-review.md:Claude 和 Review LLM 独立生成,不互相看到对方的结果。

  1. Claude 生成 6-10 个 ideas:
  1. Review LLM 独立生成 4-6 个 ideas(并行执行):

```

mcpllm-reviewchat:

system: "You are a creative ML researcher brainstorming research ideas.

Generate novel, concrete, and feasible ideas based on the given context.

For each idea, provide: title, hypothesis (1-2 sentences),

approach sketch (3-5 sentences), and feasibility assessment."

message: |

## Research Landscape

{landscape report from Phase 1 — gaps, SOTA, trends}

## Knowledge Gaps

{gap_map entries}

## Banlist (DO NOT revisit these)

{failed ideas with failure_reason}

## Active Ideas (avoid duplicating)

{proposed/in_progress ideas}

Generate 4-6 novel research ideas that address the gaps above.

Focus on ideas that are: (1) genuinely novel, (2) feasible within 3-6 months,

(3) directly address a knowledge gap.

```

  1. 合并与去重:

Phase 3: 初步筛选(First-Pass Filter)

目标:快速淘汰明显不可行或不够新颖的 ideas。

对每个候选 idea 进行以下检查:

  1. 可行性检查:
  1. 快速 novelty 筛查(每个 idea 2-3 个 WebSearch):
  1. wiki 对齐检查:
  1. 筛选决策:

Phase 4: 深度验证(Deep Validation)

(若 --skip-validation 则跳过此步,直接到 Phase 5)

对 Phase 3 排名前 3 的 ideas 进行深度验证:

  1. 调用 /novelty(逐个执行):

```

对每个 top idea:

Skill: novelty

Args: "<idea-title-and-hypothesis>"

```

记录 novelty score(1-5)和建议

  1. 调用 /review(对 top 2 ideas):

```

Skill: review

Args: "<idea-full-description>" --difficulty hard --focus method

```

记录 review score(1-10)和 weaknesses

  1. 综合排名:
  1. 若 --auto 未设置:在终端展示排名结果,等待用户确认或调整

Phase 5: 写入 Wiki

将验证后的 ideas 写入 wiki(包括被淘汰的 ideas,记录淘汰原因)。

  1. 写入 top ideas(status: proposed):

对排名前 --max-ideas 个 ideas:

```bash

# 生成 slug

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

```

创建 wiki/ideas/{slug}.md,严格遵循 CLAUDE.md 的 ideas template(所有字段必填;lint.py 强制要求 status 和 priority):

```yaml


title: "<idea 标题>"

slug: "<idea-slug>"

status: proposed

origin: "ideate: <驱动该 idea 的 gap / 弱 claim / 论文的简短描述>"

origin_gaps: [] # [[claim-slug]] 列表 — 该 idea 针对的 claim 或 topic

tags: [] # 2-5 个主题标签(从目标 claim / direction 继承)

domain: "" # NLP / CV / ML Systems / Robotics(从 direction 继承)

priority: 3 # 1-5 — 见下方 Priority 计算

pilot_result: "" # 留空,由 /exp-eval 填写

failure_reason: "" # proposed ideas 留空

linked_experiments: [] # 留空,由 /exp-design 创建 experiment 后填写

date_proposed: YYYY-MM-DD

date_resolved: "" # 留空,validated/failed 时填写


```

Priority 计算(把 Phase 4 信号映射到 1-5 分):

正文结构(必须与 CLAUDE.md 模板严格一致 — 不要改名):

```markdown

## Motivation

哪个 gap / weakly_supported claim / 论文限制驱动了这个 idea。用 [[slug]] 引用 wiki 页面。

## Hypothesis

1-2 句话陈述可验证的命题。

## Approach sketch

3-5 句描述提出的方法。任何借用现有工作的组件用 [[paper-slug]] 或 [[concept-slug]] 标注。

## Expected outcome

成功的表现(指标 / claim 状态变化),加上 Phase 4 的 novelty 与 review 总结:

## Risks

可行性评级(high/medium/low)+ top 2-3 风险。包含 /review 揭示的主要弱点。

## Pilot results

(留空 — 由 /exp-eval 跑完实验后填写)

## Lessons learned

(留空 — 由 /exp-eval 在 idea 达到终态后填写)

```

  1. 写入被淘汰的 ideas(status: failed):

对 Phase 3/4 中被淘汰的 ideas,也用上方同一模板创建 wiki/ideas/{slug}.md,应用以下覆盖:

  1. 添加 graph edges:

```bash

# 对每个 idea

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

--from "ideas/{slug}" --to "claims/{target-claim}" \

--type addresses_gap --evidence "Generated by ideate"

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

--from "ideas/{slug}" --to "papers/{source-paper}" \

--type inspired_by --evidence "Inspired by method in {paper-title}"

```

  1. 重建派生数据:

```bash

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

python3 tools/research_wiki.py rebuild-open-questions wiki/

```

  1. 追加日志:

```bash

python3 tools/research_wiki.py log wiki/ \

"ideate | {N} ideas proposed, {M} ideas filtered out | direction: {direction}"

```

  1. 输出 IDEA_REPORT 到终端:

```markdown

# Idea Generation Report

## Pipeline Summary

## Top Ideas (ranked)

| Rank | Idea | Novelty | Review | Gap Align | Status |

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

| 1 | [[slug]] | 4/5 | 7/10 | +2 | proposed |

| 2 | [[slug]] | 3/5 | 6/10 | +0 | proposed |

## Filtered Out

| Idea | Reason | Status |

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

| [[slug]] | 已有相似发表工作 | failed |

| [[slug]] | GPU 需求过高 | failed |

## Suggested Next Steps

## Wiki Growth

| Metric | Before | After | Delta |

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

| Papers | {before} | {after} | +{delta} |

| Claims | {before} | {after} | +{delta} |

| Ideas | {before} | {after} | +{delta} |

| Edges | {before} | {after} | +{delta} |

| Maturity | {before_level} | {after_level} | {unchanged/upgraded} |

(仅展示 delta != 0 的行。数据来自前置 step 3 的 maturity_before 与此处重新调用 maturity --json 的对比。)

```

Constraints

Error Handling

Dependencies

Tools(via Bash)

Skills(via Skill tool)

MCP Servers

Claude Code Native

Shared References

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.