web-research
БесплатноБез исполняемых скриптовНе проверенDeep web research with Brave Search API. Find sources, extract content, and compile comprehensive reports. Use when a user asks to research a topic on the…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Web Research
Overview
Conduct thorough web research using the Brave Search API. Search for information, fetch and extract content from web pages, cross-reference multiple sources, and compile structured research reports with proper citations. Designed for deep-dive research that goes beyond a single search query.
Instructions
When a user asks you to research a topic on the web, follow these steps:
Step 1: Plan the research
Before searching, define a research plan:
- Central question: What is the user trying to learn or decide?
- Sub-questions: Break the topic into 3-5 specific queries
- Source types: What kinds of sources are valuable (academic, news, official docs, forums)?
- Scope: How deep should the research go?
Example plan for "Is Rust ready for production web development?":
Central question: Can Rust be used for production web APIs today?
Sub-queries:
1. "Rust web frameworks comparison 2026"
2. "Rust production web services case studies"
3. "Rust vs Go web performance benchmarks"
4. "Rust web development challenges limitations"
5. "companies using Rust in production backend"
Step 2: Search with Brave Search API
Install the helpers once: pip install requests beautifulsoup4.
import requests
import os
BRAVE_API_KEY = os.environ.get("BRAVE_API_KEY")
BRAVE_SEARCH_URL = "https://api.search.brave.com/res/v1/web/search"
def brave_search(query, count=10, freshness=None):
"""Search the web using Brave Search API.
Args:
query: Search query string
count: Number of results (max 20)
freshness: Optional filter: 'pd' (past day), 'pw' (past week),
'pm' (past 31 days), 'py' (past year), or a
range such as '2026-01-01to2026-06-30'
"""
headers = {
"Accept": "application/json",
"Accept-Encoding": "gzip",
"X-Subscription-Token": BRAVE_API_KEY,
}
params = {"q": query, "count": min(count, 20)}
if freshness:
params["freshness"] = freshness
response = requests.get(BRAVE_SEARCH_URL, headers=headers,
params=params, timeout=30)
response.raise_for_status()
results = []
data = response.json()
for item in data.get("web", {}).get("results", []):
results.append({
"title": item["title"],
"url": item["url"],
"description": item.get("description", ""),
"age": item.get("age", ""),
})
return results
Step 3: Extract content from sources
Fetch and extract readable content from the most relevant URLs:
from bs4 import BeautifulSoup
def extract_page_content(url):
"""Fetch a URL and extract the main text content."""
headers = {"User-Agent": "terminal-skills-check (https://terminalskills.io)"}
response = requests.get(url, headers=headers, timeout=30)
response.raise_for_status()
soup = BeautifulSoup(response.text, "html.parser")
# Remove navigation, ads, footers
for tag in soup.select("nav, footer, header, aside, .ad, .sidebar, script, style"):
tag.decompose()
# Try to find the main content area
main = soup.select_one("article, main, .post-content, .entry-content")
if not main:
main = soup.find("body")
if main:
text = main.get_text(separator="\n", strip=True)
# Clean up excessive whitespace
lines = [line.strip() for line in text.split("\n") if line.strip()]
return "\n".join(lines)
return ""
Step 4: Analyze and cross-reference
For each sub-question, synthesize information from multiple sources:
Sub-question: "Rust web frameworks comparison"
Source 1 (blog.tokio-notes.dev): Actix-web is the fastest, Axum has the
best developer experience, Rocket is easiest for beginners.
Source 2 (benchmark-site.com): Actix-web handles 650K req/s, Axum
handles 580K req/s. Both outperform Express.js by 10x.
Source 3 (forum discussion): Community consensus is shifting toward
Axum due to its use of the Tokio ecosystem and simpler API.
Synthesis: Axum is emerging as the recommended choice, offering a
balance of performance and ergonomics, with strong ecosystem support.
Step 5: Compile the research report
# Research Report: [Topic]
**Date:** [date]
**Queries executed:** [count]
**Sources analyzed:** [count]
## Executive Summary
[2-3 paragraph summary of key findings]
## Detailed Findings
### [Sub-topic 1]
[Findings with inline citations]
Key data points:
- [fact] [Source 1]
- [fact] [Source 2]
### [Sub-topic 2]
[Findings with inline citations]
## Conflicting Information
[Note any areas where sources disagree and why]
## Knowledge Gaps
[Areas where information was insufficient or outdated]
## Sources
1. [Title](URL) - [brief description of what was extracted]
2. [Title](URL) - [brief description]
3. [Title](URL) - [brief description]
...
## Methodology
- Search engine: Brave S
Установить web-research в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл web-research?
Deep web research with Brave Search API. Find sources, extract content, and compile comprehensive reports. Use when a user asks to research a topic on the web, find information online, compile a research report, search the internet for sources, do a deep dive on a subject, gather web sources for a report, or investigate a topic thoroughly using multiple online sources.
Как установить скилл web-research?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-research запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic