deep-research

deep-research is a skill for Claude Code, Codex from foundry-works/foundry-research. It costs 46 tokens per session (12,762 once invoked), scanned A, original, MIT.

A research workflow that searches academic databases, downloads source material, and produces an evidence-backed report. It is intended for questions that require findings from several sources to be combined.

In plain words
What is it for?
Use it for literature reviews, systematic investigations, and deep research that involves finding, reading, comparing, and synthesizing academic papers and other sources.
Why use it?
It keeps research organized on disk instead of relying on scattered searches or unsupported summaries. Source files and structured notes make the report easier to check.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the foundry-research plugin — 4 skills, 10 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/foundry-works/foundry-research/deep-research
Any agent
npx skills add foundry-works/foundry-research --skill deep-research
Clone the repo
git clone --depth 1 https://github.com/foundry-works/foundry-research

Made for: Claude Code, Codex.

Or install foundry-research, the plugin that ships this one along with the rest of its 4 skills, 10 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deep-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/foundry-works/foundry-research/deep-research.svg)](https://agentmods.dev/skills/foundry-works/foundry-research/deep-research)
Your own site
<a href="https://agentmods.dev/skills/foundry-works/foundry-research/deep-research"><img src="https://agentmods.dev/badge/skills/foundry-works/foundry-research/deep-research.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,762 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.12762
Opus 5 $0.00023 $0.06381
Sonnet 5 $0.00009 $0.02552
Haiku 4.5 $0.00005 $0.01276

Measured 5d ago against content hash 720d59c4d36b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

deep-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 39 executable files (bootstrap-venv.sh, scripts/_shared/__init__.py, scripts/_shared/config.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/deep-research/SKILL.md · 387 lines

How it starts

The opening of the file, as written. The whole thing — 387 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deep Research

You are a research agent with access to academic databases, web search, and structured state management. Use the tools below to search, download, read, and synthesize sources into evidence-backed reports.

Activate when: The user asks for deep research, literature review, systematic investigation, or any question requiring multiple sources and synthesis.

You produce: A structured research report backed by on-disk sources (markdown + PDFs), saved in a session directory.

Key principle: You are the reasoning engine. The infrastructure handles search, download, dedup, rate limiting, and PDF conversion. Trust your judgment on what to search, when to stop, and how to synthesize.


Command Execution Rules

These prevent the most common token-wasting failure modes. Follow them strictly.

  1. Always launch subagents in the foreground. Never set run_in_background: true on Agent calls. Foreground agents block until complete and return results directly. To run multiple agents in parallel, put all Agent calls in the same response message — they execute concurrently and all return before your next turn. Background agents give you control back immediately but no reliable way to wait — you'll end up polling with sleep && ls, burning 5-15 tool calls and often bailing out early with incomplete results.

  2. Never sleep-poll. Don't use sleep N && ls, sleep N && cat, or sleep N && state audit to check if agents or commands finished. If you launched agents in the foreground (rule 1), their results are already in your context when they return. If a CLI command is slow, set a long timeout (up to 600000ms) on the Bash call instead of backgrounding it.

  3. Never suppress stderr. Don't use 2>/dev/null on any command. CLI commands print JSON to stdout and logs to stderr — they don't mix. Suppressing stderr hides errors and forces blind retry spirals.

  4. Don't pipe CLI output through inline Python. CLI commands return structured JSON with documented schemas. If you need a specific field, read the full output and extract what you need from the JSON. Multi-statement inline Python (loops, conditionals, try/except in a -c string) means you're guessing at the output shape — and when you guess wrong, the parser crashes and you waste 3-5 tool calls debugging it.

Read the full file on GitHub · 387 lines

Files

What ships with it

47 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 387 lines · 46 tokens per session scan A 720d59c4d36b

Subscribe to this mod's changes

deep-research is a skill published in the GitHub repository foundry-works/foundry-research (2 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 12,762 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cran-extrachecks

Prepare R packages for CRAN submission by checking for common ad-hoc requirements not caught by devtools::check(). Use when: (1) Preparing a package for first CRAN release, (2) Preparing a package update for CRAN resubmission, (3) Reviewing a package to ensure CRAN compliance, (4) Responding to CRAN reviewer feedback.…

posit-dev/skills · 98 tokens

mirai

Help users write correct R code for async, parallel, and distributed computing using mirai. Use when users need to run R code asynchronously or in parallel, write mirai code with correct dependency passing, set up parallel workers, convert from future or parallel, use miraimap, integrate with Shiny or promises, or…

posit-dev/skills · 73 tokens

weather-forecast-report

将天气要素(风速、能见度、降雨量等)单站预报系统的项目文档、模型、报告、评估结果整理成符合省级自然科学基金项目编写规范的专题研究报告。适用于:(1) 基于Claude Code + OpenSpec开发的气象预报系统结题报告编写,(2) 将技术文档转换为学术研究报告格式,(3) 生成符合省级自然科学基金规范的专题研究报告,(4) 整合项目代码、模型、评估指标等技术材料为规范化学术报告。触发关键词:"专题研究报告"、"结题报告"、"天气预报系统"、"基金项目报告"、"风速预报"、"能见度预报"、"降雨量预报"、"气象预测"、"单站预报"等。.

staruhub/ClaudeSkills · 202 tokens

paper-opportunity-radar

Run a cumulative daily or retrospective sweep of research papers on a chosen topic, audit their claims, methods, integrity signals, and independent support, then identify overlooked but feasible project or business opportunities in a detailed source-grounded report. Use when asked to monitor papers every day, mine…

tamdogood/builder-essential-skills · 98 tokens

arxiv

Skill "arxiv" from 0xmariowu/Autosearch, covering skill attribution, when to choose it, how to search (planned), known quirks and quality bar.

0xmariowu/Autosearch · 0 tokens

literature-review

Find, verify, and synthesize STEM literature across every field — from "what's the seminal paper for X" through full multi-source reviews. Treats journal articles, arXiv/preprints, and conference proceedings as first-class; grounds every claim in a retrieved source, never fabricates DOIs, checks for…

emaballarin/ccplugins · 121 tokens