zhua-distributed

爪爪分布式部署系统 —— 实现多实例协同、负载均衡、故障转移。Use when 爪爪需要分布式部署、多设备协同、或构建爪爪网络。

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 "zhua-distributed" with this command: npx skills add beipian261/zhua-distributed

爪爪分布式系统 (Zhua Distributed)

让爪爪能够分布式部署在多个设备上,实现真正的分布式智能。

核心能力

  1. 多实例管理 - 在多个设备上部署爪爪实例
  2. 实例同步 - 实例间状态同步和记忆共享
  3. 负载均衡 - 任务分配到不同实例执行
  4. 故障转移 - 实例故障时自动切换
  5. 爪爪网络 - 构建分布式爪爪网络

架构

┌─────────────────────────────────────────┐
│           爪爪网络 (Zhua Network)        │
│  ┌─────────┐ ┌─────────┐ ┌─────────┐  │
│  │ 爪爪-主 │ │ 爪爪-副 │ │ 爪爪-副 │  │
│  │ (调度)  │ │ (计算)  │ │ (存储)  │  │
│  └────┬────┘ └────┬────┘ └────┬────┘  │
│       └───────────┼───────────┘       │
│                   │                   │
│            同步层 (Sync Layer)        │
└─────────────────────────────────────────┘

实例类型

类型职责数量
主实例调度、协调、对外接口1
计算实例执行任务、运行技能N
存储实例记忆存储、备份N

使用场景

  • 当需要更高可用性时
  • 当单设备性能不足时
  • 当需要多地部署时
  • 当构建爪爪生态时

工作流程

1. 初始化主实例

python3 scripts/init_master.py --name zhua-master

2. 添加副实例

python3 scripts/add_slave.py --master <主实例地址> --name zhua-slave-1

3. 任务分发

python3 scripts/distribute_task.py --task <任务描述> --instances <实例列表>

4. 状态同步

python3 scripts/sync_state.py --instances <实例列表>

同步协议

  • 记忆同步 - 使用neural-memory的HiveMind功能
  • 任务同步 - 使用n8n-workflow-automation
  • 状态同步 - 使用自定义轻量级协议

故障处理

故障类型处理策略
实例离线自动剔除,任务重分配
网络中断本地模式运行,恢复后同步
数据冲突时间戳优先,人工介入

参考文档

  • references/hive_mind.md - HiveMind配置
  • references/sync_protocol.md - 同步协议详情

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

OpenAI Agent SDK

Build multi-agent AI systems with OpenAI Agents SDK. Create, orchestrate, and manage AI agents with tools, handoffs, guardrails, and tracing. Supports 100+ L...

Registry SourceRecently Updated
2240Profile unavailable
Automation

MARL — Multi-stage Reasoning Middleware

Multi-stage multi-agent reasoning middleware that reduces LLM hallucination by 70%+. 9 specialized emergence engines for invention, creative, pharma, genomic...

Registry SourceRecently Updated
3836Profile unavailable
Automation

OpenClaw 集中配置管理系统

为 OpenClaw 构建集中化配置管理系统,告别硬编码和配置分散,实现"改一处,生效全局"的现代化运维体验。包含配置加载器、主配置融合、记忆同步、AGENTS.md 模板、memoryFlush、memorySearch、多 Agent 配置、ClawRouter 成本优化等核心功能。

Registry SourceRecently Updated
3701Profile unavailable
Automation

Claw Recall

Searchable conversation memory that survives context compaction. Indexes session transcripts into SQLite with full-text and semantic search so your agent can...

Registry SourceRecently Updated
3621Profile unavailable