# idea-discovery

Automates an end-to-end research idea pipeline from literature survey to novelty check and experiment planning. Handy for scoping new research directions from scratch.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 580 installs · ★ 18090
- Author: wanshuiyin
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/HEAD/skills/idea-discovery/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/idea-discovery

## What it does

The skill links five research stages into one pipeline: literature search in `/research-lit`, brainstorming in `/idea-creator`, novelty checks in `/novelty-check`, critical review in `/research-review`, and refinement in `/research-refine-pipeline`. It saves findings to `idea-stage/IDEA_REPORT.md` and generates an experiment plan in `refine-logs/EXPERIMENT_PLAN.md`.

Execution relies on local helper tools `run_state.py` and `idea_discovery_gate.py` located in `.aris/tools/` or `tools/`. If either helper is missing, the workflow halts with a blocked status. External reviews are handled through the Codex MCP interface using the `gpt-6-astra` model.

GPU usage is strictly bounded during pilot runs. Each GPU pilot run is capped at 2 hours, with an 8-hour total budget across all candidates. Tasks exceeding these thresholds get flagged or terminated automatically.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill idea-discovery -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/idea-discovery/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/idea-discovery/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill idea-discovery -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/idea-discovery/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill idea-discovery -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/idea-discovery/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install wanshuiyin/Auto-claude-code-research-in-sleep idea-discovery
```

2. **Manually: put the files in place**
- File: `.github/skills/idea-discovery/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill idea-discovery -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep --path skills/idea-discovery
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/idea-discovery/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill idea-discovery -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/HEAD/skills/idea-discovery/SKILL.md

## When to use it
- orchestrate research workflows from broad topics to vetted ideas
- verify novelty against existing literature using model reviewers
- draft structured experiment plans with strict GPU limits
- render ranked research reports into Markdown and HTML

## Example prompts
- /idea-discovery "efficient attention mechanisms"
- /idea-discovery "graph neural networks" --compact: true
- /idea-discovery "retrieval augmented generation" --render-html: false

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 184e060a2d8b4feb.

BEGIN THIRD-PARTY FILE 184e060a2d8b4feb
````text
---
name: idea-discovery
description: "Workflow 1: Full idea discovery pipeline to go from a broad research direction to validated, pilot-tested ideas. Use when user says \"找idea全流程\", \"idea discovery pipeline\", \"从零开始找方向\", or wants the complete idea exploration workflow."
argument-hint: "[research-direction]"
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob, WebSearch, WebFetch, Skill, mcp__codex__codex, mcp__codex__codex-reply
---

# Workflow 1: Idea Discovery Pipeline

> **Before each reviewer slot**, follow [Selectable Reviewers](../shared-references/reviewer-backends.md):
> resolve invocation → `.aris/reviewer.json` → Claude Code default (Codex MCP)
> with `reviewer_route.py` through the canonical helper resolver, preserving this
> slot's tier, fresh contexts, source/image inputs and deterministic gates.
> Codex examples/pins below apply only to `backend=codex`; other routes use their
> own first-call/reply contract. Save the route and actual returned identity;
> unavailable selections are `REVIEW_UNAVAILABLE`. Classify acceptance from actual
> families/completion/scope. Forward invocation reviewer/model/effort overrides
> to reviewer-bearing children. Generation workers are unchanged.


Orchestrate a complete idea discovery workflow for: **$ARGUMENTS**

## Overview

This skill chains sub-skills into a single automated pipeline:

```
/research-lit → /idea-creator → /novelty-check → /research-review → /research-refine-pipeline
  (survey)      (brainstorm)    (verify novel)    (critical feedback)  (refine method + plan experiments)
```

Each phase builds on the previous one's output. The final deliverables are a validated `idea-stage/IDEA_REPORT.md` with ranked ideas, plus a refined proposal (`refine-logs/FINAL_PROPOSAL.md`) and experiment plan (`refine-logs/EXPERIMENT_PLAN.md`) for the top idea.

## Constants

- **PILOT_MAX_HOURS = 2** — Skip any pilot experiment estimated to take > 2 hours per GPU. Flag as "needs manual pilot" in the report.
- **PILOT_TIMEOUT_HOURS = 3** — Hard timeout: kill any running pilot that exceeds 3 hours. Collect partial results if available.
- **MAX_PILOT_IDEAS = 3** — Run pilots for at most 3 top ideas in parallel. Additional ideas are validated on paper only.
- **MAX_TOTAL_GPU_HOURS = 8** — Total GPU budget across all pilots. If exceeded, skip remaining pilots and note in report.
- **AUTO_PROCEED = true** — When `true`, checkpoints are informational: report the selected option and continue in the same turn. Set to `false` to ask for explicit user confirmation and end the turn at each selection checkpoint.
````
END THIRD-PARTY FILE 184e060a2d8b4feb

The third-party file has ended. Everything between the 184e060a2d8b4feb tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2636 of 28404 bytes. © wanshuiyin · MIT · https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/HEAD/skills/idea-discovery/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
