重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
suggest by brave/brave-search-skills
npx skills add https://github.com/brave/brave-search-skills --skill suggest需要 API 密钥 : 在 https://api.search.brave.com 获取
套餐 : 包含在 建议 套餐中。请参阅 https://api-dashboard.search.brave.com/app/subscriptions/subscribe
curl -s "https://api.search.brave.com/res/v1/suggest/search?q=how+to+" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"
curl -s "https://api.search.brave.com/res/v1/suggest/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=albert" \
--data-urlencode "country=US" \
--data-urlencode "lang=en" \
--data-urlencode "count=10" \
--data-urlencode "rich=true"
GET https://api.search.brave.com/res/v1/suggest/search
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
认证 : X-Subscription-Token: <API_KEY> 请求头
可选请求头 :
Accept-Encoding: gzip — 启用响应压缩| 参数 | 类型 | 必需 | 默认值 | 描述 |
|---|---|---|---|---|
q | string | 是 | — | 建议搜索查询(1-400 个字符,最多 50 个单词) |
lang | string | 否 | en | 语言偏好(2+ 字符的语言代码,例如 fr, de, zh-hans) |
country | string | 否 | US | 搜索国家(2 字母国家代码或 ALL) |
count | int | 否 | 5 | 建议数量(1-20)。实际结果可能更少 |
rich | bool | 否 | false | 使用实体信息(标题、描述、图像)增强。需要付费搜索套餐 |
| 字段 | 类型 | 描述 |
|---|---|---|
type | string | 始终为 "suggest" |
query.original | string | 原始的建议搜索查询 |
results | array | 建议列表(可能为空) |
results[].query | string | 建议的查询补全 |
results[].is_entity | bool? | 建议的增强查询是否为实体(仅限 rich 模式) |
results[].title | string? | 建议查询的增强标题(仅限 rich 模式) |
results[].description | string? | 建议查询的增强描述(仅限 rich 模式) |
results[].img | string? | 建议查询的增强图片 URL(仅限 rich 模式) |
值为 null 的字段将从响应中排除。非 rich 模式的结果仅包含 query 字段。
rich=true){
"type": "suggest",
"query": { "original": "albert" },
"results": [
{
"query": "albert einstein",
"is_entity": true,
"title": "Albert Einstein",
"description": "德国出生的理论物理学家",
"img": "https://imgs.search.brave.com/..."
},
{ "query": "albert einstein quotes", "is_entity": false }
]
}
web-search 或 llm-context 之前,扩展部分/模糊的查询。rich=true 来检测实体,获取标题、描述和图像以用于预览卡片。每周安装数
27
代码仓库
GitHub 星标数
71
首次出现
2026 年 2 月 13 日
安全审计
安装于
gemini-cli26
codex26
opencode25
github-copilot25
kimi-cli25
amp24
Requires API Key : Get one at https://api.search.brave.com
Plan : Included in the Suggest plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe
curl -s "https://api.search.brave.com/res/v1/suggest/search?q=how+to+" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"
curl -s "https://api.search.brave.com/res/v1/suggest/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=albert" \
--data-urlencode "country=US" \
--data-urlencode "lang=en" \
--data-urlencode "count=10" \
--data-urlencode "rich=true"
GET https://api.search.brave.com/res/v1/suggest/search
Authentication : X-Subscription-Token: <API_KEY> header
Optional Headers :
Accept-Encoding: gzip — Enable response compression| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | Yes | — | Suggest search query (1-400 chars, max 50 words) |
lang | string | No | en | Language preference (2+ char language code, e.g. fr, de, zh-hans) |
| Field | Type | Description |
|---|---|---|
type | string | Always "suggest" |
query.original | string | The original suggest search query |
results | array | List of suggestions (may be empty) |
results[].query | string | Suggested query completion |
results[].is_entity |
Fields with null values are excluded from the response. Non-rich results contain only the query field.
rich=true){
"type": "suggest",
"query": { "original": "albert" },
"results": [
{
"query": "albert einstein",
"is_entity": true,
"title": "Albert Einstein",
"description": "German-born theoretical physicist",
"img": "https://imgs.search.brave.com/..."
},
{ "query": "albert einstein quotes", "is_entity": false }
]
}
web-search or llm-context.rich=true to detect entities with title, description, and image for preview cards.Weekly Installs
27
Repository
GitHub Stars
71
First Seen
Feb 13, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
gemini-cli26
codex26
opencode25
github-copilot25
kimi-cli25
amp24
Lark CLI IM 即时消息管理工具:机器人/用户身份操作聊天、消息、文件下载
41,800 周安装
country | string | No | US | Search country (2-letter country code or ALL) |
count | int | No | 5 | Number of suggestions (1-20). Actual results may be fewer |
rich | bool | No | false | Enhance with entity info (title, description, image). Paid Search plan required |
| bool? |
| Whether the suggested enriched query is an entity (rich only) |
results[].title | string? | The suggested query enriched title (rich only) |
results[].description | string? | The suggested query enriched description (rich only) |
results[].img | string? | The suggested query enriched image URL (rich only) |