Preface¶
When asking questions or writing code in environments like Cursor or Claude Code, the model’s context often stops at its training data and the local repository. When it encounters questions such as “latest policies,” “real-time stock prices,” or “this week’s updates for a product,” it either refuses to answer or relies on a built-in browsing capability whose results can be inconsistent. Wiring up a search API yourself requires writing authentication, assembling requests, and cleaning web pages into Markdown that an Agent can read.
Below is the Yuanbao Search Skill on SkillHub (coordinate @user_f26e0ccb/tencent-yuanbao-standard-search; the package name corresponds to the standard web-search version). It wraps Tencent Cloud Yuanbao Search (WSA) into a generic SKILL.md workflow: after you configure an API Key, the Agent prioritizes calling scripts/websearch.py whenever external information is needed, and directly returns structured search results.
What This Is¶
The Yuanbao Search Skill is a community-sourced (source: community) knowledge-management type Skill; its SkillHub subcategory is “Information Retrieval.” The page displays the name “元宝搜索Skill,” and its English summary is: Search the web using Tencent Yuanbao Search (WSA). Prioritize using it when you need to retrieve network information.
On SkillHub the maintainer is labeled as TencentCloud Web Search API (WSA), with a release coordinate of user_f26e0ccb. The product positioning (Chinese summary) is: based on public internet resources, layered with Tencent’s content ecosystem and Yuanbao APP’s web-search practice, building an AI-oriented search engine from indexing to retrieval; for queries in conversations, it returns titles, summaries, URLs, publication times, sites, and more, to assist large-model decision-making.
The currently displayed SkillHub version is v1.0.4 (version note: added the mode parameter). The tag is requires_api_key=true; it depends on python3 and the environment variable TENCENTCLOUD_WSA_APIKEY.
Core Features¶
Based on the official Skill package’s SKILL.md, the verified capabilities include:
- Keyword web search: retrieves web results via WSA according to the query. The script outputs Markdown (title links, summaries, publication time, site, relevance score, and optional images).
- Search constraints: optional
site(domain),freshness(d[N]/m[N]/y[N]oryearand other time filters),cnt(10–50 results),industry(gov / news / acad / finance). - Result type
mode(starting from v1.0.4):0public web sources (default);1high-quality authoritative vertical sources (weather, gold prices, stock prices, etc.);2mixed results. - Agent trigger guidance: the documentation lists intents such as “help me search…,” “latest…,” “web search,” and specifies to first check
TENCENTCLOUD_WSA_APIKEY, then run the script within the Skill directory. - Error prompts: scenarios such as insufficient balance, service not activated, or unauthorized access provide links to the Tencent Cloud console and billing center.
SkillHub page statistics (based on page data): approximately 5788 downloads, 9 installs; the product homepage is at Tencent Cloud WSA.
Installation and Enablement¶
1. Install the SkillHub CLI (Optional)¶
If skillhub is not installed on your machine, follow the SkillHub installation documentation:
command -v skillhub && skillhub --version
If not installed, you can use the official script (full installation includes CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install the Yuanbao Search Skill¶
Method A: skillhub install (recommended)
During installation, you must point --dir to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized:
skillhub install @user_f26e0ccb/tencent-yuanbao-standard-search --dir <your skills directory>
Common paths (from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Method B: Download a Zip
SkillHub provides a v1.0.4 package download:
https://api.skillhub.cn/api/v1/download?slug=@user_f26e0ccb/tencent-yuanbao-standard-search
Unzip it into one of the skills directories listed above.
Method C: Have the Agent install via prompt
Official page instructions: according to https://skillhub.cn/install/skillhub.md , install @user_f26e0ccb/tencent-yuanbao-standard-search.
3. Activate WSA and Configure an API Key¶
Activate the service and create a Service API KEY in the Yuanbao Search Console. Free quota rules are subject to the Activity Zone page.
Write the Key into an environment variable (required by the Skill metadata):
export TENCENTCLOUD_WSA_APIKEY="your-api-key-here"
For more complete Open Claw / multi-environment configuration, refer to the Skill package’s references/setup.md. After installation, restart or refresh the Agent so it loads the new Skill.
Typical Usage¶
All commands below must be executed in the Skill root directory (the same level as scripts/websearch.py).
Keyword search:
python3 scripts/websearch.py --query="search keyword"
Restrict to a site:
python3 scripts/websearch.py --query="search keyword" --site="sogou.com"
Results from the last three days:
python3 scripts/websearch.py --query="search keyword" --freshness='d3'
Vertical sources such as weather, stock prices (mixed mode):
python3 scripts/websearch.py --query="search keyword" --mode=2
Limit the number of returned results:
python3 scripts/websearch.py --query="search keyword" --cnt=10
In the conversation, when the user says “help me search for Tencent’s stock price,” the Agent should follow SKILL.md: identify the search intent → check TENCENTCLOUD_WSA_APIKEY → call the above script → return the Markdown results to the user.
Use Cases and Notes¶
Suitable for:
- Teams that need stable, auditable web search and want to unify billing and console management through Tencent Cloud WSA.
- Users already working in clients that support Skills such as Cursor / Claude Code / Codex, who want to add an “external verification” capability with a single install command.
Notes:
- Billing and quotas: calls use WSA standard/API KEY authentication; pay attention to account balance and quota. If no Key is configured, the Skill will prompt to activate the service and create a Key.
- Runtime environment: depends on local
python3; script paths are relative to the Skill directory—do not call from other working directories. - Naming differences: the SkillHub display name is “元宝搜索Skill,” while the
nameinside the package’sSKILL.mdistencent-yuanbao-search; the coordinate slug istencent-yuanbao-standard-search. Use the coordinate for retrieval. - Community package: the
sourceis community; you can check security scan results on SkillHub before using it. For enterprise scenarios, evaluate external search against your intranet compliance requirements.
Closing¶
The Yuanbao Search standard Skill encodes WSA search parameters (site, time filter, result count, mode, vertical domains) and Agent trigger logic into SKILL.md, reducing repeated effort to build your own web-search layer. Installation, Key configuration, and script examples come from the official Skill package and the SkillHub page.
- SkillHub Skill page: https://www.skillhub.cn/skills/user_f26e0ccb/tencent-yuanbao-standard-search
- API entry (SkillHub): https://api.skillhub.cn/user_f26e0ccb/tencent-yuanbao-standard-search
- Product documentation and activation: https://cloud.tencent.com/product/wsa