deep-research

deep-research is a skill for Claude Code, Codex from petekp/claude-code-setup. It costs 119 tokens per session (1,979 once invoked), scanned A, original, MIT.

A research workflow for investigating topics with web searches, browser tools, documentation sources, and codebase exploration.

In plain words
What is it for?
Use it for current research, comparisons, technical investigations, and deep dives that need evidence from multiple sources.
Why use it?
It reduces the risk of relying on one outdated or unsupported source by requiring cross-checking, citations, and clear statements of uncertainty.

Skill for Claude CodeCodex

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/petekp/claude-code-setup/deep-research
Any agent
npx skills add petekp/claude-code-setup --skill deep-research
Clone the repo
git clone --depth 1 https://github.com/petekp/claude-code-setup

Made for: Claude Code, Codex.

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/petekp/claude-code-setup/deep-research.svg)](https://agentmods.dev/skills/petekp/claude-code-setup/deep-research)
Your own site
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/deep-research"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/deep-research.svg" alt="Measured on agentmods" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,979 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 $0.00119 $0.01979
Opus 5 $0.00060 $0.00989
Sonnet 5 $0.00024 $0.00396
Haiku 4.5 $0.00012 $0.00198

Measured 3d ago against content hash f9334538bf23, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d ago.

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 · 243 lines

How it starts

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

Deep Research

Systematic methodology for conducting exhaustive, accurate research using all available tools. Prioritizes correctness over speed.

Core Principles

  1. Multiple sources required — Never rely on a single source for important claims
  2. Cross-reference everything — Verify facts appear consistently across independent sources
  3. Citation mandatory — Every claim must have a source; no unsourced assertions
  4. Acknowledge uncertainty — When sources conflict or are weak, say so explicitly
  5. Prefer primary sources — Official docs > blog posts > forum answers > AI-generated content

Available Research Tools

Use these tools in combination based on the research topic:

Tool Best For Limitations
WebSearch Current events, recent information, broad topic discovery Results may be outdated, SEO-influenced
WebFetch Reading specific URLs, extracting detailed content Requires known URL
Playwright browser Interactive sites, paywalled content (if logged in), complex navigation Slower, requires more tokens
Context7/MCP docs Library/framework documentation Only indexed libraries
OpenAI docs MCP OpenAI API specifics OpenAI only
Grep/Glob/Read Codebase research, finding implementations Local files only

Research Workflow

Phase 1: Scope Definition

Before researching, clarify:

  1. Core question — What specific question(s) need answering?
  2. Required depth — Surface overview or exhaustive deep-dive?
  3. Recency requirements — Is timeliness critical? (API versions, current events, etc.)
  4. Authoritative sources — What would count as a definitive answer?

Ask clarifying questions if scope is ambiguous. Use AskUserQuestion for structured choices when multiple research directions are possible.

Phase 2: Source Discovery

Cast a wide net to find relevant sources:

1. WebSearch with multiple query variations
   - Try 3-5 different phrasings of the core question
   - Include technical terms AND plain language
   - Search for "[topic] official documentation"
   - Search for "[topic] research paper" or "[topic] study"

2. Identify authoritative sources from results
   - Official documentation sites
   - Academic papers / research institutions
   - Industry standards bodies
   - Recognized experts in the field

3. Check specialized tools
   - Context7 for library/framework docs
   - OpenAI docs MCP for OpenAI-specific topics
   - GitHub/codebase for implementation details

Read the full file on GitHub · 243 lines

Files

What ships with it

2 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. 3d ago First seen · 243 lines · 119 tokens per session scan A f9334538bf23

Subscribe to this mod's changes

deep-research is a skill published in the GitHub repository petekp/claude-code-setup (45 stars, last pushed 27d ago), licensed MIT. It adds 119 tokens to every session and 1,979 once invoked, about $0.0006 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

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 51 tokens

bootstrap-repo-analysis

First-time analysis of a repository with no prior reviewer outcomes. Crawl historical merged-PR review feedback with the gh CLI (plus any preloaded samples), extract the team's review norms, and synthesize the initial per-repo review-style prompt. Use this for a cold-start repo; use continual-learning instead once the…

langchain-ai/open-swe · 73 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens

AI & LLM Security

LLM and AI application security testing — prompt injection, jailbreak resistance, OWASP LLM Top 10 (2025), RAG and agent/tool-use security, model supply chain, and AI red teaming for authorized assessments.

Masriyan/Claude-Code-CyberSecurity-Skill · 50 tokens

official-document-writing

专业的党政机关公文写作指南。当用户需要撰写、修改或审核党政机关公文(如请示、通知、函、总结、纪要等)时使用。提供GB/T 9704-2012格式规范指导、常用公文模板、语言规范建议和公文质量检查。适用于以下场景:(1) 撰写新公文,(2) 修改完善公文,(3) 检查公文格式规范,(4) 提供公文写作指导,(5) 审核公文质量。.

KaguraNanaga/official-document-writing-skill · 130 tokens