跳到正文
TakoAPI
返回技能列表

hive-mind

由 lilyjazz 提供

Browser & Automation
394下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Runs python run.py --action set --key "user.timezone" --value "UTC" to store the preference

  2. 2

    Connects to TiDB Zero using TIDB_* credentials or auto-provisions an ephemeral database

  3. 3

    Confirms the key-value pair is written

  4. 4

    Runs python run.py --action get --key "user.timezone" to retrieve the stored value

  5. 5

    Returns the value to the user

输出

user.timezone = UTC

前置要求

  • TIDB_HOST environment variable
  • TIDB_PORT environment variable
  • TIDB_USER environment variable
  • TIDB_PASSWORD environment variable
  • TiDB Zero serverless cluster account

安装

clawhub install lilyjazz/hive-mind

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接