← 返回 Skills 市场
77
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install datayes-web-search
功能描述
通用 AI 语义搜索技能,通过 Datayes gptMaterials/v2 API 执行结构化语义搜索。用户询问最新资讯、研报、公告、会议纪要、行业动态、指标背景材料时使用。优先通过仓库内 Python 脚本发起请求,不要手写 HTTP 请求,不要在 skill 中硬编码 token。
使用说明 (SKILL.md)
Datayes Web Search
前提条件
1. 获取 Datayes Token
访问 https://r.datayes.com/auth/login 登录 Datayes 账号,并在 Datayes 控制台获取可撤销的 API token。
2. 配置 Token
macOS / Linux:
export DATAYES_TOKEN='your-token'
Windows PowerShell:
$env:DATAYES_TOKEN = "your-token"
Windows CMD:
set DATAYES_TOKEN=your-token
直接使用
- 只用
python3 scripts/datayes_web_search.py发请求。 - 只用 Python 标准库;不要额外安装依赖。
- 从环境变量
DATAYES_TOKEN读取 token。脚本会自动带上Authorization: Bearer \x3Ctoken>。 - 真实业务接口 URL 会先校验协议与主机名,只允许 Datayes 受信任域名,避免把 token 发到非 Datayes 地址。
- 默认
rewrite=false,保留用户原始查询,减少意外改写。
最小流程
- 先查看接口规格。
python3 scripts/datayes_web_search.py spec
- 直接搜索并输出前 15 条结果。
python3 scripts/datayes_web_search.py search "新能源车 渗透率 2026" --query-scope research
- 需要更多结果时显式放大返回条数。
python3 scripts/datayes_web_search.py search "美国关税政策 2026" --query-scope news --top 30
queryScope 参数
| 值 | 搜索范围 |
|---|---|
| (不传) | 综合全部类型(默认) |
research |
券商研报 |
announcement |
上市公司公告 |
news |
财经资讯/新闻 |
meetingSummary |
电话会/调研纪要 |
indicator |
宏观/行业数据指标 |
researchTable |
研报图表 |
选择规则
- 用户问新闻、政策变化、市场动态时,优先
news。 - 用户问卖方观点、行业深度、公司覆盖时,优先
research。 - 用户问公告原文或正式披露时,优先
announcement。 - 用户问调研纪要、电话会、专家交流时,优先
meetingSummary。 - 用户问宏观或行业指标背景材料时,可用
indicator。 - 用户没限定范围时,可不传
queryScope做综合搜索。
输出要求
- 直接输出 API 返回的原始 JSON 数组,不做二次改写或字段重组。
- 搜索词尽量精确,涉及时效性问题时优先附带年份或月份。
- 若需要跨多种范围搜索,可分别调用多次,再由上层任务决定如何合并结果。
安全使用建议
This skill appears coherent: it will run the included Python script and send your DATAYES_TOKEN bearer token to Datayes endpoints (gw.datayes.com). Before installing, make sure you trust Datayes and are willing to provide an API token; use a revocable token and follow least-privilege practices. Because the script prints the raw JSON returned by the API, be aware that returned data may include sensitive content—avoid pasting that output into untrusted places. If you need stricter controls, review or run the included scripts locally to confirm behavior and consider limiting network access or using short-lived tokens.
能力评估
Purpose & Capability
Name/description say it's a Datayes semantic search skill; the only required binary is python3 and the only required env var is DATAYES_TOKEN. Those are appropriate and proportional for calling Datayes APIs.
Instruction Scope
SKILL.md instructs the agent to run the included Python script, to read the token from DATAYES_TOKEN, and not to hardcode tokens. The script only builds a POST to Datayes gptMaterials/v2 and prints the raw JSON response. The instructions do not ask the agent to read unrelated files or send data to other endpoints. (Note: the script outputs raw API JSON, which may contain sensitive material from Datayes.)
Install Mechanism
No install spec; skill is instruction-only with included Python scripts. No third-party packages are pulled and the script uses only the Python standard library—low installation risk.
Credentials
Only DATAYES_TOKEN is required. That credential is directly needed for Authorization to Datayes and is justified by the skill's purpose. No unrelated secrets or config paths are requested.
Persistence & Privilege
always is false and the skill does not modify other skills or system config. It runs only when invoked and does not request permanent elevated presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install datayes-web-search - 安装完成后,直接呼叫该 Skill 的名称或使用
/datayes-web-search触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of datayes-web-search skill.
- Enables structured semantic search for news, research reports, announcements, meeting summaries, and industry indicators using the Datayes gptMaterials/v2 API.
- Uses Python scripts only (no manual HTTP requests or hardcoded tokens); authentication via environment variable DATAYES_TOKEN.
- Safeguards to send API tokens only to trusted Datayes domains.
- Returns raw API JSON results without modification.
- Supports queryScope parameter to refine searches by content type.
元数据
常见问题
Datayes Web Search 是什么?
通用 AI 语义搜索技能,通过 Datayes gptMaterials/v2 API 执行结构化语义搜索。用户询问最新资讯、研报、公告、会议纪要、行业动态、指标背景材料时使用。优先通过仓库内 Python 脚本发起请求,不要手写 HTTP 请求,不要在 skill 中硬编码 token。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。
如何安装 Datayes Web Search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install datayes-web-search」即可一键安装,无需额外配置。
Datayes Web Search 是免费的吗?
是的,Datayes Web Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Datayes Web Search 支持哪些平台?
Datayes Web Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Datayes Web Search?
由 Datayes(@datayes)开发并维护,当前版本 v1.0.0。
推荐 Skills