gpt-researcher: Skill for Claude Code

.claude/SKILL.md

gpt-researcher is a skill for Claude Code from assafelovic/gpt-researcher. It costs 79 tokens per session (1,741 once invoked), scanned A, original, Apache-2.0.

Developer guidance for GPT Researcher, an AI research system that gathers information from the web or local files and writes cited reports.

In plain words
What is it for?
Use it to build, debug, extend, or connect GPT Researcher, including its Python package, API server, frontend, prompts, and report-writing code.
Why use it?
It helps developers find the main components and understand how research planning, execution, and report writing fit together.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is assafelovic/gpt-researcher's own configuration. It tells Claude Code how to work on gpt-researcher itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gpt-researcher configures →

About the project

GPT Researcher is an autonomous research agent that investigates questions using web or local data and produces reports with citations. People and organizations use it to automate detailed research and create domain-specific research workflows.

assafelovic/gpt-researcher · 30,318 stars · on GitHub · gptr.dev

Reuse

Borrowing it

Nothing to install: this file belongs to assafelovic/gpt-researcher. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/assafelovic/gpt-researcher/main/.claude/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/assafelovic/gpt-researcher

Made for: Claude Code.

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 gpt-researcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/assafelovic/gpt-researcher/claude/github.svg)](https://agentmods.dev/skills/assafelovic/gpt-researcher/claude)
Your own site
<a href="https://agentmods.dev/skills/assafelovic/gpt-researcher/claude"><img src="https://agentmods.dev/badge/skills/assafelovic/gpt-researcher/claude/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gpt-researcher

Your own site · 80×15
<a href="https://agentmods.dev/skills/assafelovic/gpt-researcher/claude"><img src="https://agentmods.dev/badge/skills/assafelovic/gpt-researcher/claude.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00079 $0.01741
Opus 5.5 $0.00032 $0.00696
Sonnet 5.5 $0.00016 $0.00348
Haiku 4.5 $0.00008 $0.00174

Measured 1mo ago against content hash 641fed5a76d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gpt-researcher 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/SKILL.md · 227 lines

How it starts

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

GPT Researcher Development Skill

GPT Researcher is an LLM-based autonomous agent using a planner-executor-publisher pattern with parallelized agent work for speed and reliability.

Quick Start

Basic Python Usage

from gpt_researcher import GPTResearcher
import asyncio

async def main():
    researcher = GPTResearcher(
        query="What are the latest AI developments?",
        report_type="research_report",  # or detailed_report, deep, outline_report
        report_source="web",            # or local, hybrid
    )
    await researcher.conduct_research()
    report = await researcher.write_report()
    print(report)

asyncio.run(main())

Run Servers

# Backend
python -m uvicorn backend.server.server:app --reload --port 8000

# Frontend
cd frontend/nextjs && npm install && npm run dev

Key File Locations

Need Primary File Key Classes
Main orchestrator gpt_researcher/agent.py GPTResearcher
Research logic gpt_researcher/skills/researcher.py ResearchConductor
Report writing gpt_researcher/skills/writer.py ReportGenerator
All prompts gpt_researcher/prompts.py PromptFamily
Configuration gpt_researcher/config/config.py Config
Config defaults gpt_researcher/config/variables/default.py DEFAULT_CONFIG
API server backend/server/app.py FastAPI app
Search engines gpt_researcher/retrievers/ Various retrievers

Architecture Overview

User Query → GPTResearcher.__init__()
                │
                ▼
         choose_agent() → (agent_type, role_prompt)
                │
                ▼
         ResearchConductor.conduct_research()
           ├── plan_research() → sub_queries
           ├── For each sub_query:
           │     └── _process_sub_query() → context
           └── Aggregate contexts
                │
                ▼
         [Optional] ImageGenerator.plan_and_generate_images()
                │
                ▼
         ReportGenerator.write_report() → Markdown report

Read the full file on GitHub · 227 lines

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. 1mo ago First seen · 227 lines · 79 tokens per session scan A 641fed5a76d8

Subscribe to this mod's changes

gpt-researcher is a skill published in the GitHub repository assafelovic/gpt-researcher (30,318 stars, last pushed 17d ago), licensed Apache-2.0. It adds 79 tokens to every session and 1,741 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

Other skills, from other repositories

adk-agent-builder

Builds ADK (Agent Development Kit) Python agents: LLM agents with tools, graph workflows of function and agent nodes, conditional routing, fan-out and join, schema-validated delegation between agents, human-in-the-loop pauses, and pytest coverage for all of it. Use when asked to create an agent or a workflow, add a…

google/adk-python · 177 tokens

adk-style

Python style and codebase conventions for ADK (Agent Development Kit): private-by-default file visibility, imports, type hints, Pydantic v2 models, formatting, docstrings, logging, async I/O, file and test layout, and unit test structure. Use when writing or editing ADK source or tests, deciding whether a new file or…

google/adk-python · 187 tokens

pixelbrowse

Screenshot and visually read any web page or document using pixelshot. Use instead of fetching raw HTML when you need to see what a page looks like, read visual content (charts, diagrams, infographics), check layouts, or verify UI. Triggers: "look at this page", "screenshot", "what does this site look like", "check…

StarTrail-org/PixelRAG · 90 tokens

xlsx

Create polished Excel workbooks for budgets, trackers, and data tables.

MODSetter/SurfSense · 16 tokens

pdf

Create polished PDF documents such as reports, letters, one-pagers, and printable summaries.

MODSetter/SurfSense · 20 tokens

stack-trace-python-probe

Internal helper for meta-stack-trace-investigator. Use when a Python traceback needs Python-specific root-cause checks, pytest reproducer guidance, and defensive patch targets.

opensquilla/opensquilla · 40 tokens