← 返回 Skills 市场
OpenViking 上下文数据库
作者
onlyonepice
· GitHub ↗
· v1.0.0
· MIT-0
329
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install openviking-context
功能描述
OpenViking context database for AI agents — layered context loading (L0/L1/L2), semantic search, file-system memory management. Use when setting up OpenVikin...
安全使用建议
This skill appears to be what it claims (an OpenViking integration), but review and take these precautions before installing:
- Inspect the installer scripts and upstream projects: pip install openviking and the optional curl|bash install for the Rust CLI fetch code from external sources (PyPI and GitHub). Confirm you trust the upstream repositories before running them.
- Be careful when running 'python3 scripts/viking.py add <dir>': the add command will recurse and add many file types — avoid pointing it at home or other directories that may contain private keys, credentials, or sensitive data.
- The setup writes your API key in plaintext to ~/.openviking/ov.conf and appends export lines to your shell rc; if you prefer, set those env vars manually or store secrets in a safer vault and reference them when needed.
- Consider running the install/setup in an isolated environment (VM/container) first, or at least inspect ~/.openviking/ov.conf and ~/.openviking/session_stats.json after configuration.
- Note a minor bug/inconsistency in scripts: the interactive setup sets some provider variables incorrectly in one branch (e.g., VLM provider selection for the NVIDIA choice). This looks like a scripting bug rather than malicious behavior — review the generated ov.conf before use.
If you are comfortable with these tradeoffs and trust the OpenViking upstream, the skill is coherent; if you need stronger assurance, ask the skill author for commit hashes or verify the exact openviking package/source prior to installation.
功能分析
Type: OpenClaw Skill
Name: openviking-context
Version: 1.0.0
The skill bundle provides integration with the OpenViking context database but utilizes high-risk installation patterns. Specifically, 'scripts/install.sh' executes a remote script via 'curl | bash' from GitHub (raw.githubusercontent.com/volcengine/OpenViking) and modifies the user's shell configuration files (.bashrc/.zshrc) to persist environment variables. While these actions appear aligned with the stated purpose of setting up the tool, they introduce significant supply-chain risks and system-level modifications that could be exploited if the remote source is compromised.
能力评估
Purpose & Capability
The name/description (OpenViking context DB, L0/L1/L2, semantic search, token tracking) match the included files (CLI wrapper, installer, config helper, demo). Requested packages (openviking) and runtime behavior (adding/searching/reading resources, embedding/VLM calls) are coherent with the stated purpose.
Instruction Scope
SKILL.md and scripts instruct the agent/user to install openviking, run openviking-server, and use the provided CLI wrapper to add/search/read resources. The scripts read and write files under the user's home (~/.openviking, ~/.openviking/session_stats.json) and will recursively ingest files from directories you point them at — this means sensitive local files could be added if you run 'add' on broad paths. The setup is interactive and explicitly asks for API keys; it persists them to a plain-text config file.
Install Mechanism
No platform install spec in skill metadata (instruction-only), but included scripts call 'pip install openviking' and optionally run cargo or curl to a GitHub raw install script for the Rust CLI. pip and GitHub raw URLs are common for open-source installs, but running curl|bash and forced pip reinstall have moderate risk and should be done only after reviewing the upstream sources.
Credentials
The skill does not declare required env vars up-front, but the interactive setup prompts for a model API Key and writes it into ~/.openviking/ov.conf in plain text. It also appends export lines to shell rc files for OPENVIKING_CONFIG_FILE/OPENVIKING_CLI_CONFIG_FILE. These are expected for a tool that uses remote model APIs, but storing API keys unencrypted in home config files is a privacy risk and should be considered.
Persistence & Privilege
The skill writes files into the user's home (~/.openviking/* and ~/.openviking/session_stats.json) and copies itself into the OpenClaw skills directory on install. It modifies shell rc to export config file paths. always:false and normal autonomous invocation defaults are preserved. These persistence actions are reasonable for this type of integration but they do create persistent local state and stored API credentials.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openviking-context - 安装完成后,直接呼叫该 Skill 的名称或使用
/openviking-context触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of openviking-context.
- Provides layered context loading (L0/L1/L2) for AI agents, significantly reducing token consumption.
- Supports semantic search, file-system style context management, and persistent agent memory across sessions.
- Integrates with OpenClaw; simple installation and configuration scripts included.
- Tracks and reports token usage compared to traditional RAG approaches.
- Includes troubleshooting guide and model provider compatibility notes.
元数据
常见问题
OpenViking 上下文数据库 是什么?
OpenViking context database for AI agents — layered context loading (L0/L1/L2), semantic search, file-system memory management. Use when setting up OpenVikin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 329 次。
如何安装 OpenViking 上下文数据库?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openviking-context」即可一键安装,无需额外配置。
OpenViking 上下文数据库 是免费的吗?
是的,OpenViking 上下文数据库 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenViking 上下文数据库 支持哪些平台?
OpenViking 上下文数据库 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenViking 上下文数据库?
由 onlyonepice(@onlyonepice)开发并维护,当前版本 v1.0.0。
推荐 Skills