USE FOR news search. Returns news articles with title, URL, description, age, thumbnail. Supports freshness and date range filtering, SafeSearch filter and Goggles for custom ranking.
npx skills add https://github.com/brave/brave-search-skills --skill news-search
> Requires API Key: Get one at https://api.search.brave.com
>
> Plan: Included in the Search plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe
curl -s "https://api.search.brave.com/res/v1/news/search?q=space+exploration" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"
curl -s "https://api.search.brave.com/res/v1/news/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=cybersecurity" \
--data-urlencode "country=US" \
--data-urlencode "freshness=pd" \
--data-urlencode "count=20"
curl -s "https://api.search.brave.com/res/v1/news/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=climate summit" \
--data-urlencode "freshness=2026-01-01to2026-01-31"
GET https://api.search.brave.com/res/v1/news/search
POST https://api.search.brave.com/res/v1/news/search
Authentication: X-Subscription-Token: <API_KEY> header
Note: Both GET and POST are supported. POST is useful for long queries or complex Goggles.
| Parameter | Type | Required | Default | Description |
|--|--|--|--|--|
| q | string | Yes | - | Search query (1-400 chars, max 50 words) |
| country | string | No | US | Search country (2-letter country code or ALL) |
| search_lang | string | No | en | Language preference (2+ char language code) |
| ui_lang | string | No | en-US | UI language (e.g., "en-US") |
| count | int | No | 20 | Number of results (1-50) |
| offset | int | No | 0 | Page offset (0-9) |
| safesearch | string | No | strict | Adult content filter (off/moderate/strict) |
| freshness | string | No | - | Time filter (pd/pw/pm/py or date range) |
| spellcheck | bool | No | true | Auto-correct query |
| extra_snippets | bool | No | - | Up to 5 additional excerpts per result |
| goggles | string or array | No | - | Custom ranking filter (URL or inline; repeat param for multiple) |
| operators | bool | No | true | Apply search operators |
| include_fetch_metadata | bool | No | false | Include fetch timestamps in results |
| Value | Description |
|--|--|
| pd | Past day (24 hours) - ideal for breaking news |
| pw | Past week (7 days) |
| pm | Past month (31 days) |
| py | Past year (365 days) |
| YYYY-MM-DDtoYYYY-MM-DD | Custom date range |
{
"type": "news",
"query": {
"original": "space exploration"
},
"results": [
{
"type": "news_result",
"title": "New Developments in Space Exploration",
"url": "https://news.example.com/space-exploration",
"description": "Recent missions have advanced our understanding of...",
"age": "2 hours ago",
"page_age": "2026-01-15T14:30:00",
"page_fetched": "2026-01-15T15:00:00Z",
"meta_url": {
"scheme": "https",
"netloc": "news.example.com",
"hostname": "news.example.com",
"favicon": "https://imgs.search.brave.com/favicon/news.example.com",
"path": "/space-exploration"
},
"thumbnail": {
"src": "https://imgs.search.brave.com/..."
}
}
]
}
| Field | Type | Description |
|--|--|--|
| type | string | Always "news" |
| query.original | string | The original search query |
| query.altered | string? | Spellcheck-corrected query (if changed) |
| query.cleaned | string? | Cleaned/normalized query from spellchecker |
| query.spellcheck_off | bool? | Whether spellcheck was disabled |
| query.show_strict_warning | bool? | True if strict safesearch blocked results |
| query.search_operators | object? | Applied search operators |
| query.search_operators.applied | bool | Whether operators were applied |
| query.search_operators.cleaned_query | string? | Query after operator processing |
| query.search_operators.sites | list[str]? | Domains from site: operators |
| results[].type | string | Always "news_result" |
| results[].title | string | Article title |
| results[].url | string | Source URL of the article |
| results[].description | string? | Article description/summary |
| results[].age | string? | Human-readable age (e.g. "2 hours ago") |
| results[].page_age | string? | Publication date from source (ISO datetime) |
| results[].page_fetched | string? | When page was last fetched (ISO datetime) |
| results[].fetched_content_timestamp | int? | Fetch timestamp (only with include_fetch_metadata=true) |
| results[].meta_url.scheme | string? | URL protocol scheme |
| results[].meta_url.netloc | string? | Network location |
| results[].meta_url.hostname | string? | Lowercased domain name |
| results[].meta_url.favicon | string? | Favicon URL |
| results[].meta_url.path | string? | URL path |
| results[].thumbnail.src | string | Served thumbnail URL |
| results[].thumbnail.original | string? | Original thumbnail URL |
| results[].extra_snippets | list[str]? | Up to 5 additional excerpts per result |
Goggles let you re-rank news results — boost trusted outlets or suppress unwanted sources.
| Method | Example |
|--|--|
| Hosted | --data-urlencode "goggles=https://raw.githubusercontent.com/brave/goggles-quickstart/main/goggles/hacker_news.goggle" |
| Inline | --data-urlencode 'goggles=$discard\n$site=example.com' |
> Hosted goggles must be on GitHub/GitLab, include ! name:, ! description:, ! author: headers, and be registered at https://search.brave.com/goggles/create. Inline rules need no registration.
Syntax: $boost=N / $downrank=N (1–10), $discard, $site=example.com. Combine with commas: $site=example.com,boost=3. Separate rules with \n (%0A).
Allow list: $discard\n$site=docs.python.org\n$site=developer.mozilla.org — Block list: $discard,site=pinterest.com\n$discard,site=quora.com
Resources: Discover · Syntax · Quickstart
Use search operators to refine results:
site:local-paper.com - Limit to specific news site"exact phrase" - Match exact phrase-exclude - Exclude termSet operators=false to disable operator parsing.
freshness=pd for the most recent articles on a topic.freshness=YYYY-MM-DDtoYYYY-MM-DD to find articles from specific time periods.country, search_lang, and ui_lang for cross-locale results.include_fetch_metadata=true for fetched_content_timestamp on each result.strictoffset (0-9) with countextra_snippets=trueCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.
Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.
Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.
This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.
Take brave/news-search from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.