yzy-open-knowledge-search
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "yzy-open-knowledge-search" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7bc0c408caddbc33f8613bdc9ff181788c6c9e4380bc8e446226ef906ed8a533. Verify the upstream source and version against https://skillhub.cn/skills/user_3b65b66c/yzy-open-knowledge-search before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A retrieval skill that uses a configurable public-service endpoint to search Youzan developer documentation and open API information, facilitating access to Youzan-related technical and interface materials.
Introduction source: third_party · user_3b65b66c · 0.2.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: yzy-open-knowledge-search
description: 有赞开发者知识检索技能。通过用户配置的公网知识服务检索有赞云、开放平台、开发者接入和开放 API 内容。当用户要求查开发文档、开放知识库、API schema、接入说明或开放能力时使用。
slug: yzy-open-knowledge-search
displayName: 有赞开发者知识检索
version: 0.2.1
summary: 通过可配置的公网服务检索有赞开发文档与开放 API 信息
license: UNLICENSED
category: 数据查询
tags: node, youzanyun, open-platform, knowledge-base, api
author: Youzan
created: '2026-07-07'
updated: '2026-07-17'
metadata:
requires:
bins:
- youzan-toolkit
cliHelp: youzan-toolkit docs search --help有赞开发者知识检索
开始前
本 Skill 随 @youzan/ai-toolkit 发布并同步到有赞云公网 npm 镜像,且内嵌在 CLI 中。执行检索前读取当前 CLI 版本携带的说明:
youzan-toolkit skills read yzy-open-knowledge-search
youzan-toolkit docs search --help
CLI 负责请求、参数校验、鉴权、TLS、结果缓存和结构化输出;本 Skill 负责场景判断和结果解释。
配置
发行包不包含内网地址或默认凭证。首次使用时配置可从公网访问的 HTTPS 服务:
youzan-toolkit config init --endpoint 'https://<public-service>/search'
也可以仅为当前进程使用环境变量:
export YOUZAN_TOOLKIT_ENDPOINT='https://<public-service>/search'
export YOUZAN_TOOLKIT_AUTHORIZATION='Bearer <token>'
命令行 --authorization 的优先级最高。查看状态不会输出真实凭证:
youzan-toolkit auth status
默认参数
| 字段 | 默认值 | 说明 |
|---|---|---|
text |
用户问题 | 检索文本 |
topN |
10 |
返回条数 |
hnswEf |
200 |
ef 取值范围 [1,32768] |
filters |
[] |
过滤条件 |
retrieveCategoryPath |
true |
返回类目路径 |
retrieveRawContent |
true |
返回原文档 |
retrievalType |
2 |
0 向量、1 关键词、2 混合 |
algRerank |
true |
算法重排 |
expandPrevChunks |
2 |
命中切片向上扩展数量 |
expandNextChunks |
2 |
命中切片向下扩展数量 |
mergeExpandedContent |
true |
合并扩展内容 |
maxExpandedChars |
3000 |
扩展内容最大长度 |
检索流程
- 提取用户的真实问题作为
--keyword。 - 用户指定
topN、retrievalType或filters时覆盖默认值。 - 调用
youzan-toolkit docs search。 - 优先使用高分结果、原文内容和类目路径回答。
- 需要完整文档时,从结果提取标识并调用
docs read。 - 结果不足以支撑结论时,明确说明没有检索到充分依据。
youzan-toolkit docs search --keyword '问题'
youzan-toolkit docs search --keyword '问题' --top-n 5 --retrieval-type 2
youzan-toolkit docs search --keyword '问题' --dry-run
youzan-toolkit docs read --id '<搜索结果 ID>'
youzan-toolkit openapi schema 'youzan.item.get'
输出要求
- 先基于检索结果给出结论,不只输出接口 JSON。
- 归纳关键依据,不编造服务未返回的事实。
- 默认使用 JSON 供 Agent 组合;面向人类时可使用
--format pretty。 - 用户要求原始结果时使用
--full-response。
Current listing version
0.2.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供有赞开发者知识检索能力,解决开发者在查阅有赞云、开放平台、API 文档等场景下的信息检索需求
- 属于明确场景的通用工具,具有广泛受众的实用能力
Highlights
- description 中明确描述了使用场景(查开发文档、开放知识库、API schema、接入说明或开放能力)
- 触发词覆盖合理,边界清晰
Highlights
- 文档结构清晰,包含配置、默认参数、检索流程、输出要求等完整章节
- 步骤划分明确,有具体命令示例,frontmatter 完整
Highlights
- 工具来源明确(youzan-toolkit),参数说明详细
- 覆盖了主要异常情况(如结果不足时明确说明),不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.