Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Unified Search - 统一智能搜索

v2.0.0

统一搜索技能!中文用百度,英文用 DuckDuckGo,加密货币用 CoinGecko

0· 407·11 current·12 all-time
by三产@coder-knock
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Chinese→Baidu, English→DuckDuckGo, crypto→CoinGecko) match the included scripts and examples. The repository contains Python scripts that implement Baidu scraping, Bing scraping, CoinGecko API calls, and a unified entrypoint; these are appropriate for the stated functionality.
Instruction Scope
SKILL.md instructs the agent/user to run the provided Python scripts and to use the platform browser tool; it also suggests checking the local skills directory for a dependent 'ddg-search' skill. The runtime instructions and examples are concrete (running local scripts, browser actions) and do not ask the agent to read unrelated system files or secrets, but the skill assumes the presence of another local skill (ddg-search) and will call external websites (Baidu, DuckDuckGo/Bing, CoinGecko) as part of normal operation.
Install Mechanism
There is no install spec; this is an instruction-and-code skill that runs local Python scripts. No external or opaque download URLs or archive extraction are used.
Credentials
The skill declares no required environment variables or credentials. The code makes unauthenticated requests to public search endpoints and CoinGecko (public API). No secrets or unrelated service credentials are requested.
Persistence & Privilege
Flags show always:false and normal agent invocation allowed. The skill does not request permanent system-wide privileges or modify other skills' configuration. It runs local scripts when invoked.
Assessment
This skill appears to do what it says: it runs local Python scripts that scrape Baidu/Bing and call the public CoinGecko API, and it can optionally drive the platform browser. Before installing, consider: 1) auditing any other local skill it depends on (the SKILL.md and unified_search.py expect a 'ddg-search' skill in the workspace) because unified_search will invoke that script via subprocess; 2) these scripts perform web scraping and network calls to public sites (rate limits, CAPTCHAs, or site changes can break behavior); 3) run the skill in an isolated or test workspace if you want to inspect runtime behavior (it executes local code with your agent's privileges); and 4) no secrets are requested by this skill, but if you later add features that require API keys, re-evaluate proportionality. Overall the package is coherent with its stated purpose.

Like a lobster shell, security has layers — review code before you run it.

latestvk975c28pmxazvc0yxe2pjjk4dn8272yy
407downloads
0stars
1versions
Updated 19h ago
v2.0.0
MIT-0

🔍 Unified Search - 统一搜索技能

智能融合多种搜索引擎,一个脚本搞定所有搜索!

  • 🇨🇳 中文查询 → 自动用百度
  • 🇺🇸 英文查询 → 自动用 DuckDuckGo
  • 💰 加密货币 → 自动用 CoinGecko 实时价格

🚀 快速开始

方式1:使用统一智能搜索脚本(最推荐 ⭐⭐⭐⭐⭐⭐)

自动选择最佳搜索引擎! 一行命令,智能搞定!

cd skills/baidu-search

# 中文搜索 → 自动用百度
python scripts/unified_search.py "Python 教程" --format

# 英文搜索 → 自动用 DuckDuckGo
python scripts/unified_search.py "Python tutorial" --format

# 加密货币 → 自动用 CoinGecko
python scripts/unified_search.py "btc价格" --format

方式2:使用 Playwright 浏览器搜索(推荐 ⭐⭐⭐⭐⭐)

最稳定、最可靠的方式,使用 ClawX 内置的 browser 工具:

// 1. 启动浏览器
browser(action="start")

// 2. 打开百度或 Bing
browser(action="open", targetUrl="https://www.baidu.com")
// 或 browser(action="open", targetUrl="https://www.bing.com")

// 3. 获取页面快照
browser(action="snapshot")

// 4. 在搜索框输入关键词(找到搜索框的 ref,如 e12)
browser(action="act", request={
  kind: "type",
  ref: "e12",
  text: "搜索词"
})

// 5. 按回车搜索
browser(action="act", request={
  kind: "press",
  ref: "e12",
  key: "Enter"
})

// 6. 获取搜索结果
browser(action="snapshot")

方式3:使用智能 Python 脚本搜索(备选)

cd skills/baidu-search
python scripts/smart_search.py "你的搜索词" --format

方式4:使用原始百度 Python 脚本

cd skills/baidu-search
python scripts/baidu_search.py "你的搜索词" --format

📋 功能对比

功能统一智能搜索Playwright 浏览器智能脚本原始百度
中文自动用百度⭐⭐⭐⭐⭐ 手动
英文自动用 DDG⭐⭐⭐⭐⭐ 手动
加密货币实时价❌ 需手动
多数据源集成✅ 百度+DDG+API❌ 单一引擎✅ 百度+Bing+API❌ 仅百度
易用性⭐⭐⭐⭐⭐ 一行命令⭐⭐⭐⭐ 需多步⭐⭐⭐⭐⭐ 一行⭐⭐⭐⭐⭐ 一行
推荐度⭐⭐⭐⭐⭐⭐ 首选⭐⭐⭐⭐⭐ 备选⭐⭐⭐⭐ 备选⭐⭐⭐ 备选

🎯 触发模式

触发短语说明
搜索[查询内容]使用统一智能搜索
统一搜索[查询内容]使用统一智能搜索
百度搜索[查询内容]使用百度搜索
浏览器搜索[查询内容]使用 Playwright 搜索
baidu-search [查询内容]使用百度搜索

💡 最佳实践

日常搜索推荐流程

  1. 首选unified_search.py - 自动选择,最方便
  2. 备选:Playwright 浏览器搜索 - 最稳定,可处理验证码
  3. 备选smart_search.py - 百度 + Bing 双保险

选择指南

场景推荐方式
快速搜索任何内容unified_search.py
中文内容搜索unified_search.py → 百度
英文内容搜索unified_search.py → DuckDuckGo
BTC/ETH 价格查询unified_search.py → CoinGecko
需要完整网页截图Playwright 浏览器搜索

🛠️ 故障排除

问题:统一搜索脚本找不到模块

解决方案:确保 ddg-search 技能存在于 skills 目录中

# 检查目录结构
ls C:\Users\opens\.openclaw\workspace\skills\
# 应该能看到 baidu-search 和 ddg-search

问题:DuckDuckGo 搜索失败

解决方案:安装 duckduckgo-search 库

pip install duckduckgo-search
# 或者在 ddg-search 目录中安装
cd skills/ddg-search
pip install -r requirements.txt

问题:百度搜索遇到验证码

解决方案

  • 使用 Playwright 浏览器搜索方式(可以人工处理验证码)
  • 或者使用 unified_search.py,它会自动降级到 DuckDuckGo

📁 目录结构

skills/baidu-search/
├── SKILL.md                      # 本文件
├── README.md                     # 用户友好的说明
├── OPTIMIZATION_SUMMARY.md       # 优化总结
├── requirements.txt              # Python 依赖
├── example_usage.js              # 使用示例
├── quick_test.py                 # 快速测试
└── scripts/
    ├── unified_search.py         # ⭐ 统一智能搜索(推荐)
    ├── smart_search.py           # 智能搜索脚本
    └── baidu_search.py           # 原始百度脚本

🔧 依赖安装

如需使用 Python 脚本搜索方式:

cd skills/baidu-search
pip install requests beautifulsoup4

# 如果使用统一搜索,还需要安装 DuckDuckGo 依赖
cd ../ddg-search
pip install -r requirements.txt

✨ 统一搜索特色功能

  1. 🧠 智能语言检测

    • 自动识别中文/英文查询
    • 选择最佳搜索引擎
  2. 💰 加密货币支持

    • BTC/ETH/比特币/以太坊自动识别
    • CoinGecko 实时价格
    • 美元 + 人民币双币种
  3. 🔄 自动 Fallback

    • 百度失败 → 自动用 DDG
    • DDG 失败 → 自动用百度
    • 双重保障
  4. 📊 标明来源

    • 每个结果显示来源(百度/DuckDuckGo/CoinGecko)
    • 清楚知道数据来自哪里

统一搜索,一个脚本搞定所有!首选 unified_search.py! 🎉

Comments

Loading comments...