Deep research

From akillness/jeo-skills · View interactive version

Deep research is an AI agent skill from the GitHub repository akillness/jeo-skills. Routing front door for a structured, human-in-the-loop deep-research workflow (Weizhena/Deep-Research-skills) — turn a topic into an extensible outline, fan out parallel web-search agents to investigate each item into validated JSON, then render a complete markdown report. One skill, 4 reference pip

How to use this skill

Skill file

deep-research

A routing-first front door for the Deep Research workflow from

Weizhena/Deep-Research-skills

— a two-phase, human-in-the-loop research method (outline generation, then deep

investigation) consolidated into one jeo-skill with 4 reference pipelines.

Each pipeline ships its own prompt templates and output contract; this skill

classifies the request into the right phase, loads that pipeline, and executes

it exactly.

One topic → one extensible outline → parallel per-item investigation into

validated JSON → one complete markdown report. Every phase has a user

checkpoint, so you keep precise control at each stage instead of handing the

model a black-box "research X" prompt.

The reference pipelines hold the dismantled-and-merged upstream skill text

(per-command frontmatter stripped, headings nested, prompt templates kept

verbatim) — not a paraphrase — so each phase is self-contained here. Read the

matching pipeline reference before executing:

Plugin Installation

# This routing skill via jeo-skills (verified path)
npx skills add https://github.com/akillness/jeo-skills --skill deep-research

# Global install for one or more agents
npx skills add -g https://github.com/akillness/jeo-skills --skill deep-research -a claude-code -a codex -y

# Scripted install with knobs (Python dep + upstream slash-command skills)
WITH_DEPS=1 AGENTS="claude-code,codex" bash .agent-skills/deep-research/scripts/install.sh

The deep phase calls scripts/validate_json.py (needs pip install pyyaml).

The upstream repo also ships ready-made slash commands for Claude Code, OpenCode,

and Codex — WITH_UPSTREAM=1 bash scripts/install.sh clones and copies them.

When to use this skill

tools, companies, products) along consistent fields, not a single Q&A

analysis / due diligence that benefits from a structured outline first

markdown report with a table of contents

When not to use this skill

Required intake packet

Before routing, identify:

  1. Phase — outline · deep · report (which stage of the workflow)
  2. Topic — the research subject (becomes {topic} and the {topic_slug}/ working dir)
  3. Working dir — existing {topic_slug}/ with outline.yaml + fields.yaml, or new
  4. Time range — for web-search supplementation (e.g. last 6 months, since 2024, unlimited)
  5. Output target — the outline files, the per-item JSON, or the final report.md

Phase Routing Table

| What the user says | Phase | Pipeline |

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

| "research X", "survey X", "give me a research outline for X", "compare these tools/models" | outline | /research → outline-pipeline.md |

| "add more items", "I'm missing some objects", "include X and Y too" | outline | /research-add-items → outline-pipeline.md |

| "add more fields", "also collect pricing/latency", "more dimensions" | outline | /research-add-fields → outline-pipeline.md |

| "now go deep", "investigate each one", "fill in the details", "run the research" | deep | /research-deep → deep-pipeline.md |

| "make the report", "summarize results", "generate report.md", "give me the writeup" | report | /research-report → report-pipeline.md |

| "how should the agent search", "which sources", "debug/academic/Chinese sources" | web-search | web-search-pipeline.md |

Instructions

Step 1: Pick the phase

Classify the request against the routing table. State the chosen **phase →

command** explicitly before producing output (e.g. "outline → /research"). If a

{topic_slug}/outline.yaml already exists in the working directory, default to

the next unfinished phase (outline → deep → report) unless the user asks to

extend the outline.

Step 2: Load the pipeline

Read the matching reference file and follow its workflow and prompt templates:

outline      → references/outline-pipeline.md
deep         → references/deep-pipeline.md
report       → references/report-pipeline.md
web-search   → references/web-search-pipeline.md

Every per-item / supplement search delegates to the web-search agent —

always load web-search-pipeline.md and the relevant source module(s) before

calling WebSearch.

Step 3: Execute with the pipeline's discipline

prompt templates that must be reproduced verbatim — only substitute {xxx}

variables; never edit structure or wording.

(items, fields, time range, batch size, TOC fields) before moving on. Run deep

research batch-by-batch with approval between batches.

carry source links. Mark unknowns [uncertain] and list them in the

uncertain array — never fabricate a value.

validate_json.py passes (full required-field coverage).

Step 4: Return the phase's output packet

| Phase | Output |

|---|---|

| outline | {topic_slug}/outline.yaml (items + execution config) and {topic_slug}/fields.yaml (field definitions), shown for confirmation |

| deep | One {output_dir}/{item_slug}.json per item (validated), plus a completion summary (done / failed / uncertain counts) |

| report | {topic_slug}/generate_report.py and {topic_slug}/report.md (TOC with anchor links + chosen summary fields, then per-field-category detail) |

Close with a one-line Next step pointing to the next phase (outline →

/research-deep; deep → /research-report).

Integrity principles

unverifiable values are marked [uncertain], not invented.

substitute variables only.

fields are confirmed with the user, not assumed.

counts as done.

Route-out map

| If the user needs… | Route to |

|---|---|

| Research-to-publication with citation gates + reviewer rounds | academic-research |

| Autonomous ML experiment search (Karpathy-style) | autoresearch |

| Token-efficient code search across a repo | semble |

| Multi-agent build/verify orchestration | oh-my-claudecode / oh-my-codex / oh-my-agent |

| Persistent knowledge capture / wiki | llm-wiki / okf / obsidian |

| Editable diagrams / charts as artifacts | drawio / mermaid / slides-grab |

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.