返回顶部
m

moark-web-search

Search web content such as webpages, images, and videos using the /web-search API with an Access Token.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
90
下载量
0
收藏
概述
安装方式
版本历史

moark-web-search

# Web Search This skill allows users to search web content through the `/web-search` API. It is suitable for information lookup, recent content discovery, webpage search, image search, and video search. ## Usage Ensure you have installed the required dependency (`pip install requests`). Use the bundled script to perform the search. ```bash python {baseDir}/scripts/perform_web_search.py \ --query "阿里巴巴2024年的ESG报告" \ --summary true \ --freshness noLimit \ --count 10 \ --api-key YOUR_API_KEY ``` ## Options - `--query` - Search keywords or a natural language question. - `--summary` - Whether to include summaries in the results. Accepts `true` or `false`. Default is `true`. - `--freshness` - Time filter. Options: `noLimit`, `oneDay`, `oneWeek`, `oneMonth`, `oneYear`. - `--count` - Number of results to return. Default is `10`. - `--api-key` - API key used in the `Authorization: Bearer` header. If omitted, read from `GITEEAI_API_KEY`. ## Workflow 1. Execute `perform_web_search.py` with the user parameters. 2. Parse the script output and find the line starting with `SEARCH_RESULTS_JSON:`. 3. Extract the JSON payload from that line. 4. Summarize the most relevant results for the user, prioritizing `webPages.value`. ## Notes - The response language should be consistent with the user's question. - Prefer `webPages.value` unless the user explicitly asks for images or videos. - If the user asks for recent information, set `--freshness` accordingly. - If the API returns no results, say that directly instead of fabricating answers. - If `GITEEAI_API_KEY` is missing, the user must provide `--api-key`. - The script prints `SEARCH_RESULTS_JSON:` in the output. Always parse that line.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 moark-web-search-1776055512 技能

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

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

通过命令行安装

skillhub install moark-web-search-1776055512

下载 Zip 包

⬇ 下载 moark-web-search v1.0.0

文件大小: 3.26 KB | 发布时间: 2026-4-14 09:55

v1.0.0 最新 2026-4-14 09:55
- Initial release of moark-web-search skill.
- Enables searching web pages, images, and videos via the /web-search API with access token support.
- Provides a command-line script for performing searches, supporting parameters for query, summary, freshness, count, and API key.
- Reads API key from the GITEEAI_API_KEY environment variable or command-line argument.
- Outputs results in JSON; users are instructed to parse lines starting with SEARCH_RESULTS_JSON:.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部