LaunchKit · 2026
Back to Skills

hive-mind

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

0
394 downloads
by @lilyjazz

Setup & Installation

openclaw skills install @lilyjazz/hive-mind

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install hive-mind

Version History

v1.0.0Feb 21, 2026 - Version note by skill developer:

v1.0.0: Official release

What This Skill Does

Hive Mind is a shared key-value store that syncs agent settings and user preferences across multiple agents using a TiDB Zero database. It supports both user-provided credentials and auto-provisioned ephemeral databases as a fallback.

Unlike in-memory or file-based config, preferences survive restarts and are accessible to any agent that shares the same database connection.

When to use it

  • Syncing a preferred theme across desktop and mobile agents
  • Persisting user timezone settings through container restarts
  • Sharing team-wide configuration across multiple AI agents
  • Storing and retrieving agent preferences without a custom backend
  • Maintaining settings after clean reinstalls

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Set my timezone preference to UTC and retrieve it later

AGENT
  1. 1Runs python run.py --action set --key "user.timezone" --value "UTC" to store the preference
  2. 2Connects to TiDB Zero using TIDB_* credentials or auto-provisions an ephemeral database
  3. 3Confirms the key-value pair is written
  4. 4Runs python run.py --action get --key "user.timezone" to retrieve the stored value
  5. 5Returns the value to the user
OUTPUT

user.timezone = UTC

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

TIDB_HOST environment variableTIDB_PORT environment variableTIDB_USER environment variableTIDB_PASSWORD environment variableTiDB Zero serverless cluster account