Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

hive-mind

bởi lilyjazz

Browser & Automation
394Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

user.timezone = UTC

Yêu cầu

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

Cài đặt

clawhub install lilyjazz/hive-mind

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết