Querit Advanced Search Skill
This skill provides OpenClaw with real-time web search capabilities. It supports complex filtering to retrieve highly accurate information.
Notes:
- - Needs
QUERIT_API_KEY from https://querit.ai - Each account receives 1,000 free search queries to experience the content and capabilities.
Trigger Conditions
- - When the user asks for real-time news, specific facts, or up-to-date data.
- When the search requires constraints like specific dates, languages, countries, or particular websites.
Supported Parameters
You can construct a JSON payload to use this tool. The payload supports the following fields:
- -
query (string, Required): The search query term. - INLINECODE2 (integer, Optional): The maximum number of search results to return.
- INLINECODE3 (object, Optional): Filter conditions to refine results.
-
sites (object): Specify which websites to include or exclude.
-
include (array of strings): Only fetch data from these domains (e.g.,
["wikipedia.org", "nytimes.com"]).
-
exclude (array of strings): Do not fetch data from these domains.
-
timeRange (object):
-
date (string): Options include:
-
d[number]: Past X days (e.g.,
d7 for past 7 days).
-
w[number]: Past X weeks (e.g.,
w2).
-
m[number]: Past X months (e.g.,
m6).
-
y[number]: Past X years (e.g.,
y1).
-
YYYY-MM-DDtoYYYY-MM-DD: Specific date range (e.g.,
2023-01-01to2023-12-31).
-
geo (object):
-
countries ->
include (array of strings): E.g.,
["united states", "japan", "germany"].
-
languages (object):
-
include (array of strings): E.g.,
["english", "japanese", "german", "french", "spanish"].
Execution Instructions
Execute the included search.py script by passing a strict JSON string as the argument. Wrap the JSON string in single quotes.
Example 1: Simple Search
CODEBLOCK0
Example 2: Advanced Filtered Search
CODEBLOCK1
Querit 高级搜索技能
该技能为 OpenClaw 提供实时网络搜索能力。支持复杂过滤以获取高精度信息。
注意:
- - 需要从 https://querit.ai 获取 QUERITAPIKEY
- 每个账户可获得 1,000 次免费搜索查询,用于体验内容和功能。
触发条件
- - 当用户询问实时新闻、特定事实或最新数据时。
- 当搜索需要特定日期、语言、国家或特定网站等约束条件时。
支持的参数
您可以通过构建 JSON 数据包来使用此工具。该数据包支持以下字段:
- - query(字符串,必填):搜索查询词。
- count(整数,可选):返回的最大搜索结果数量。
- filters(对象,可选):用于优化结果的过滤条件。
- sites(对象):指定包含或排除哪些网站。
- include(字符串数组):仅从这些域名获取数据(例如 [wikipedia.org, nytimes.com])。
- exclude(字符串数组):不从这些域名获取数据。
- timeRange(对象):
- date(字符串):选项包括:
- d[数字]:过去 X 天(例如 d7 表示过去 7 天)。
- w[数字]:过去 X 周(例如 w2)。
- m[数字]:过去 X 个月(例如 m6)。
- y[数字]:过去 X 年(例如 y1)。
- YYYY-MM-DDtoYYYY-MM-DD:特定日期范围(例如 2023-01-01to2023-12-31)。
- geo(对象):
- countries -> include(字符串数组):例如 [united states, japan, germany]。
- languages(对象):
- include(字符串数组):例如 [english, japanese, german, french, spanish]。
执行说明
通过传递严格的 JSON 字符串作为参数来执行包含的 search.py 脚本。将 JSON 字符串用单引号括起来。
示例 1:简单搜索
bash
python skills/querit-web-search/scripts/search.py quantum computing breakthroughs
示例 2:高级过滤搜索
bash
python skills/querit-web-search/scripts/search.py {
query: artificial intelligence regulations,
count: 10,
filters: {
sites: {
include: [techcrunch.com, mondaq.com,europa.eu]
},
timeRange: {
date: m3
},
geo: {
countries: {
include: [united states, united kingdom]
}
},
languages: {
include: [english]
}
}
}