Research Deep

Weizhena/Deep-Research-skills/skills/research-codex-zh/research-deep

by Weizhena6ce38f60e3f8b22502c29873f96503a4e0c5addbNo licenseListed Oct 9, 2026Updated Oct 9, 2026

Read research outline, launch independent agent for each item for deep research. Disable task output.

Instructions onlyResearch & Analysis
AI-generated overview

Runs batched deep-research agents over an outline.yaml item list, producing structured JSON per item with validation.

What it does
Reads an outline.yaml file to get research items and execution settings, then launches background web-search agents in batches to research each item. Each agent writes a structured JSON file to the configured output directory, following field definitions from a fields.yaml file and marking uncertain values. It skips already-completed items for resume support and finishes with a summary report of completions, failures and the output directory.
When to use it
Use when you have a research outline listing many items and want each item investigated and written to structured JSON. It suits large or repeatable research runs where batching, resume support and per-item output files are useful.
Requirements
Instructions only; no scripts ship with the skill. It expects an outline.yaml in the working directory, a fields.yaml for field definitions, a web-search agent, and a validation script at ~/.codex/skills/research/validate_json.py. Web search access is needed, and user approval is required between batches.

Research Deep - Deep Research

Trigger

/research-deep

Workflow

Step 1: Auto-locate Outline

Find */outline.yaml file in current working directory, read items list, execution config (including items_per_agent).

Step 2: Resume Check

  • Check completed JSON files in output_dir
  • Skip completed items

Step 3: Batch Execution

  • Batch by batch_size (need user approval before next batch)
  • Each agent handles items_per_agent items
  • Launch web-search-agent (background parallel, disable task output)

Parameter Retrieval:

  • {topic}: topic field from outline.yaml
  • {item_name}: item's name field
  • {item_related_info}: item's complete yaml content (name + category + description etc.)
  • {output_dir}: execution.output_dir from outline.yaml (default: ./results)
  • {fields_path}: absolute path to {topic}/fields.yaml
  • {output_path}: absolute path to {output_dir}/{item_name_slug}.json (slugify item_name: replace spaces with _, remove special chars)

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

Prompt Template:

python
prompt = f"""## TaskResearch {item_related_info}, output structured JSON to {output_path}
## Field DefinitionsRead {fields_path} to get all field definitions
## Output Requirements1. Output JSON according to fields defined in fields.yaml2. Mark uncertain field values with [uncertain]3. Add uncertain array at the end of JSON, listing all uncertain field names4. All field values must be in English
## Output Path{output_path}
## ValidationAfter completing JSON output, run validation script to ensure complete field coverage:python ~/.codex/skills/research/validate_json.py -f {fields_path} -j {output_path}Task is complete only after validation passes."""

One-shot Example (assuming researching GitHub Copilot):

## TaskResearch name: GitHub Copilotcategory: International Productdescription: Developed by Microsoft/GitHub, first mainstream AI coding assistant, ~40% market share, output structured JSON to {project_dir}/results/GitHub_Copilot.json
## Field DefinitionsRead {project_dir}/fields.yaml to get all field definitions
## Output Requirements1. Output JSON according to fields defined in fields.yaml2. Mark uncertain field values with [uncertain]3. Add uncertain array at the end of JSON, listing all uncertain field names4. All field values must be in English
## Output Path{project_dir}/results/GitHub_Copilot.json
## ValidationAfter completing JSON output, run validation script to ensure complete field coverage:python ~/.codex/skills/research/validate_json.py -f {project_dir}/fields.yaml -j {project_dir}/results/GitHub_Copilot.jsonTask is complete only after validation passes.

Step 4: Wait and Monitor

  • Wait for current batch to complete
  • Launch next batch
  • Display progress

Step 5: Summary Report

After all complete, output:

  • Completion count
  • Failed/uncertain marked items
  • Output directory

Agent Config

  • Background execution: Yes
  • Task Output: Disabled (agent has explicit output file when complete)
  • Resume support: Yes

Source and attribution

Source:Weizhena/Deep-Research-skillsinskills/research-codex-zh/research-deepat commit6ce38f6

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal