Loading...
Loading...
Search context data(memories, skills and resource) from OpenViking Context Database (aka. ov). Trigger this tool when 1. need information that might be stored as memories, skills or resources on OpenViking; 2. is explicitly requested searching files or knowledge; 3. sees `search context`, `search openviking`, `search ov` request.
npx skill4agent add volcengine/openviking ov-search-contextov searchov lsov treeov findov grepov globov readov overviewov abstractnote: cli command can be outdated, when sees error, useto get latest usage--help
ov ls# List root directory
ov ls
# List specific directory
ov ls viking://resources/my-project/docs/
# Simple path output (only uris, no metadata)
ov ls viking://resources --simple
# Show hidden files
ov ls viking://resources --all
# Control output limits (default 256)
ov ls viking://resources --node-limit 50
# Control abstract info length limit for each node (default 256)
ov ls viking://resources --abs-limit 128ov tree# Show tree structure
ov tree viking://resources
# Control depth limits (default 3)
ov tree viking://resources --level-limit 2
# Control node limits
ov tree viking://resources --node-limit 100 --abs-limit 128
# Show all files including hidden
ov tree viking://resources --allov find# Basic find across all context
ov find "how to handle API rate limits"
# Find within specific URI scope
ov find "authentication flow" --uri "viking://resources/my-project"
# Limit results and set relevance score threshold
ov find "error handling" --node-limit 5 --threshold 0.3ov grep# Find exact text pattern (Note: this is expensive, and suggest within specific small URI scope)
ov grep "viking://resources" "TODO:" --uri "viking://resources/my-project"
# Case-insensitive search
ov grep "viking://resources" "API_KEY" --ignore-case --uri "viking://resources/my-project"
# Limit results and set node limit
ov grep "viking://resources" "API_KEY" --node-limit 5 --uri "viking://resources/my-project"ov glob# Find all markdown files (Note: this is expensive, and suggest within specific small URI scope)
ov glob "**/*.md" --uri "viking://resources/my-project"
# Limit results and set node limit
ov glob "**/*.md" --uri "viking://resources/my-project" --node-limit 5ov read# Read full content
ov read viking://resources/docs/api/api-1.md
# Read first 10 lines of api-2.md
ov read viking://resources/docs/api/api-2.md | head -n 10
# Read abstract (L0 - quick summary)
ov abstract viking://resources/docs/api/
ov read viking://resources/docs/api/.abstract.md
# Read overview (L1 - key points)
ov overview viking://resources/docs/api/
ov read viking://resources/docs/api/.overview.mdov ls viking://resources/
# Search for relevant files
ov search "authentication" --uri "viking://resources/project-A"
# Get overview for context
ov overview viking://resources/project-A/backend
# Decide to read specific content
ov read viking://resources/project-A/backend/auth.md~/.openviking/ovcli.conf