Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

deep-research

БесплатноЗапускает вложенные скриптыНе проверен

The deep-research engine's deterministic script suite (four ops): caps computes and enforces fetch/cost budget ceilings; academic searches…

bonc-aiот 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 (op plan) to trim/allocate the plan, and periodically during gathering (op account) 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 own web_search for 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_fetch and 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. compress uses 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>
  • plan input { "subquestions": [".."], "depth"?: 0, "caps"?: {..overrides..} } → data with the de-duplicated/trimmed subquestions, fetch_budget_per_subquestion, allowed (false + reason: "max_depth_exceeded" past the depth limit), and dropped (duplicates + over_cap, never silent). Overrides are clamped to absolute ceilings so a cap can be lowered but never raised past the safe max.
  • account input { "steps": [ {"step","fetches","model_calls","cost_usd"} ], "caps"? } → data with by_step + totals aggregation, remaining, exceeded, and stop: true once any hard ceiling is crossed. max_cost_usd is 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 `

Полный SKILL.md на GitHub

Установить deep-research в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_meta.jsonagents/openai.yamlevals/evals.jsonevals/forecast_model.mdevals/outcome_evaluation.mdevals/regression_tests.mdevals/replay_dataset.mdreferences/citation-style.mdreferences/eval-cases.yamlreferences/evidence-standards.mdreferences/failure-modes.mdreferences/governance-boundaries.mdreferences/input-contract.mdreferences/kstar-evolution.mdreferences/ontology-mapping.mdreferences/output-contract.mdreferences/report-structure.mdreferences/research-workflow.mdreferences/scholarly-evidence.mdreferences/skill-spec.yamlreferences/source-quality.mdreferences/validation-contract.mdschemas.jsonscripts/academic.pyscripts/caps.pyscripts/citations.pyscripts/compress.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить deep-research с