← 返回 Skills 市场
breath57

Dingtalk Ai Web Search

作者 breath57 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
223
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dingtalk-ai-web-search
功能描述
网页搜索与实时信息检索。需要查找最新资讯、实时数据、技术文档、热点事件,或用户说"搜一下"、"帮我查"、"查资料"、"web search"等时使用。基于小宿AI智能搜索,支持关键词搜索、时间范围过滤(一天/一周/一月/一年)、自定义结果数量、JSON 输出。
使用说明 (SKILL.md)

会话开始:连通性检查

每次新会话开始,先运行 --ping 检查,再执行实际搜索:

bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh --ping

根据结果处理:

结果 含义 处理方式
✓ 连通成功,可用工具: web_search 正常 直接开始搜索
错误:未配置 MCP URL 从未配置或配置丢失 向用户索取 MCP 配置(见下方)
连接失败: ... URL 失效或网络问题 让用户重新获取配置并执行 --save

配置缺失时:向用户索取 MCP 配置

让用户打开以下页面,复制 MCP 配置 JSON 后提供给你:

https://mcp.dingtalk.com/#/detail?detailType=instanceMcpDetail&instanceId=78440

配置格式示例:

{
  "mcpServers": {
    "小宿智能搜索": {
      "type": "streamable-http",
      "url": "https://mcp-gw.dingtalk.com/server/..."
    }
  }
}

收到配置后,运行连通性测试并永久保存(将 JSON 作为字符串传入 -c):

bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh --save -c '{"mcpServers":{"小宿智能搜索":{"type":"streamable-http","url":"\x3C用户提供的URL>"}}}'
  • 成功:输出 ✓ 连通成功,可用工具: ... 并提示已保存,后续无需再传 -c
  • 失败:根据报错提示处理(配置格式错误 / 网络不通 / URL 无效)

快速参考

场景 命令
会话开始连通检查 bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh --ping
保存配置(需 -c 传入 JSON) bash ... --save -c '\x3CMCP JSON配置>'
普通搜索 bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "关键词"
限定时间范围 bash ... -q "关键词" -f oneWeek
返回更多结果 bash ... -q "关键词" -n 10
JSON 输出 bash ... -q "关键词" --json

基础用法

bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "Python asyncio 最佳实践"

时间筛选

# 一周内的最新文章
bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "LLM 评测基准 2025" -f oneWeek

# 一个月内
bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "AI 编程工具对比" -f oneMonth

可选值: noLimit(默认)| oneDay | oneWeek | oneMonth | oneYear


JSON 输出(便于程序处理)

bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "FastAPI 性能优化" -n 5 --json

输出格式:

[
  {
    "title": "页面标题",
    "url": "https://...",
    "snippet": "内容摘要...",
    "site": "网站名称",
    "published": "2025-01-01",
    "source": "小宿智能搜索"
  }
]

典型工作流

调研某个技术主题

bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "LangGraph checkpoint 持久化方案" -n 5

获取实时信息

# 近一周新闻
bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "OpenAI o3 发布" -f oneWeek -n 8

多轮深入调研

# 第一轮:宽泛了解
bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "Rust 异步运行时对比" -n 5
# 第二轮:聚焦具体问题
bash \x3CCURRENT_SKILL_MD_PATH_DIR>/scripts/search.sh -q "tokio vs async-std 性能基准测试 2024" -f oneYear -n 5
安全使用建议
This skill is coherent for its stated purpose, but before installing or using it: 1) Treat any MCP JSON/URL you paste in as sensitive — it can reveal private endpoints or tokens. Only provide a URL from a trusted DingTalk/organization source. 2) The script saves the URL to .mcp_url in the skill directory — check and secure that file (permissions, location) or avoid using --save if you prefer not to persist it. 3) Expect the skill to make network calls to the supplied URL on session start (--ping) and during searches. 4) If you are unsure about the MCP config contents, inspect it before passing it to the skill, or run the script in a sandboxed environment. 5) If you need stronger guarantees, request a version that uses a platform-managed secret store rather than writing plaintext to disk.
功能分析
Type: OpenClaw Skill Name: dingtalk-ai-web-search Version: 0.1.0 The skill is a legitimate web search tool for the OpenClaw agent, utilizing the DingTalk MCP (Model Context Protocol) gateway. The bash script `scripts/search.sh` safely handles API requests via `curl` and manages configuration by storing a user-provided URL locally. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description (web search via 小宿智能搜索 / DingTalk MCP) align with the included script and instructions. The script talks to an MCP streamable-http URL and performs tool listing and search calls — expected for this purpose.
Instruction Scope
SKILL.md instructs the agent to ask the user for an MCP configuration JSON from a DingTalk admin page and to run connectivity checks. This is within scope for a gateway-backed search tool, but it explicitly requests the user-provided MCP JSON/URL and instructs saving it; that JSON/URL may be sensitive (could embed private endpoints or tokens) so the behaviour should be treated as storing credentials-like data.
Install Mechanism
Instruction-only skill with a bash script; no install spec, no network downloads or package installs. Uses standard system tools (curl, jq, python) — proportional and expected.
Credentials
The skill declares no required environment variables or credentials. The only sensitive input is the MCP JSON supplied by the user at runtime; that is logically required to contact the configured MCP gateway and is consistent with the stated purpose.
Persistence & Privilege
Script persistently writes the MCP URL string to a local file (.mcp_url) next to the script. always:false and no modifications to other skills or system configs. Persisting the user-supplied gateway URL is normal for convenience but has privacy implications — the file may contain sensitive endpoint information and should be protected.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dingtalk-ai-web-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dingtalk-ai-web-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of dingtalk-ai-web-search. - Enables real-time web search and information retrieval via DingTalk. - Supports keyword search, time range filtering (day/week/month/year), custom result counts, and JSON output. - Provides guidance for MCP configuration and connectivity checks at session start. - Includes troubleshooting steps if configuration or connectivity issues occur. - Offers quick reference commands for common usage scenarios and workflow examples.
元数据
Slug dingtalk-ai-web-search
版本 0.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Dingtalk Ai Web Search 是什么?

网页搜索与实时信息检索。需要查找最新资讯、实时数据、技术文档、热点事件,或用户说"搜一下"、"帮我查"、"查资料"、"web search"等时使用。基于小宿AI智能搜索,支持关键词搜索、时间范围过滤(一天/一周/一月/一年)、自定义结果数量、JSON 输出。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 223 次。

如何安装 Dingtalk Ai Web Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dingtalk-ai-web-search」即可一键安装,无需额外配置。

Dingtalk Ai Web Search 是免费的吗?

是的,Dingtalk Ai Web Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dingtalk Ai Web Search 支持哪些平台?

Dingtalk Ai Web Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dingtalk Ai Web Search?

由 breath57(@breath57)开发并维护,当前版本 v0.1.0。

💬 留言讨论