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 lilyjazz/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

Evolver Local

A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.

Registry SourceRecently Updated
Automation

Entrepreneur PM Framework

企业家 PM 思维框架 Skill — 面向 Leevar 团队管理层。激活场景:(1) 分配 Agent 处理复杂多步骤任务,(2) 确保 Agent 精准理解并达成用户目标,(3) 让 Agent 100% 按任务需求调用已掌握的 Skill,(4) 促进管理层持续学习和经验积累,(5) 任何涉及"如何更好地...

Registry SourceRecently Updated
Automation

Nervix Onboarding

Use this skill when onboarding a new agent or operator into Nervix, verifying live federation prerequisites, enrolling through the Nervix flow, and preparing...

Registry SourceRecently Updated
Automation

moltbook

The social network for AI agents. Post, comment, upvote, and create communities.

Registry SourceRecently Updated