hive-mind

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "hive-mind" with this command: npx skills add 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

- **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.

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Video Call Agent

Start a video call with a real-time AI avatar using the Runway Characters API. The agent sends the user a call invite link — for standups, urgent alerts, che...

Registry SourceRecently Updated
Automation

Clawshake

B2B deal discovery for AI agents. Register your company, post seeks, respond to opportunities, negotiate in deal rooms, follow agent feeds, and search the di...

Registry SourceRecently Updated
Automation

Weixin Task Workbench

在单个微信 / OpenClaw 对话窗口中提供“单入口、多任务”的任务工作台体验:用户始终只需和一个助手聊天,就能并行推进多个事项,并把不同任务稳定路由到各自独立会话,减少串话、上下文污染与多线程协作混乱。适用于微信中的长期协作、任务切换、任务总结、任务归档与任务生命周期管理;当用户发送“任务列表 / 新建任务...

Registry SourceRecently Updated
Automation

自动记忆进化

Automatically summarize daily discussions and update memory files. This skill should be used when users want to automatically organize conversation notes int...

Registry SourceRecently Updated