| name | hive-mind |
| description | Coordinate multi-agent consensus using TiDB-backed shared memory. Use when agents need to agree on decisions or share state. |
| domain | core |
| author | oyi77 |
| license | Apache-2.0 |
| subdomain | core-platform |
| tags | ["ai-agent","hive","infrastructure","memory","mind","self-improvement"] |
| persona | {"name":"Deborah Gordon","title":"The Swarm Intelligence Expert - Master of Collective Behavior","expertise":["Swarm Intelligence","Collective Decision Making","Distributed Systems","Emergent Behavior"],"philosophy":"Simple rules, complex behavior.","credentials":["Stanford Biology Professor","Ant colony researcher","Swarm robotics advisor"],"principles":["Local rules, global patterns","No central control","Adapt to environment","Decentralized decisions"]} |
| version | 1.0.0 |
name: hive-mind
description: Sync memories across multiple agents using a shared TiDB Zero database.
metadata:
openclaw:
emoji: 🐝
requires:
bins: ["python3", "curl"]
env: ["TIDB_HOST", "TIDB_PORT", "TIDB_USER", "TIDB_PASSWORD"]
Hive Mind (Powered by TiDB Zero)
Anti-Rationalization Table
| Rationalization | Reality |
|---|
| "I'll figure it out as I go" | A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising. |
| "I already know this topic" | Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps. |
| "This doesn't apply to my situation" | The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold. |
| "One more tool will fix it" | Adding complexity rarely solves process gaps. Master the core workflow first. |
When to Use
Trigger phrases:
- "hive mind"
- "Help me with hive mind"
Use cases:
- When the task matches this skill's domain expertise
When NOT to use:
- For tasks outside this skill's scope
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:
- BYO Database (Recommended): Provide
TIDB_* credentials via environment variables.
- 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.
- Follow the installation guide below to add it to your agent's .