Research

From lornshrimp/Lorn.NovelWriteSkills · View interactive version

Research is an AI agent skill from the GitHub repository lornshrimp/Lorn.NovelWriteSkills. Conduct preliminary research on a topic and generate research outline. For academic research, benchmark research, technology selection, etc.

How to use this skill

Skill file

<!-- ===== Layer 1: 永久缓存 ===== -->

Research Skill - Preliminary Research

Trigger

/research <topic>

Workflow

Step 1: Generate Initial Framework from Model Knowledge

Based on topic, use model's existing knowledge to generate:

Output {step1_output}, use AskUserQuestion to confirm:

Step 2: Web Search Supplement

Use AskUserQuestion to ask for time range (e.g., last 6 months, since 2024, unlimited).

Parameter Retrieval:

Hard Constraint: The following prompt must be strictly reproduced, only replacing variables in {xxx}, do not modify structure or wording.

Launch 1 web-search-agent (background), Prompt Template:

prompt = f"""## Task
Research topic: {topic}
Current date: {YYYY-MM-DD}

Based on the following initial framework, supplement latest items and recommended research fields.

## Existing Framework
{step1_output}

## Goals
1. Verify if existing items are missing important objects
2. Supplement items based on missing objects
3. Continue searching for {topic} related items within {time_range} and supplement
4. Supplement new fields

## Output Requirements
Return structured results directly (do not write files):

### Supplementary Items
- item_name: Brief explanation (why it should be added)
...

### Recommended Supplementary Fields
- field_name: Field description (why this dimension is needed)
...

### Sources
- [Source1](url1)
- [Source2](url2)
"""

One-shot Example (assuming researching AI Coding History):

## Task
Research topic: AI Coding History
Current date: 2025-12-30

Based on the following initial framework, supplement latest items and recommended research fields.

## Existing Framework
### Items List
1. GitHub Copilot: Developed by Microsoft/GitHub, first mainstream AI coding assistant
2. Cursor: AI-first IDE, based on VSCode
...

### Field Framework
- Basic Info: name, release_date, company
- Technical Features: underlying_model, context_window
...

## Goals
1. Verify if existing items are missing important objects
2. Supplement items based on missing objects
3. Continue searching for AI Coding History related items within since 2024 and supplement
4. Supplement new fields

## Output Requirements
Return structured results directly (do not write files):

### Supplementary Items
- item_name: Brief explanation (why it should be added)
...

### Recommended Supplementary Fields
- field_name: Field description (why this dimension is needed)
...

### Sources
- [Source1](url1)
- [Source2](url2)

Step 3: Ask User for Existing Fields

Use AskUserQuestion to ask if user has existing field definition file, if so read and merge.

Step 4: Generate Outline (Separate Files)

Merge {step1_output}, {step2_output} and user's existing fields, generate two files:

outline.yaml (items + config):

fields.yaml (field definitions):

Step 5: Output and Confirm

Output Path

{current_working_directory}/{topic_slug}/
  ├── outline.yaml    # items list + execution config
  └── fields.yaml     # field definitions

Follow-up Commands

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.