[Question]: 共享SKILLS是否支持API实现,或者使用webstudio是否可以查看相关资源?
Your Question
Context
No response
Code Example (Optional)
Related Area
None
Before Asking
- [x] I have checked the documentation
感谢提交这个 issue!
共享 skill 是支持通过 API/CLI 实现的。安装到账号级共享 skill 根时,指定 viking://agent/skills 即可:
ov skills add ./skills/search-web -p viking://agent/skills --wait
ov skills list -p viking://agent/skills
如果走 HTTP API,也可以在 /api/v1/skills 请求里传 target_uri:
{
"data": "...SKILL.md content or structured skill data...",
"target_uri": "viking://agent/skills",
"wait": true
}
list/find/get/update/delete 这些 skill 管理接口也支持同样的 target_uri。不传 target_uri 时,默认写入当前用户私有 skill 根;ov skills list 默认会合并展示用户私有 skill 和共享 agent skill。
WebStudio 目前没有专门的共享 skill 安装/管理页面;可以在 Retrieval 页面选择 custom scope,输入 viking://agent/skills/ 来检索查看共享 skill 相关内容。更完整的列表、安装、更新、删除建议先使用 CLI 或 API。
这块文档目前确实不够集中,我们后续会补充 Skills API 和 WebStudio 查看方式的说明。
补充一下 WebStudio 的本地查看方式:
先启动 OpenViking Server:
openviking-server init
openviking-server doctor
openviking-server --with-bot
默认服务端地址是:
http://127.0.0.1:1933
然后启动 WebStudio:
cd web-studio
npm install
npm run dev
浏览器打开:
http://127.0.0.1:3000
进入 WebStudio 后,如果弹出连接配置,server URL 填 http://127.0.0.1:1933,并填写对应的 API key/account/user。
要查看共享 skill,可以进 Retrieval 页面,scope 选择 custom,输入:
viking://agent/skills/
然后搜索相关 skill 内容即可。当前 WebStudio 主要支持检索查看;共享 skill 的安装、列表、更新、删除仍建议使用 CLI 或 API。