← 返回 Skills 市场
54
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install test-search
功能描述
Search the web using iFlytek ONE SEARCH API (万搜/聚合搜索). Returns titles, summaries, URLs, and full text from web pages. Good for Chinese-language web search.22222
使用说明 (SKILL.md)
test-search
Search the web using iFlytek ONE SEARCH API (万搜/聚合搜索). Returns titles, summaries, URLs, and full text content from web pages.
When to Use
- User asks to search the Chinese web or needs Chinese-language search results
- Need an alternative to Brave Search (especially for Chinese content)
- User explicitly requests iFlytek / 讯飞 / 万搜 search
Prerequisites
- Python 3 (standard library only, no pip install needed)
- Environment variable:
XFYUN_API_PASSWORD— API password from 讯飞控制台
Usage
The script is at scripts/search.py relative to this skill directory.
Basic Search
python3 scripts/search.py "搜索关键词"
Options
| Flag | Description |
|---|---|
--limit N |
Max results, 1–20 (default 10) |
--no-rerank |
Disable result reranking |
--no-fulltext |
Disable full text retrieval |
--raw |
Output raw JSON instead of formatted text |
Examples
# Simple search
python3 scripts/search.py "美国现任总统是谁"
# Limit to 5 results
python3 scripts/search.py "Python asyncio 教程" --limit 5
# Raw JSON output for programmatic use
python3 scripts/search.py "量子计算最新进展" --raw
# Minimal mode — no rerank, no full text
python3 scripts/search.py "天气预报" --no-rerank --no-fulltext
Output Format (default)
Query: 美国现任总统是谁
## 1. Page Title
URL: https://example.com/page
Summary: Brief description of the page content
## 2. Another Result
URL: https://example.com/other
Summary: Another brief description
Output Format (--raw)
Returns the full API JSON response including data.search_results.documents[].content (full page text).
API Details
- Endpoint:
POST https://search-api-open.cn-huabei-1.xf-yun.com/v2/search - Auth:
Authorization: Bearer \x3CXFYUN_API_PASSWORD> - Rate limits: Per-app daily and per-second limits apply (see error codes below)
Error Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 11200 | Authorization error or quota exceeded |
| 11201 | Daily rate limit exceeded |
| 11202 | Per-second rate limit exceeded |
| 11203 | Concurrent connection limit exceeded |
| 21001 | Missing parameters |
| 21009 | Unauthorized appId |
Tips
- Use complete questions (e.g. "美国现任总统是谁?") rather than keywords for better time-sensitive results
- Query length should be ≤512 characters
安全使用建议
This skill does not show malicious behavior in the supplied artifacts, but it appears incomplete because the referenced search script is missing. Before installing or using it, confirm that the intended script is included from a trusted source and be aware that using it requires an iFlytek API password and sends your search queries to iFlytek.
功能分析
Type: OpenClaw Skill
Name: test-search
Version: 2.0.1
The skill bundle describes a legitimate tool for searching the web via the iFlytek ONE SEARCH API. The documentation in SKILL.md provides standard usage instructions, parameters, and authentication requirements consistent with the official iFlytek (xf-yun.com) service, with no evidence of malicious intent or prompt injection.
能力评估
Purpose & Capability
The stated purpose, iFlytek web search, matches the documented endpoint and examples, but the package only contains SKILL.md while the instructions reference a missing scripts/search.py helper.
Instruction Scope
The instructions are limited to running a search command and viewing formatted or raw search results; there are no prompt overrides, persistence instructions, destructive actions, or broad local file access.
Install Mechanism
There is no install spec and no code files, yet SKILL.md says the script is located at scripts/search.py. Users should not run substitute scripts from elsewhere without review.
Credentials
The skill requires Python 3 and an XFYUN_API_PASSWORD for the stated provider, which is proportionate for this API integration, but the registry metadata declares no required environment variables or primary credential.
Persistence & Privilege
No local persistence or privileged system access is shown, but use of an API password gives the skill delegated access to the user's iFlytek search quota/account.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install test-search - 安装完成后,直接呼叫该 Skill 的名称或使用
/test-search触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
- Updated the description field in SKILL.md to add "22222" at the end.
- No other changes were made.
v2.0.0
No changes detected in this version.
- Version number updated to 2.0.0, but no file or documentation changes were made.
v1.0.0
- Initial release of test-search: search the Chinese web using iFlytek ONE SEARCH API.
- Supports returning titles, summaries, URLs, and full page text from web results.
- Command-line tool with options for result limit, reranking, full text, and raw JSON output.
- Requires Python 3 and XFYUN_API_PASSWORD environment variable for authentication.
- Designed as an alternative to Brave Search for Chinese-language queries.
元数据
常见问题
test-search 是什么?
Search the web using iFlytek ONE SEARCH API (万搜/聚合搜索). Returns titles, summaries, URLs, and full text from web pages. Good for Chinese-language web search.22222. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。
如何安装 test-search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install test-search」即可一键安装,无需额外配置。
test-search 是免费的吗?
是的,test-search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
test-search 支持哪些平台?
test-search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 test-search?
由 M.(@kokkmiao)开发并维护,当前版本 v2.0.1。
推荐 Skills