深度联网实时信息检索助手
简介
基于DeepSeek官方Responses API的站内联网搜索技能,支持中英文网页多轮检索,15-70秒生成带溯源URL的合成化答案,破解大模型知识截止时间限制。
原始描述
DeepSeek's latest official web search tool, now built right into the server — powered by DeepSeek's own powerful reasoning engine. Crush your knowledge cutoff: ask about breaking news, live events, or anything happening right now, and DeepSeek's sharp understanding turns raw web results into a crisp, synthesized answer backed by real source URLs. No link dumps, no noise — just DeepSeek's intelligence doing the heavy lifting. Fresh, fast, and authoritative. Not for structured result lists.
通过你的 Agent 添加
安装目录:deepseek-web-search/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
DeepSeek Web Search 是一款基于 DeepSeek 官方 Responses API 的站内联网搜索工具,通过调用 web_search 工具实现服务端多轮搜索(搜索→打开页面→再搜索)。用户通过 Node.js 脚本执行搜索,输入自然语言查询后,模型会自动检索相关网页、阅读内容并生成综合回答,同时返回实际参考过的来源 URL 列表。
使用方式简洁直接:在项目目录下运行 node ./search.mjs "<query>" [maxOutputTokens],其中查询内容为必填项,输出 token 上限可选(默认8000,最大16384)。输出格式为结构化 JSON,包含合成答案、来源URL、原始查询、模型信息及 token 用量统计。
显著优点
深度检索能力:模型执行多轮自主搜索,而非单次关键词匹配,能够像人工研究员一样逐步深入主题,显著提升信息全面性。中文优化:DeepSeek 原生支持中英文网页检索,对中文信息源的处理优于多数国际搜索工具。合成化输出:直接返回可读性高的总结答案,而非原始搜索结果列表,大幅降低用户的信息筛选成本。来源可追溯:所有参考 URL 明确列出,便于用户核实关键信息。错误纠正机制:模型能识别并修正查询中的错误前提(如将"2026巴黎奥运会"纠正为"2026米兰-科尔蒂纳冬奥会")。
潜在缺点与局限性
响应延迟明显:单次调用需15-70秒,极端情况可达120秒,不适合实时性要求高的场景。非结构化输出:无法返回标准化的搜索结果列表(标题/摘要/URL),若用户需要自行提取或批量分析原始数据,该工具不适用。来源粒度粗:返回的是" consulted URLs"而非逐句引用,无法精确定位某条信息的具体出处。依赖单一供应商:完全依赖 DeepSeek API 可用性,存在供应商锁定风险。成本不透明:基于 token 计费但具体成本取决于检索轮次和页面数量,难以预估单次查询费用。
适合的目标群体
- 需要突破大模型知识截止时间的研究者与分析师
- 关注时事新闻、政策动态、科技进展的内容创作者
- 需要快速获取某主题综合认知而非原始数据的决策者
- 中文信息检索需求强烈的专业用户
- 能够容忍分钟级延迟以换取答案质量的场景
使用风险
网络与API稳定性:需稳定的国际网络连接及有效的 DeepSeek API 密钥,配置不当或额度耗尽将导致服务中断。超时处理:脚本虽设置120秒超时,但复杂查询仍可能失败,需做好重试和降级预案。信息验证义务:模型合成内容可能存在幻觉或过时信息,关键决策必须人工核对原始来源。隐私与合规:搜索内容上传至 DeepSeek 服务端处理,敏感信息需谨慎评估数据跨境传输风险。版本兼容性:要求 Node.js 18+,老旧环境需升级。
技能正文
name: deepseek-web-search
description: Use when you need up-to-date information, current events, or answers beyond your knowledge cutoff and want a synthesized answer with source URLs rather than a raw result list. Server-side web search via DeepSeek's built-in web_search tool (handles Chinese and English web). Not for structured result lists.
license: MIT
compatibility: Node.js 18+; requires network access and a DeepSeek API key (config.json or DEEPSEEK_API_KEY)
metadata:
author: mingzeng21
version: "1.0.0"
DeepSeek Web Search
Searches the web server-side via DeepSeek's Responses API web_search tool and returns a synthesized answer with the source URLs the model consulted.
When to Use
- User asks about current events, recent news, or time-sensitive facts.
- You want a ready answer where someone reads pages and summarizes (vs. getting raw results).
- Chinese or English web coverage needed.
- When NOT to use: if you need a raw, structured list of search results (titles/URLs/snippets) to extract or analyze yourself, this skill is not the right fit — DeepSeek only returns its synthesis + consulted URLs.
Usage
Run the bundled script from this skill's directory (where this SKILL.md lives):
node ./search.mjs "<query>" [maxOutputTokens]
query(required): The search query or question.maxOutputTokens(optional): Cap on answer length (default 8000, max 16384).
Output
Returns a JSON object:
{
"answer": "Synthesized answer text",
"sources": ["https://page-the-model-opened.example", "..."],
"query": "original query",
"model": "deepseek-v4-flash",
"usage": { "input_tokens": 0, "output_tokens": 0, "total_tokens": 0 },
"engine": "deepseek-web-search"
}
Notes
- The model performs multi-round search (search → open pages → re-search) server-side, so calls take 15–70 seconds. Don't treat a delay as failure; the script allows up to 120s.
- API key comes from
config.json (next to search.mjs) or the DEEPSEEK_API_KEY env var. If both are missing, the script reports an error.
sources are the URLs the model opened while researching — a "pages consulted" list, not per-claim citations. Treat the answer as model synthesis; verify critical facts against the sources before trusting them.
- The model may notice and correct false premises in the query (e.g. "2026 Paris Olympics" → Milan-Cortina 2026 Winter Olympics).
- Always cite source URLs when presenting information to the user.
config.json (next to search.mjs) or the DEEPSEEK_API_KEY env var. If both are missing, the script reports an error.sources are the URLs the model opened while researching — a "pages consulted" list, not per-claim citations. Treat the answer as model synthesis; verify critical facts against the sources before trusting them.正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。