openviking
Skill62 starsChanged 9 months agoMITView on GitHub
OpenViking 上下文数据库集成 — 给 AI 朝廷加上长期记忆和知识库。 OpenViking 是火山引擎开源的 AI Agent 上下文数据库,用文件系统范式统一管理记忆、资源和技能。 相比 OpenClaw 默认的 qmd 记忆后端,OpenViking 在大规模文档场景下更强: 推荐使用免费的 NVIDIA NIM API: 也可以用火山引擎、OpenAI 等其他 provider。 Agent 通过 exec 调用 scripts/viking.sh 脚本: 建议保留 qmd 做日常轻量记忆,OpenViking 做大规模知识库。
- Reads credentials
- Installs packages
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- wanikua/danghuangshangedited, first seen Mar 26, 2026
- drunkcoding/AgentSkillsArxivtheir own version, first seen Mar 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- wanikua/danghuangshang★ 2.7k96% same
Wrote their own version · 1
- drunkcoding/AgentSkillsArxiv★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- become-ceoSkill
- browser-useSkill
- githubSkill
- Hacker NewsSkill
- notionSkill
- quadrantsSkill
- weatherSkill
The file
Files
OpenViking Skill
OpenViking 上下文数据库集成 — 给 AI 朝廷加上长期记忆和知识库。
什么是 OpenViking
OpenViking 是火山引擎开源的 AI Agent 上下文数据库,用文件系统范式统一管理记忆、资源和技能。 相比 OpenClaw 默认的 qmd 记忆后端,OpenViking 在大规模文档场景下更强:
| 能力 | qmd(默认) | OpenViking |
| 语义搜索 | 基础向量匹配 | 目录递归 + 语义融合 |
| 自动摘要 | ❌ | ✅ L0/L1/L2 三层 |
| 结构化浏览 | ❌ | ✅ 虚拟文件系统 |
| Token 节省 | ❌ | ✅ 按需加载 |
安装
1. 安装 Python 包
pip install openviking2. 获取 Embedding API Key
推荐使用免费的 NVIDIA NIM API:
- 访问 https://build.nvidia.com/
- 登录 → API Keys → 生成 Key
- 保存 key(以
nvapi-开头)
也可以用火山引擎、OpenAI 等其他 provider。
3. 创建配置文件
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"
}
}
EOF4. 设置环境变量
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>朝廷集成建议
- 兵部:索引代码仓库,搜索相关代码片段
- 户部:索引财务报表,查询历史数据
- 礼部:索引品牌素材和营销案例
- 工部:索引运维文档和 runbook
- 刑部:索引法律法规和合同模板
建议保留 qmd 做日常轻量记忆,OpenViking 做大规模知识库。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

