Idea creator

From FOURTEEN1416/academic-agent-toolkit · View interactive version

Idea creator is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Generate and rank research ideas given a broad direction. Use when user says ”找idea”, ”brainstorm ideas”, or ”generate research ideas”.

How to use this skill

Skill file

Research Idea Creator

Generate publishable research ideas for: $ARGUMENTS

Overview

Given a broad research direction from the user, systematically generate, validate, and rank concrete research ideas. This skill composes with the research-lit, novelty-check, and research-review steps to form a complete idea discovery pipeline.

Constants

💡 Override via argument, e.g., idea-creator "topic" — pilot budget: 4h per idea, 20h total.

Workflow

Phase 1: Landscape Survey (5-10 min)

Map the research area to understand what exists and where the gaps are.

  1. Read previous step outputs: Check if literature_review.md or references.bib exist in the project root (produced by the research-lit step). If found, read them first to build upon the existing literature survey rather than duplicating the work.
  1. Scan local paper library first: Check papers/ and literature/ in the project directory for existing PDFs. Read first 3 pages of relevant papers to build a baseline understanding before searching online. This avoids re-discovering what the user already knows.
  1. Search recent literature using WebSearch:
  1. Build a landscape map:
  1. Identify structural gaps:

Phase 2: Idea Generation (brainstorm with external LLM)

Use the external LLM via reviewer_client.py for divergent thinking. If the reviewer script fails (e.g. API key not configured), perform the brainstorming yourself — generate 8-12 ideas using the landscape map from Phase 1 as context, then proceed directly to Phase 3.

When the reviewer script is available:

# 写入评审 prompt
cat << 'REVIEW_EOF' > _review_prompt.txt
You are a senior ML researcher brainstorming research ideas.

Research direction: [user's direction]

Here is the current landscape:
[paste landscape map from Phase 1]

Key gaps identified:
[paste gaps from Phase 1]

Generate 8-12 concrete research ideas. For each idea:
1. One-sentence summary
2. Core hypothesis (what you expect to find and why)
3. Minimum viable experiment (what's the cheapest way to test this?)
4. Expected contribution type: empirical finding / new method / theoretical result / diagnostic
5. Risk level: LOW (likely works) / MEDIUM (50-50) / HIGH (speculative)
6. Estimated effort: days / weeks / months

Prioritize ideas that are:
- Testable with moderate compute (8x RTX 3090 or less)
- Likely to produce a clear positive OR negative result (both are publishable)
- Not "apply X to Y" unless the application reveals genuinely surprising insights
- Differentiated from the 10-15 papers above

Be creative but grounded. A great idea is one where the answer matters regardless of which way it goes.
REVIEW_EOF

# 调用外部评审模型
PYTHON=""; for _c in "$MH_PYTHON" python python3; do [ -z "$_c" ] && continue; if $_c -c "import sys" >/dev/null 2>&1; then PYTHON="$_c"; break; fi; done; [ -z "$PYTHON" ] && PYTHON=python
$PYTHON "$REVIEWER_SCRIPT" --prompt-file _review_prompt.txt --thread-file _reviewer_thread.json

对话历史通过 _reviewer_thread.json 自动保存。

Phase 3: First-Pass Filtering

For each generated idea, quickly evaluate:

  1. Feasibility check: Can we actually run this experiment with available resources?
  1. Novelty quick-check: For each idea, do 2-3 targeted searches to see if it's already been done. Full novelty-check comes later for survivors.
  1. Impact estimation: Would a reviewer care about the result?

Eliminate ideas that fail any of these. Typically 8-12 ideas reduce to 4-6.

Phase 4: Deep Validation (for top ideas)

For each surviving idea, run a deeper evaluation:

  1. Novelty check: Perform a thorough novelty verification (multi-source search + external reviewer cross-verification) for each idea
  1. Critical review: Use the external reviewer via reviewer_client.py (same thread):

```bash

cat << 'REVIEW_EOF' > _review_prompt.txt

Here are our top ideas after filtering:

[paste surviving ideas with novelty check results]

For each, play devil's advocate:

REVIEW_EOF

PYTHON=""; for _c in "$MH_PYTHON" python python3; do [ -z "$_c" ] && continue; if $_c -c "import sys" >/dev/null 2>&1; then PYTHON="$_c"; break; fi; done; [ -z "$PYTHON" ] && PYTHON=python

$PYTHON "$REVIEWER_SCRIPT" --prompt-file _review_prompt.txt --thread-file _reviewer_thread.json

```

  1. Combine rankings: Merge your assessment with the external reviewer's ranking. Select top 2-3 ideas for pilot experiments.

Phase 5: Parallel Pilot Experiments (for top 2-3 ideas)

Before committing to a full research effort, run cheap pilot experiments to get empirical signal. This is the key differentiator from paper-only validation.

  1. Design pilots: For each top idea, define the minimal experiment that would give a positive or negative signal:
  1. Deploy in parallel: Launch pilots on different GPUs simultaneously using Bash + screen/tmux:

```

GPU 0: Pilot for Idea 1

GPU 1: Pilot for Idea 2

GPU 2: Pilot for Idea 3

```

Use run_in_background: true to launch all at once.

  1. Collect results: Monitor experiment progress. If any pilot exceeds PILOT_TIMEOUT_HOURS, kill it and collect partial results. Once all pilots complete (or timeout), compare:
  1. Re-rank based on empirical evidence: Update the idea ranking using pilot results. An idea with strong pilot signal jumps ahead of a theoretically appealing but untested idea.

Note: Skip this phase if the ideas are purely theoretical or if no GPU is available. Flag skipped ideas as "needs pilot validation" in the report.

Phase 6: Output — Ranked Idea Report

Write a structured report to IDEA_REPORT.md in the project root:

# Research Idea Report

**Direction**: [user's research direction]
**Generated**: [date]
**Ideas evaluated**: X generated → Y survived filtering → Z piloted → W recommended

## Landscape Summary
[3-5 paragraphs on the current state of the field]

## Recommended Ideas (ranked)

### Idea 1: [title]
- **Hypothesis**: [one sentence]
- **Minimum experiment**: [concrete description]
- **Expected outcome**: [what success/failure looks like]
- **Novelty**: X/10 — closest work: [paper]
- **Feasibility**: [compute, data, implementation estimates]
- **Risk**: LOW/MEDIUM/HIGH
- **Contribution type**: empirical / method / theory / diagnostic
- **Pilot result**: [POSITIVE: metric +X% / NEGATIVE: no signal / SKIPPED: needs GPU]
- **Reviewer's likely objection**: [strongest counterargument]
- **Why we should do this**: [1-2 sentences]

### Idea 2: [title]
...

## Eliminated Ideas (for reference)
| Idea | Reason eliminated |
|------|-------------------|
| ... | Already done by [paper] |
| ... | Requires > 1 week GPU time |
| ... | Result wouldn't be interesting either way |

## Pilot Experiment Results
| Idea | GPU | Time | Key Metric | Signal |
|------|-----|------|------------|--------|
| Idea 1 | GPU 0 | 45 min | +2.3% CE | POSITIVE |
| Idea 2 | GPU 1 | 30 min | -0.1% CE | NEGATIVE |
| Idea 3 | GPU 2 | 1.5 hr | +0.8% CE | WEAK POSITIVE |

## Suggested Execution Order
1. Start with Idea 1 (positive pilot signal, lowest risk)
2. Idea 3 as backup (weak signal, may need larger scale to confirm)
3. Idea 2 eliminated by pilot — negative result documented

## Next Steps
- [ ] Scale up Idea 1 to full experiment (multi-seed, full dataset)
- [ ] If confirmed, run auto-review-loop for full iteration

Key Rules

产出结构、存在性和最低完整性由 finish 按模板中的 output_contract 自动核验;修复返回的具体问题,不复制执行验证脚本。

Composing with Other Skills

After this skill produces the ranked report, the pipeline continues with:

idea-creator "direction"     → ranked ideas
novelty-check "top idea"     → deep novelty verification (already done in Phase 4, but user can re-run)
research-review "top idea"   → external critical feedback
implement                    → write code
run-experiment               → deploy to GPU
auto-review-loop             → iterate until submission-ready

执行与产出

使用当前执行会话完成本步工作;产物路径按当前步骤合同。程序采集真实操作、输入输出、版本与运行清单,模型只负责实质成果和领域质量。

建议额外记录:搜索词、源 API、结果数、fallback 链。

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.