Individual skill
byted-viking-search-knowledgebase
调用火山引擎Viking知识库的远程API,检索和query相关的知识库数据。使用场景包括:查询知识库内容、获取相关文档数据、检索特定信息等。当需要搜索数据回答用户问题时使用此skill。
skills/byted-viking-search-knowledgebase/SKILL.md
Source commit 75abb6c5cb9b310338db8bafe3ffc7d7ecec2834
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 484
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- ai Repository topic
- samples Repository topic
- volcengine Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,861 bytesSKILL.mdcore · 14,861 bytesSKILL.mdcore · 14,861 bytesSKILL.mdcore · 14,861 bytes_meta.jsonasset · 153 bytesreferences/collection_info_api.mddoc · 12,097 bytesreferences/search_knowledge_api.mddoc · 21,270 bytesscripts/__init__.pyruns · 0 bytesscripts/viking_search.pyruns · 16,758 bytesskill-card.mddoc · 2,272 bytes
Read excerpt
# Byted Viking Search Knowledgebase
该 Skill 用于通过 APIG 网关调用火山引擎 Viking 知识库的 API:
- `/api/knowledge/collection/info`:查看知识库详情,获取 `collection_name` 和 `description`。**仅在路由/连接检查场景使用**,不是知识问答的默认入口。
- `/api/knowledge/collection/search_knowledge`:语义检索,根据 query 从知识库中获取相关切片,返回切片列表、相关度分数、文档信息等。
版本整合说明:`byted-viking-search-knowledgebase.tar.gz` 曾包含 legacy 根目录 `byted-viking-knowledgebase`(`scripts/search.py`、`VIKING_KBSVR_*`);该目录与仓库中的旧 skill 保持兼容,不作为本 skill 的更新目标。当前统一使用本目录的 APIG 鉴权、`DATABASE_VIKING_*` 配置和 `scripts/viking_search.py`。
---
## 输入前提(必读)
你接收到的不是用户原话,而是**上级 Agent 分配给你的任务描述**。这类描述通常具有以下特征,必须在拆分阶段处理掉,**不能整段塞进 `--query`**: