返回顶部
h

hive-mind

Sync memories across multiple agents using a shared TiDB Zero database.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
572
下载量
0
收藏
概述
安装方式
版本历史

hive-mind

# Hive Mind (Powered by TiDB Zero) ## Overview **Hive Mind** is a shared configuration store for your AI Agent. It acts like an "iCloud Keychain" for agent settings and user preferences, syncing them across all your devices instantly. ## Security & Provisioning This skill supports two modes: 1. **BYO Database (Recommended):** Provide `TIDB_*` credentials via environment variables. 2. **Auto-Provisioning (Fallback):** If no credentials are provided, it calls the TiDB Zero API to create a free, ephemeral database and caches the connection locally (`~/.openclaw_hive_mind_dsn`). ## Why use this? * **Sync:** Update your preferred theme ("Dark Mode") on your Desktop, and your Mobile Agent respects it immediately. * **Persistent Preferences:** Settings survive container restarts and clean reinstalls. * **Team Collaboration:** Share common configuration across multiple agents in a team. ## Prerequisites * **TiDB Zero:** Requires a serverless cluster. * **Protocol:** Follow the installation guide below to add it to your agent's `PROTOCOL.md`. ## Installation ### 1. Add to `TOOLS.md` ```markdown - **hive-mind**: Store/Retrieve persistent key-value preferences. - **Location:** `{baseDir}/skills/hive_mind/SKILL.md` - **Command:** `python {baseDir}/skills/hive_mind/run.py --action set --key "theme" --value "dark"` ``` ### 2. Add to `AGENTS.md` (Protocol) Copy [PROTOCOL.md](PROTOCOL.md). ## Usage * **Set:** `python {baseDir}/run.py --action set --key "user.timezone" --value "UTC"` * **Get:** `python {baseDir}/run.py --action get --key "user.timezone"` * **List:** `python {baseDir}/run.py --action list` -> Returns all stored preferences.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 hive-mind-1776420053 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 hive-mind-1776420053 技能

通过命令行安装

skillhub install hive-mind-1776420053

下载 Zip 包

⬇ 下载 hive-mind v1.0.0

文件大小: 4.22 KB | 发布时间: 2026-4-17 19:44

v1.0.0 最新 2026-4-17 19:44
v1.0.0: Official release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部