research for Claude Code: a skill that saves web research as sourced documents
Who this is forResearchers, instructors, and writers who want an agent's web research to end up as sourced documents in one repository instead of a chat answer.
Series · Claude Code & Codex skills, one at a time part 5 of 27, expand to see all
- pm-skills for Claude Code and Codex: a product planning skill pack, installed and run
- distilly for Claude Code and Codex: turn a person's judgment into a skill
- wondelai/skills for Claude Code and Codex: business book frameworks as agent skills
- yc-office-hours for Claude Code: a business mentor skill that asks before you build
- research for Claude Code: a skill that saves web research as sourced documents
- flow-map for Claude Code: a skill that keeps dated versions of your flow diagrams
- meeting-agenda for Claude Code: a skill for agendas built around decisions
- marketingskills for Claude Code and Codex: a 50-skill marketing pack, installed and run
- humanizer for Claude Code and Codex: a skill that edits out machine-like prose
- claude-ads for Claude Code and Codex: an ad account audit skill pack, installed and run
- blog-post for Claude Code: a skill that runs one blog post from sources to deployment
- blog-topic-judge for Claude Code: a skill that decides whether a topic is worth a post
- technical-writer for Claude Code: a skill with writing steps for each document type
- korean-writing-style for Claude Code: a skill that filters translationese from Korean
- card-news for Claude Code: a skill that builds mobile card news decks from one JSON file
- brunch-apply for Claude Code and Codex: a skill that prepares a Brunch writer application
- last30days-skill for Claude Code and Codex: research 30 days of public reactions
- nature-skills for Claude Code and Codex: a skill pack for journal figures and statistics
- notebooklm-py for Claude Code and Codex: drive NotebookLM from the command line
- insane-search for Claude Code: a skill that reads blocked public pages another way
- apps-script-collector for Claude Code and Codex: log daily market prices in Google Sheets
- archify for Claude Code and Codex: architecture diagrams that pass checks before delivery
- diagram-design for Claude Code and Codex: 44 diagram types drawn in your brand colors
- huashu-design for Claude Code and Codex: prototypes, decks, and animations in HTML
- architecture-drawio-diagram for Claude Code and Codex: system diagrams with large logos
- lecture-slide-make for Claude Code and Codex: editable lecture decks from one JSON file
- lecture-slides for Claude Code: a workflow skill for editable lecture pptx decks
research is a skill that investigates a topic on the web and files the result as a sourced document in one repository. It is a single skill with no public repository, so this post covers the problem it solves, who should build one, the layout to start from, and the setting you should keep when you do.
What problem it solves
Ask an agent to look something up and you usually get a good answer that disappears with the session. A week later you need the same numbers for a slide, and the sources are gone. research changes where the work ends. Every run produces a Markdown document with a one-line summary, key data, insights, and a source list, saved under a date-prefixed file name in a single research repository no matter which project you called it from.
It also controls cost by splitting research into two tiers. The default is lightweight research with three to five web searches. It moves to deep research, which runs a multi-agent harness, only when you explicitly ask for it. When a page blocks the default fetch, it tries a bypass wrapper and then browser automation before giving up, so a single blocked source does not end the run.
Who it fits
The chapter rates four situations. Three are enough to decide.
| Situation | Fit | Reason |
|---|---|---|
| Building a documented library of work knowledge | Good fit | Fixed template and storage location |
| Gathering evidence for classes and presentations | Good fit | Records sources and access dates |
| A short question you will ask once and discard | Poor fit | Proceeds through saving a file |
Verifying disputed numbers for a publication sits in the middle. The skill can do it, but that usually calls for the deep tier and its token bill.
Build it and run it
Because there is no public repository, you build the skill yourself. This is the structure the chapter gives, with the date-prefixed file name pattern written in English.
# Example folder layout
~/.claude/skills/research/
SKILL.md # Full procedure
research-hub/ # Repository for results
templates/research-template.md
researches/ # YYYY-MM-DD-topic.md
researches/assets/ # HTML and PNG diagrams for each document
scripts/render-diagram.sh # Convert HTML diagrams to PNG
scripts/enqueue-wiki-ingest.sh
scripts/research-to-notion.py
It activates when you call it by name or ask for something like “Research this” or “Find out about this topic.”
/research Vector database adoption in Korea in 2026
The run follows a fixed order. The skill first defines the scope and asks two or three narrowing questions if the topic is broad. It picks the lightweight tier unless you signaled deep research, and in that case it asks for approval before spending. It then writes the document from the template, turns the main insight into one HTML diagram rendered to PNG, and verifies the file before recording it.
What trips people up
The helper files live outside the skill folder. SKILL.md calls a template and scripts for diagram conversion, wiki queueing, and Notion recording, but the skill folder itself holds only SKILL.md. If you copy the skill alone, those steps fail. Either prepare the template and scripts alongside it, or delete the steps you do not need, and change the repository path and Notion settings to your own while you are in the file.
Where this comes from
This post adapts part of chapter 01-06 of The Claude Code & Codex Skills Guidebook. The full chapter covers the complete stage table, including the wiki check that cites existing pages before any new search, and the trade-offs of fixing every result to one hub repository, and the book has 52 more skills like this one. Read the full chapter in The Claude Code & Codex Skills Guidebook on Gumroad.
Frequently asked questions
- When is the research skill a good fit?
- It fits building a documented library of work knowledge and gathering evidence for classes or presentations, because it uses a fixed template and records sources and access dates. It is a poor fit for a short question you will ask once and discard, since every run ends by saving a file.
- Why does deep research need approval?
- Deep research is expensive. Hands-on test notes report more than 100 agents and hundreds of thousands to millions of tokens per run. The skill defaults to lightweight research with three to five web searches and escalates only after a one-line confirmation that states the cost.
BuildnWrite helps teams build AI agents that keep running. About BuildnWrite ›