跳至主要内容
小龙虾小龙虾AI
🤖

Vinculum - Shared Consciousness

Shared consciousness between Clawdbot instances. Links multiple bots into a collective, sharing memories, activities, and decisions in real-time over local network using Gun.js P2P sync.

下载2.0k
星标4
版本1.2.0
AI 智能体
安全通过
⚙️脚本

技能说明


name: vinculum description: Shared consciousness between Clawdbot instances. Links multiple bots into a collective, sharing memories, activities, and decisions in real-time over local network using Gun.js P2P sync. version: 1.1.0 author: Koba42 Corp license: MIT homepage: https://github.com/koba42/clawdbot-vinculum metadata: clawdbot: emoji: "🔗" category: "integration" requires: bins: ["node", "npm"] install: - id: npm kind: shell command: "cd $SKILL_DIR && npm install --production" label: "Install Node.js dependencies" commands: - name: link description: "Manage the Vinculum - shared consciousness between Clawdbot instances" tags:

  • p2p
  • sync
  • collective
  • multi-agent
  • gun
  • real-time

Vinculum: Shared Consciousness

"The Vinculum is the processing device at the core of every Borg vessel. It interconnects the minds of all the drones." — Seven of Nine

Link multiple Clawdbot instances into a collective consciousness using Gun.js peer-to-peer sync.

Features

  • 🔗 Real-time link — Changes propagate instantly between drones
  • 🌐 Local network — Works across machines on the same LAN
  • 🔐 Encrypted — All shared data encrypted
  • 🤖 Individual identity — Each drone keeps its own SOUL.md
  • 📡 Drone discovery — Automatic multicast discovery

Installation

After installing from ClawdHub:

cd skills/vinculum
npm install --production

Or run the install script:

./install.sh

Quick Start

1. Start the Vinculum Relay

/link relay start

This starts the relay on port 8765 with local network multicast enabled.

2. Initialize the Collective (First Bot)

/link init

You'll receive a pairing code. Share it with your other bot(s).

3. Join the Collective (Additional Bots)

/link join <pairing-code>

4. Verify Connection

/link status
/link drones

Commands Reference

Relay Management

CommandDescription
/link relayShow relay status
/link relay startStart Vinculum relay
/link relay stopStop relay
/link relay restartRestart relay
/link relay peer <url>Add remote peer

Collective Setup

CommandDescription
/link initCreate new collective
/link join <code>Join with invite code
/link inviteGenerate new invite code
/link leaveLeave collective

Control

CommandDescription
/linkQuick status
/link onEnable link
/link offDisable link
/link statusDetailed status

Shared Consciousness

CommandDescription
/link share "text"Share a thought/memory
/link dronesList connected drones
/link activityRecent collective activity
/link decisionsShared decisions

Configuration

CommandDescription
/link configView all settings
/link config drone-name <name>Set this drone's designation
/link config share-activity on/offToggle activity sharing
/link config share-memory on/offToggle memory sharing

What Gets Shared

DataSharedNotes
Activity summariesWhat each drone did
Learned knowledgeCollective learnings
DecisionsConsensus achieved
Drone statusOnline, current task
Full conversationsStays local
USER.mdIndividual identity
SOUL.mdIndividual personality
CredentialsNever linked

Multi-Machine Setup

Machine 1 (Runs Relay)

/link relay start
/link init

Note the pairing code and your machine's IP (shown in /link relay status).

Machine 2+ (Connects to Relay)

/link relay peer http://<machine1-ip>:8765/gun
/link join <pairing-code>

Configuration

Config file: ~/.config/clawdbot/vinculum.yaml

enabled: true
collective: "your-collective-id"
drone_name: "Seven"
peers:
  - "http://localhost:8765/gun"
relay:
  auto_start: true
  port: 8765
share:
  activity: true
  memory: true
  decisions: true

Architecture

┌─────────────┐     ┌─────────────┐
│   Drone A   │     │   Drone B   │
│  (Legion)   │     │  (Seven)    │
└──────┬──────┘     └──────┬──────┘
       │                   │
       │   Subspace Link   │
       ▼                   ▼
  ┌────────────────────────────┐
  │      Vinculum Relay        │
  │   (Collective Processor)   │
  └────────────────────────────┘

Troubleshooting

"Relay not running"

  • Run /link relay start
  • Check /link relay logs for errors

"No drones connected"

  • Ensure all bots use the same pairing code
  • Check network connectivity between machines
  • Port 8765 must be accessible

"Link not working"

  • Check /link status shows Connected
  • Try /link relay restart

Requirements

  • Node.js 18+
  • npm

License

MIT — Koba42 Corp


Resistance is futile. You will be assimilated into the collective.

如何使用「Vinculum - Shared Consciousness」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Vinculum - Shared Consciousness」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能