ov-resources
它能做什么
这个技能让 AI 搜索你添加到 OpenViking 中的文档和文件。适合希望答案基于自己的文档、规范、代码或笔记的人。
适用场景
- ✓当你询问你添加到 OpenViking 的设计文档、规范或笔记的时候。
- ✓当任务需要当前会话没有的参考资料的时候。
- ✓当你想在已保存的文件中查找某个确切词语或错误信息的时候。
技能链接
https://github.com/volcengine/OpenViking/blob/main/agent-plugins/skills/ov-resources/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们在 OpenViking 中的设计文档是怎样说明支付重试规则的?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 先进行搜索,优先阅读匹配文件夹的摘要,然后仅在需要的地方打开完整文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OpenViking Resources
Resources are documents a user added to OpenViking (files, repos, URLs).
They live in a file tree under viking://resources/ (and sometimes
viking://user/<id>/resources/ for user-private ones). Each directory has two
summaries next to its files:
.abstract.md— one paragraph: what the directory holds (L0).overview.md— a structured overview of its contents (L1)
Read summaries first and open full files last. The summaries exist so you can decide where to look without reading everything.
Pick the tool
| You know… | Use |
|---|---|
| roughly what it is about | find(query, target_uri="viking://resources") |
| an exact word, name, or error string | grep(uri, pattern=[...]) |
| a file name or extension | glob(pattern, uri) e.g. **/*.pdf |
| where it is | list(uri) and read(uri), or read(uris=[...]) for several files |
Default to find. Scope it with target_uri as soon as you know which
resource you are in — narrower scopes give better hits. Use search instead
of find only when the question is vague and needs intent analysis.
Drill down
findreturns URIs with a score. A hit on<dir>/.abstract.mdmeans the whole directory matched, not that the answer is in the abstract.readthat directory's.overview.mdto see what is inside.listthe directory, or run a scopedfind/grepinside it, to reach the specific file.readthe file. For long files,grepfirst and thenreadwithoffset/limitaround the match.
Stop as soon as you have what the task needs. Two or three targeted reads beat ten broad ones.
Tips
- If
findreturns nothing useful,list viking://resourcesto see what exists, then search inside the closest directory. - Low scores (under ~0.4) are usually noise; rephrase with the domain's
own terms rather than raising
limit. - Cite the
viking://URI of what you used so the user can open it. - To add a new resource, use
add_resourcewith the file path or URL; do not copy its text in withwrite.
常见问题
先使用哪种搜索?
技能说明,默认使用限定在你当前资源范围内的搜索;当你知道某个具体词语时,则使用精确文本搜索。
为什么先读摘要?
技能说明,摘要可以帮助 AI 判断应到哪里查找,而无需逐一阅读全部内容。
它涵盖用户私有资源吗?
涵盖。技能提到了用户私有的资源文件夹,以及共享的资源文件夹。
详情
作者的原始描述
Search and read documents, repos, URLs, and other resources stored in OpenViking under viking://resources/. Use whenever the user asks about docs, specs, codebases, papers, or notes that were added to OpenViking ("check the docs", "what does our design doc say", "find it in OpenViking"), or when a task needs reference material this session does not have. Covers picking between find, grep, glob, and list, and drilling from a hit down to the exact file.
repo: volcengine/OpenViking
热度
- GitHub 星标
- 41k
- 排名
- #6510
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
openviking-memory
41k帮你的智能体通过 OpenViking 调用和保存长期记忆:工作开始时检索过去的知识,之后保存有用的事实和经验。
openviking-skills
41k帮你的智能体查找、创建、安装和分享保存在 OpenViking 中的可复用技能,使一次保存的技能可在所有已连接的工具中使用。
ov-experience-memory
41k帮你的智能体在编码、部署或数据修改等有风险的多步骤工作之前,查看 OpenViking 中以往的操作经验教训。
ov-kanban
41k让你的智能体通过 OpenViking 中共享的任务看板工作,领取任务、记录进展,并把工作交接给其他智能体。