Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

openviking-setupopenviking 设置

Agent Skill

openviking-setup 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,048

周安装

502

GitHub Stars

公开资料未说明

下载量

4,016
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openviking-setup(openviking 设置)
来源仓库:https://github.com/engsathiago/openviking-setup
安装命令:
openclaw skills install openviking-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openviking-setup

简介

openviking-setup 用于查找、检索和筛选相关信息,适合在 OpenClaw 中根据关键词快速定位候选结果时使用。

  • 适用于为 OpenClaw 代理设置 OpenViking 上下文数据库,专为基于文件系统的 AI 代理设计。
  • 支持上下文数据库初始化与配置,提升代理的信息检索和组织能力。
  • 安装命令为 openclaw skills install openviking-setup,建议确认权限范围和维护状态。
  • 需注意是否会触发联网或文件读写,结合来源仓库和原始 README 核验具体用法。

SKILL.md

name
openviking-setup
description
Set up OpenViking context database for OpenClaw agents. OpenViking is an open-source context database designed specifically for AI agents with filesystem-based memory management, tiered context loading (L0/L1/L2), and self-evolving memory. Use when asked to set up OpenViking, configure context database for agents, implement persistent memory, or when memory management optimization is needed. Triggers on "install openviking", "setup openviking", "context database", "tiered memory", "L0 L1 L2 context".

OpenViking Setup for OpenClaw

OpenViking brings filesystem-based memory management to AI agents with tiered context loading and self-evolving memory. This skill guides you through installation and configuration.

What OpenViking Provides

  • Filesystem paradigm: Unified context management (memories, resources, skills)
  • Tiered loading (L0/L1/L2): Load only what's needed, save tokens
  • Self-evolving memory: Gets smarter with use
  • OpenClaw plugin: Native integration available

Prerequisites

  • Python 3.10+
  • Go 1.22+ (for AGFS components)
  • GCC 9+ or Clang 11+ (for core extensions)
  • VLM model access (for image/content understanding)
  • Embedding model access (for vectorization)

Quick Start

Step 1: Install OpenViking

# Python package
pip install openviking --upgrade --force-reinstall

# CLI tool
curl -fsSL https://raw.githubusercontent.com/volcengine/OpenViking/main/crates/ov_cli/install.sh | bash

Step 2: Create Configuration

Create ~/.openviking/ov.conf:

{
  "storage": {
    "workspace": "/home/your-name/openviking_workspace"
  },
  "log": {
    "level": "INFO",
    "output": "stdout"
  },
  "embedding": {
    "dense": {
      "api_base": "https://api.openai.com/v1",
      "api_key": "your-openai-api-key",
      "provider": "openai",
      "dimension": 1536,
      "model": "text-embedding-3-small"
    },
    "max_concurrent": 10
  },
  "vlm": {
    "api_base": "https://api.openai.com/v1",
    "api_key": "your-openai-api-key",
    "provider": "openai",
    "model": "gpt-4o",
    "max_concurrent": 100
  }
}

Step 3: Configure Provider

OpenViking supports multiple VLM providers:

ProviderModel ExampleNotes
openaigpt-4oOfficial OpenAI API
volcenginedoubao-seed-2-0-proVolcengine Doubao
litellmclaude-3-5-sonnetUnified access (Anthropic, DeepSeek, Gemini, etc.)

For LiteLLM (recommended for flexibility):

{
  "vlm": {
    "provider": "litellm",
    "model": "claude-3-5-sonnet-20241022",
    "api_key": "your-anthropic-key"
  }
}

For Ollama (local models):

{
  "vlm": {
    "provider": "litellm",
    "model": "ollama/llama3.1",
    "api_base": "http://localhost:11434"
  }
}

OpenClaw Integration

Plugin Installation

OpenViking has a native OpenClaw plugin for seamless integration:

# Install OpenClaw plugin
pip install openviking-openclaw

# Or from source
git clone https://github.com/volcengine/OpenViking
cd OpenViking/plugins/openclaw
pip install -e .

Configuration for OpenClaw

Add to your OpenClaw config:

# ~/.openclaw/config.yaml
memory:
  provider: openviking
  config:
    workspace: ~/.openviking/workspace
    tiers:
      l0:
        max_tokens: 4000
        auto_flush: true
      l1:
        max_tokens: 16000
        compression: true
      l2:
        max_tokens: 100000
        archive: true

Memory Tiers Explained

TierPurposeToken BudgetBehavior
L0Active working memory4K tokensAlways loaded, fast access
L1Frequently accessed16K tokensCompressed, on-demand
L2Archive/cold storage100K+ tokensSemantic search only

How Tiers Work

  1. New context goes to L0
  2. L0 fills → oldest items compressed to L1
  3. L1 fills → oldest items archived to L2
  4. Retrieval searches all tiers, returns relevant context

Directory Structure

~/.openviking/
├── ov.conf                 # Configuration
└── workspace/
    ├── memories/
    │   ├── sessions/        # L0: Active session memory
    │   ├── compressed/     # L1: Compressed memories
    │   └── archive/        # L2: Long-term storage
    ├── resources/          # Files, documents, assets
    └── skills/             # Skill-specific context

Usage Patterns

Adding Memory

from openviking import MemoryStore

store = MemoryStore()

# Add to L0
store.add_memory(
    content="User prefers Portuguese language responses",
    metadata={"tier": "l0", "category": "preference"}
)

# Add resource
store.add_resource(
    path="project_spec.md",
    content=open("project_spec.md").read()
)

Retrieving Context

# Semantic search across all tiers
results = store.search(
    query="user preferences",
    tiers=["l0", "l1", "l2"],
    limit=10
)

# Directory-based retrieval (more precise)
results = store.retrieve(
    path="memories/sessions/2026-03-16/",
    recursive=True
)

Compaction

# Trigger manual compaction
store.compact()

# View compaction status
status = store.status()
print(f"L0: {status.l0_tokens}/{status.l0_max}")
print(f"L1: {status.l1_tokens}/{status.l1_max}")

Best Practices

Memory Hygiene

  1. Categorize entries: Use metadata tags for better retrieval
  2. Flush L0 regularly: Let compaction run, don't hoard
  3. Use directory structure: Organize by project/topic
  4. Review L2 periodically: Archive stale memories

Token Efficiency

  1. Let OpenViking manage tiers automatically
  2. Use semantic search for L2 (don't load entire archive)
  3. Compress verbose content before adding to L1
  4. Keep L0 under 50% capacity for best performance

OpenClaw Workflow

  1. Session starts → OpenViking loads L0
  2. Conversation proceeds → context auto-promoted to L1/L2
  3. Long gaps → L2 provides relevant historical context
  4. Sessions compound → agent gets smarter over time

Troubleshooting

Common Issues

"No module named 'openviking'"

  • Ensure Python 3.10+ is active
  • Try pip install --user openviking

"Embedding model not found"

  • Check ov.conf has correct provider and model
  • Verify API key is valid

"L0 overflow"

  • Reduce l0.max_tokens in config
  • Manually call store.compact()

"Slow retrieval from L2"

  • Consider pre-loading frequently accessed resources to L1
  • Use directory-based retrieval for better precision

Resources

  • GitHub: https://github.com/volcengine/OpenViking
  • Documentation: https://github.com/volcengine/OpenViking/tree/main/docs
  • OpenClaw Plugin: https://github.com/volcengine/OpenViking/tree/main/plugins/openclaw
  • Examples: https://github.com/volcengine/OpenViking/tree/main/examples

What Gets Better

After setup, your agent gains:

  1. Persistent memory across sessions
  2. Smarter retrieval with semantic + directory search
  3. Token efficiency with tiered loading
  4. Self-improvement as context accumulates
  5. Observable context with retrieval trajectories

The more your agent works, the more context it retains—without token bloat.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.96%
按下载量换算3,733

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills