Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

clawswarm-consensus爪群共识

Agent Skill

clawswarm-consensus 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,708

周安装

274

GitHub Stars

公开资料未说明

下载量

2,170
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clawswarm-consensus(爪群共识)
来源仓库:https://github.com/alanarchy/clawswarm-consensus
安装命令:
openclaw skills install clawswarm-consensus
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install clawswarm-consensus

简介

clawswarm-consensus 用于多智能体群体预测与结果汇总,适合协作决策场景。

  • 适用于价格、价值或结果预测,通过共识机制提升判断准确性。
  • 通过 clawhub 安装后,按任务需求启动多个代理并行工作。
  • 安装前需评估网络负载和权限设置,注意日志记录与调试支持。
  • 建议核对输出结果,避免直接采信未经复核的聚合数据。

SKILL.md

name
clawswarm
description
Multi-agent swarm prediction with consensus engine. Use when: running multiple AI agents to predict prices, values, or outcomes and aggregating their predictions into a consensus. Supports any LLM provider (Groq, OpenAI, Ollama), configurable agent roles/temperatures, and a statistical consensus pipeline (MAD outlier filtering, adaptive anchoring, bias correction, weighted median aggregation). Triggers: swarm prediction, multi-agent consensus, collective intelligence forecasting, price prediction with multiple agents.

ClawSwarm

Multi-agent collective intelligence framework. Run N agents with different analytical perspectives, aggregate predictions through a statistical consensus engine.

Quick Start

1. Create a config file

target:
  name: "Gold"
  current_price: 5023.1
  unit: "USD/troy oz"
  context: "RSI: 40.8 | MA5: 5084 | MA10: 5120"

agents:
  - role: "Macro analyst focusing on geopolitical risk"
    count: 50
    temperature_range: [0.4, 0.7]
  - role: "Technical RSI/MACD momentum trader"
    count: 30
    temperature_range: [0.45, 0.6]
  - role: "Mean reversion auditor"
    count: 20
    temperature_range: [0.35, 0.55]

api:
  provider: groq
  model: llama-3.3-70b-versatile
  api_key_env: GROQ_API_KEY
  delay_ms: 1200

consensus:
  max_deviation: 0.15

2. Run the swarm

python3 scripts/swarm_runner.py --config swarm.yaml

Output: JSON with final_price, median_price, confidence, bull_ratio, and all individual predictions.

3. Run consensus standalone

Pipe any predictions array to the consensus engine:

echo '{"predictions":[{"price":100.5,"confidence":70},{"price":99.8,"confidence":60}],"anchor_price":100.0}' \
  | python3 scripts/consensus.py

Architecture

Config (YAML/JSON)
  ↓
Swarm Runner (swarm_runner.py)
  ├─ Agent 1 → LLM API → prediction
  ├─ Agent 2 → LLM API → prediction
  ├─ ...
  └─ Agent N → LLM API → prediction
  ↓
Consensus Engine (consensus.py)
  ├─ Bias correction
  ├─ MAD outlier filtering
  ├─ Anchor-distance filtering
  ├─ Multi-method aggregation (weighted 40% + median 35% + trimmed mean 25%)
  ├─ Adaptive anchoring (dispersion → anchor strength)
  └─ Clamping
  ↓
Final consensus prediction + confidence + bull/bear ratio

Key Concepts

Agent diversity: Each agent gets a different role prompt and temperature. More diversity = better consensus.

Consensus engine: Not a simple average. Uses MAD (Median Absolute Deviation) to filter outliers, adaptive anchoring to stabilize results when predictions are dispersed, and multi-method aggregation for robustness.

1 agent or 1000: Works with any count. Single agent bypasses consensus. 5+ agents get full pipeline.

Config Reference

See references/config-reference.md for full field documentation and example configs.

Scripts

ScriptPurpose
scripts/swarm_runner.pyOrchestrate multi-agent predictions
scripts/consensus.pyStandalone consensus engine (pipe JSON in)

Dependencies

  • Python 3.8+
  • numpy (for consensus engine)
  • requests or urllib (for API calls)
  • pyyaml (optional, for YAML configs; JSON always works)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88%
按下载量换算1,910

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills