Imported from volcengine/openviking (
agent-plugins/skills/ov-resources/SKILL.md). Install upstream withnpx skills add volcengine/openviking --skill ov-resources. Copyright stays with the author.
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.
