deep-research
БесплатноЗапускает вложенные скриптыНе проверенThe deep-research engine's deterministic script suite (four ops): caps computes and enforces fetch/cost budget ceilings; academic searches…
от bonc-ai★ 19 звёзд на GitHubОб этом скилле
deep-research
The deterministic half of the research engine. A Python skill cannot reach the
model or the web tools, so the AGENT gathers sources (web_search / web_fetch)
and drafts the claims-with-citations; this skill does the deterministic steps the
model must not be trusted to perform on its own output. It bounds, retrieves,
compresses, and verifies facts — it does not write the report. Four scripts:
caps— before/during the loop: bound the sub-questions and per-source fetch budget, refuse to recurse past a depth limit, and account step cost so the run stops at a hard ceiling instead of the GPT-R-style exponential blow-up.academic— the one retriever that fits a stdlib skill: query public scholarly APIs (arxiv / OpenAlex / Crossref / Semantic Scholar) over an https host allow-list; each source fails independently, results are normalized to the same record shape the other scripts consume.compress— before synthesis: chunk the fetched sources, drop duplicate/noise passages, and keep the most query-relevant text within a char budget, so a long page does not blow the context window.citations— after a draft: verify every quote/DOI/source and build the numbered reference list, catching fabrication before the report is shown.
For the broader research method, use references/research-workflow.md,
references/source-quality.md, references/evidence-standards.md,
references/scholarly-evidence.md, references/report-structure.md, and
references/citation-style.md. The references define the research workflow and
reporting standard; the scripts provide deterministic checks inside that
workflow.
When to use
caps: right after decomposing (opplan) to trim/allocate the plan, and periodically during gathering (opaccount) to check whether a hard ceiling (fetches / model-calls / cost) has been hit.academic: for scholarly / peer-reviewed questions, to pull papers with DOIs, abstracts, and authors from the academic APIs (complements the agent's ownweb_searchfor general web sources).compress: after fetching sources for a sub-question and before feeding them to the model, when the fetched text is large and needs de-noising to fit context.citations: after the agent has drafted claims-with-citations, to catch invented quotes, invented DOIs, and citations to sources that were never fetched, and to build the reference list.
When NOT to use
- Deciding what to research or writing prose — that is the agent's job (model).
- Fetching sources — the agent calls
web_search/web_fetchand passes the fetched text in; this skill never touches the network. - Semantic/embedding relevance ranking — that needs the vector store and is a
separate core-agent tool, not this stdlib skill.
compressuses lexical (keyword-overlap) relevance only.
Preconditions
- Python 3.9+ (stdlib only — no third-party packages).
- The agent must pass each source's actually-fetched
text; a quote can only be verified, and a passage only ranked, against text the skill can see.
How to call
academic
"$COGSEED_NODE" "$COGSEED_PC_DIR/bin/run-skill.cjs" deep-research academic -- --op search --query "<q>" [--sources arxiv,openalex,crossref,semanticscholar] [--limit 5] [--timeout 30]
data has results (normalized {id, source, title, text, authors, date, doi, url},
de-duplicated across sources by DOI/title), sources_queried, and errors
(per-source; a rate-limited or slow source is reported here, not fatal — check it
and proceed with what returned). Feed results straight into compress (as
sources) or cite them in citations. Talks only to a fixed https host
allow-list and honors HTTP(S)_PROXY.
caps
"$COGSEED_NODE" "$COGSEED_PC_DIR/bin/run-skill.cjs" deep-research caps -- --op plan --input <payload.json>
"$COGSEED_NODE" "$COGSEED_PC_DIR/bin/run-skill.cjs" deep-research caps -- --op account --input <payload.json>
planinput{ "subquestions": [".."], "depth"?: 0, "caps"?: {..overrides..} }→datawith the de-duplicated/trimmedsubquestions,fetch_budget_per_subquestion,allowed(false +reason: "max_depth_exceeded"past the depth limit), anddropped(duplicates+over_cap, never silent). Overrides are clamped to absolute ceilings so a cap can be lowered but never raised past the safe max.accountinput{ "steps": [ {"step","fetches","model_calls","cost_usd"} ], "caps"? }→datawithby_step+totalsaggregation,remaining,exceeded, andstop: trueonce any hard ceiling is crossed.max_cost_usdis enforced only when the agent sets it.
compress
"$COGSEED_NODE" "$COGSEED_PC_DIR/bin/run-skill.cjs" deep-research compress -- --input <payload.json> [--max-chars 12000]
Input { "query": "the sub-question", "sources": [ { "id", "url", "title", "text" } ], "max_chars"?, "max_per_source"?, "min_score"? }. Output data.kept is the ranked
list of `
Установить deep-research в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deep-research?
The deep-research engine's deterministic script suite (four ops): caps computes and enforces fetch/cost budget ceilings; academic searches arXiv/Crossref/OpenAlex/PubMed keylessly; compress de-duplicates and narrows candidate passages by lexical overlap; citations verifies a model's drafted claims-with-citations one by one — does the quote actually appear in the CITED source, is the DOI well-formed and matched, was the source really fetched — abstaining when there are no sources and emitting a de-duplicated, stably-numbered reference list. Calls no model, so the same input always yields the same output. For: 'run a deep-research search/compress pass', 'check this report's citations for fabrication'; Triggers: deep research, academic search, citation check, anti-fabrication, references, DOI verification
Как установить скилл deep-research?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deep-research запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use 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…
от Anthropicxlsx
Use 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…
от Anthropicpptx
Use 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…
от Anthropic