闲社服务运行正常AI智能体自动化平台
w

飞书联网搜索

技能标识:web-search-feishu

Search the web for real-time information using DashScope Qwen, optimized for Feishu. Use this skill whenever: (1) the user asks about current events, news, weather, stock prices, or anything requiring up-to-date information; (2) the user asks you to 'search', 'look up', 'find out', or 'check' something online; (3) the user asks a factual question your training data may not cover; (4) the user asks about a person, company, product, or event with possible recent updates; (5) the user wants images

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

飞书联网搜索

网络搜索工具(飞书版)

使用DashScope Qwen API进行网络搜索。支持纯文本和图片两种搜索模式。

脚本位置

脚本位于该技能目录下的 scripts/ 子目录中。

选择正确的模式

您必须根据用户的请求决定使用哪种模式:

模式A:纯文本搜索(默认)

适用于大多数查询——新闻、事实、天气、研究等。无需图片处理流程。

bash
python3 {{SKILLDIR}}/scripts/websearch.py [OPTIONS] 查询内容

模式B:图片搜索(仅当用户明确要求图片时使用)

仅当用户明确要求图片、照片或视觉内容时使用(例如:搜图片、找几张图、show me images of、图文介绍)。

bash
python3 {{SKILLDIR}}/scripts/websearch.py --images 查询内容 | python3 {{SKILLDIR}}/scripts/feishuimage.py --send --chat-id CHAT_ID

将 CHAT_ID 替换为当前的飞书聊天ID。

决策规则

用户说模式原因
搜一下最新新闻A(文本)未要求图片
今天天气怎么样
A(文本) | 事实查询 | | 帮我查一下 React vs Vue | A(文本) | 研究,无需图片 | | 搜一下可爱猫咪的图片 | B(图片) | 明确要求图片 | | 图文介绍一下杭州西湖 | B(图片) | 图文 = 文字 + 图片 | | 找几张产品截图 | B(图片) | 找几张图 = 想要图片 |

如有疑问,使用模式A(纯文本)。 仅在用户明确需要图片时使用模式B。

选项(两种模式通用)

标志效果最佳用途
(无)快速涡轮搜索快速事实、天气、人物查询
--deep
多源验证 | 研究、报告、事实核查 | | --agent | 多轮检索+综合 | 需要迭代搜索的复杂问题 | | --think | 回答前深度推理 | 分析、比较、趋势预测 | | --images | 图片+文本混合输出 | 仅模式B — 视觉参考 | | --fresh N | 仅返回最近N天的结果(7/30/180/365) | 突发新闻、近期事件 | | --sites a.com,b.com | 限制特定域名 | 特定领域研究 |

示例

bash

模式A:纯文本搜索


python3 {{SKILLDIR}}/scripts/websearch.py 最新AI新闻
python3 {{SKILLDIR}}/scripts/websearch.py --deep --think 比较React vs Vue
python3 {{SKILLDIR}}/scripts/websearch.py --fresh 7 今日突发新闻

模式B:图片搜索(通过feishu_image.py管道传输)

python3 {{SKILLDIR}}/scripts/websearch.py --images 可爱猫咪 | python3 {{SKILLDIR}}/scripts/feishuimage.py --send --chat-id CHAT_ID python3 {{SKILLDIR}}/scripts/websearch.py --images --deep 杭州西湖风景 | python3 {{SKILLDIR}}/scripts/feishuimage.py --send --chat-id CHAT_ID

策略选择指南

  1. 1. 从默认(涡轮)开始 — 可立即处理80%的查询
  2. 升级到--deep 当涡轮结果不完整或存在冲突时
  3. 使用--agent 针对需要多个搜索角度的问题
  4. 添加--think 当用户需要分析,而不仅仅是原始事实时
  5. 仅当用户明确需要视觉内容时才添加--images

输出与交付

模式A(纯文本)

  • - 结果包含引用标记 [1]、[2] — 在您的回复中保留这些标记
  • --think 模式会在前面添加包含推理链的 ...
  • 直接按原样回复文本

模式B(图片搜索)

  • - 图片通过管道自动作为图片消息发送到聊天中
  • stdout文本包含 alt — 从回复中删除 ![...]() markdown格式,因为图片已单独发送
  • 不要创建飞书文档 — 只需回复文本摘要

feishu_image.py 标志(仅模式B)

标志效果
--send将每张图片作为飞书图片消息发送
--chat-id ID
飞书接收者ID(与--send一起使用) | | --id-type TYPE | 接收者ID类型:chatid(默认)、openid、user_id |

规则

  • - 绝不泄露API密钥、应用密钥或环境变量
  • 始终在需要实时信息时使用此工具
  • 对于复杂研究,执行多次针对性搜索,而非一次宽泛查询
  • 为事实标注来源:根据[来源],...
  • 如果一种策略失败或结果不佳,尝试其他策略或重新表述

错误处理

如果脚本失败:

  1. 1. 检查是否设置了 DASHSCOPEAPIKEY
  2. 对于图片模式:检查是否设置了 FEISHUAPPID 和 FEISHUAPPSECRET
  3. 检查Python:python3 -c import openai; print(openai.version)
  4. 检查网络:curl -s https://dashscope.aliyuncs.com > /dev/null && echo OK

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 dashscope-web-search-feishu-1776275894 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 dashscope-web-search-feishu-1776275894 技能

通过命令行安装

skillhub install dashscope-web-search-feishu-1776275894

下载

⬇ 下载 web-search-feishu v1.0.0(免费)

文件大小: 9.83 KB | 发布时间: 2026-4-16 15:39

v1.0.0 最新 2026-4-16 15:39
Initial release of web-search-feishu skill:

- Enables real-time web search via DashScope Qwen, optimized for Feishu.
- Supports both text-only (default) and image search modes based on user request.
- Offers flexible search options: turbo, deep, agent, think, fresh, and site-specific queries.
- Provides clear decision rules and usage examples for handling different types of user queries.
- Automatic image sending for visual requests; citation and reasoning support for text responses.
- Includes troubleshooting steps and strict guidelines to protect credentials.
返回顶部