skills/openviking/SKILL.md
OpenViking 集成 — 浏览器自动化与 Web 搜索工具
npx skillsauth add 1012Lonin/Yushufang openvikingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
OpenViking 上下文数据库集成 — 给 AI 朝廷加上长期记忆和知识库。
OpenViking 是火山引擎开源的 AI Agent 上下文数据库,用文件系统范式统一管理记忆、资源和技能。 相比 OpenClaw 默认的 qmd 记忆后端,OpenViking 在大规模文档场景下更强:
| 能力 | qmd(默认) | OpenViking | |------|-----------|------------| | 语义搜索 | 基础向量匹配 | 目录递归 + 语义融合 | | 自动摘要 | ❌ | ✅ L0/L1/L2 三层 | | 结构化浏览 | ❌ | ✅ 虚拟文件系统 | | Token 节省 | ❌ | ✅ 按需加载 |
pip install openviking
推荐使用免费的 NVIDIA NIM API:
nvapi- 开头)也可以用火山引擎、OpenAI 等其他 provider。
mkdir -p ~/.openviking
cat > ~/.openviking/ov.conf << 'EOF'
{
"embedding": {
"dense": {
"api_base": "https://integrate.api.nvidia.com/v1",
"api_key": "YOUR_NVIDIA_API_KEY",
"provider": "openai",
"dimension": 4096,
"model": "nvidia/nv-embed-v1"
}
},
"vlm": {
"api_base": "https://integrate.api.nvidia.com/v1",
"api_key": "YOUR_NVIDIA_API_KEY",
"provider": "openai",
"model": "meta/llama-3.3-70b-instruct"
}
}
EOF
echo 'export OPENVIKING_CONFIG_FILE=~/.openviking/ov.conf' >> ~/.bashrc
source ~/.bashrc
Agent 通过 exec 调用 scripts/viking.sh 脚本:
# 查看状态
bash skills/openviking/scripts/viking.sh info
# 索引文件
bash skills/openviking/scripts/viking.sh add ./my-document.md
# 批量索引目录
bash skills/openviking/scripts/viking.sh add-dir ./docs/
# 语义搜索
bash skills/openviking/scripts/viking.sh search "某个话题"
# 浏览已索引的文件
bash skills/openviking/scripts/viking.sh list
# 读取文件摘要
bash skills/openviking/scripts/viking.sh summary <file-path>
建议保留 qmd 做日常轻量记忆,OpenViking 做大规模知识库。
development
Get current weather and forecasts (no API key required).
tools
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
tools
Manage Quadrants tasks and projects via natural language. Use when the user wants to create, view, complete, or organize tasks on the Eisenhower Matrix. Supports listing projects, adding tasks (single or bulk), viewing priority tasks, completing tasks, and getting project overviews. Triggers on mentions of "quadrants", "tasks", "to-do", "eisenhower", "priority matrix", or task management requests.
development
小说架构设计 - 当用户需要设计小说大纲、人物档案、世界观、伏笔台账时触发。关键词:大纲、世界观、人物设定、架构设计、故事规划。