nav-deep-research
Web deep research producing a cited report from fetched sources, adversarially reviewed and gate-checked, with conclusions ingested into the knowledge graph…
от qf-studio★ 358 звёзд на GitHub
Установить nav-deep-research в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Navigator Deep Research Skill
One question in, one cited report.md out, conclusions in the knowledge graph. This
file is a thin router: each step's procedure lives in steps/N-name.md and is loaded
with Read at the moment the step starts, so a long run never depends on a procedure
that compaction has already evicted. All fetching, drafting, critique and patching
happens in subagents; the main session sees digests, findings and the final report.
Step 0: enabled check and paths (run before anything else)
python3 - <<'EOF'
import json, pathlib
cfg = json.loads(pathlib.Path(".agent/.nav-config.json").read_text()) if pathlib.Path(".agent/.nav-config.json").exists() else {}
d = cfg.get("deep_research") or {}
print(json.dumps({"enabled": bool(d.get("enabled", False)), "config": d}))
EOF
If enabled is false, stop and tell the user:
Deep research is off. Enable it with: "enable deep_research"
(or set deep_research.enabled: true in .agent/.nav-config.json). Ships off because a
run fetches dozens of third-party pages and spends several opus subagent calls.
Resolve the functions directory once and reuse the absolute path in every command and every spawn prompt:
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$(cat "${NAVIGATOR_CONFIG_HOME:-${XDG_CONFIG_HOME:-$HOME/.config}/navigator}/plugin-root" 2>/dev/null)}"
[ -d "$PLUGIN_DIR/skills" ] || PLUGIN_DIR="$HOME/.claude/plugins/marketplaces/navigator-marketplace"
NDR=""
for cand in "$PLUGIN_DIR/skills/nav-deep-research/functions" "$PWD/skills/nav-deep-research/functions"; do
[ -f "$cand/research_run.py" ] && NDR="$cand" && break
done
echo "NDR_FUNCTIONS=$NDR"
Config knobs (defaults in hooks/nav_hook_lib/config.py): max_sources 30,
min_sources 8, fetchers 4, max_full_reads 10, critic_enabled true,
models.{fetcher,writer,critic,patcher}.
Step 0.5: new run or resume
New run:
python3 "$NDR/research_run.py" init --query "<the user's prompt, verbatim>"
Prints slug, dir, backend. If backend is hyperresearch, follow the handoff
section below instead of the pipeline.
Resume (the user says "resume research ", or you wake up unsure where you are):
python3 "$NDR/research_run.py" resume --run <slug>
Prints next_step. Read that step file and continue. python3 "$NDR/research_run.py" list shows runs.
Pipeline (light tier)
| Step | Loads | Who works | Artifact |
|---|---|---|---|
| 1 Decompose | steps/1-decompose.md |
main session | search-plan.md, atomic items in run.json |
| 2 Sweep | steps/2-sweep.md |
main session WebSearch, N deep-research-fetcher |
sources/NNN.md |
| 3 Draft | steps/3-draft.md |
one deep-research-writer |
report.md |
| 4 Critique | steps/4-critique.md |
one deep-research-critic (+ one gap wave) |
findings/critic.json |
| 5 Patch | steps/5-patch.md |
one deep-research-patcher |
patch-log.json |
| 6 Ship | steps/6-ship.md |
main session | ship.json, graph memories, README line |
The report follows the readable layout in reference/REPORT-FORMAT.md (answer-first
Summary, At-a-glance table for comparisons, one section per atomic item, paragraph cap);
the writer reads that file at step 3 and the gate checks it at steps 3 and 6.
Steps 4 and 5 are skipped (research_run.py step --skip N --reason "critic disabled")
when critic_enabled is false. Before each step:
python3 "$NDR/research_run.py" step --run <slug> --start N; after it: --done N.
Step files are under the plugin's skills/ tree, so the read guard ignores them; source
notes under .agent/research/ are allowlisted by prefix.
Subagent spawn contract (every Task call)
The prompt you pass to any deep-research-* agent starts with, in this order:
research_query, verbatim, block-quoted from<run_dir>/query.md. Never paraphrased.- One sentence of pipeline position: which step this is, what came before, what follows.
run_slug,run_dir(absolute),functions_dir(absolute, the$NDRvalue).- The step's specific inputs, exactly as its step file lists them.
Skipping any of these is a process violation. Spawn parallel fetchers in ONE message.
Use subagent_type: navigator:deep-research-<role> and the model from
config.models.<role>.
Invariants
- Patch, never regenerate. After step 3 writes
report.md, the only changes are the patcher's Edit hunks and your own hunks when fixing a gate failure. Never write a second report. - One report, written once. If the writer fails mid-way, delete the partial file and rerun step 3; do not "finish it by hand".
- The query is gospel. Every subagent gets the verbatim text. You do not narrow or widen it during the run.
- Gate failures are fixed in the report. Never by lowering
--min-sources, editingship_gate.py, or explaining the check away. Three fix rounds without a pass means the run stays blocked and you say so. - **Never emit a bare text turn while subag
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Write - 03
Edit - 04
Bash - 05
WebSearch - 06
WebFetch - 07
Task
Вложенные файлы
- functions/report_parse.py
- functions/report_to_graph.py
- functions/research_run.py
- functions/ship_gate.py
- functions/source_store.py
- functions/test_report_to_graph.py
- functions/test_research_run.py
- functions/test_ship_gate.py
- functions/test_source_store.py
- functions/untrusted.py
- reference/REPORT-FORMAT.md
- steps/1-decompose.md
- steps/2-sweep.md
- steps/3-draft.md
- steps/4-critique.md
- steps/5-patch.md
- steps/6-ship.md
FAQ
Что делает скилл nav-deep-research?
Web deep research producing a cited report from fetched sources, adversarially reviewed and gate-checked, with conclusions ingested into the knowledge graph. Auto-invoke when user says "deep research on", "research the web for", "write a research report on", "what does the literature say about", or "deep dive into" a topic outside the codebase. For codebase questions use the navigator-research agent instead.
Как установить скилл nav-deep-research?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nav-deep-research запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…