← 返回 Skills 市场
Federated Chaos Testing
作者
KingOfZhao
· GitHub ↗
· v1.0.0
· MIT-0
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install federated-chaos-testing
功能描述
Simulate faults in federated learning systems by injecting noise, dropout, data poisoning, and delays to evaluate model robustness and fault tolerance.
使用说明 (SKILL.md)
Federated Chaos Testing
联邦学习 × 混沌工程:验证分布式AI系统在节点故障下的学习质量。
何时使用
- 联邦学习系统的鲁棒性验证
- 评估恶意/故障节点对全局模型的影响
- 设计容错的联邦训练协议
核心认知
1. 联邦系统的故障面与传统系统不同
传统分布式系统的故障是"正确性"问题(数据一致、请求完整)。联邦学习的故障是"质量"问题——某个节点的模型更新是恶意的、低质的、或基于偏斜数据的,全局聚合后导致模型退化。
故障模式分类:
- 静默故障:节点返回看似正常但含微妙偏见的模型更新(最难检测)
- 拜占庭故障:节点返回任意或恶意的模型参数
- 数据偏斜故障:节点的本地数据分布严重偏离全局分布
- 通信故障:模型更新在传输中丢失或损坏
2. 联邦混沌注入策略
- 梯度扰动注入:在随机节点的模型更新中注入噪声,测试聚合算法的鲁棒性
- 节点撤离模拟:训练过程中随机踢出节点,验证全局模型是否退化
- 数据投毒模拟:在部分节点注入有毒数据,测试异常检测机制
- 通信延迟注入:模拟高延迟/丢包环境,测试异步聚合的收敛性
3. 联邦弹性指标
FERI = (基准准确率 - 故障后准确率) / 故障节点比例
FERI越低越好(说明故障节点对全局影响小)
目标: FERI \x3C 0.1(10%故障节点只造成\x3C1%准确率下降)
碰撞来源
federated-learning×chaos-engineering-playbook×chaos-data-pipelineself-healing-database(自愈模式)×byzantine-fault-tolerance概念
安全使用建议
This skill is internally consistent and is a conceptual playbook for testing federated learning robustness, but it is dual-use: the same techniques used for testing can be misused against live or third-party systems. Before installing or using it, ensure you will: 1) run experiments only in isolated/sandboxed test environments (not production), 2) obtain appropriate authorization from system owners and data custodians, 3) add explicit safeguards and rollback procedures, 4) log and audit all injected actions, and 5) prefer an implementation that requires explicit operator confirmation for any destructive or data-modifying steps. If you expect the skill to perform concrete actions, request a version with precise, auditable runbooks or code (and perform a code review) rather than relying on high-level instructions.
功能分析
Type: OpenClaw Skill
Name: federated-chaos-testing
Version: 1.0.0
The skill bundle provides conceptual documentation and strategies for 'Federated Chaos Testing' to evaluate the robustness of distributed AI systems. It contains no executable code, network requests, or malicious instructions, focusing entirely on theoretical failure modes and testing metrics in SKILL.md.
能力评估
Purpose & Capability
Name/description (federated chaos testing) match the SKILL.md content: the document describes fault types, injection strategies (noise, dropout, poisoning, delays) and robustness metrics. Nothing requested or described is unrelated to federated-chaos testing.
Instruction Scope
SKILL.md is high-level guidance (fault taxonomy, injection strategies, a resilience metric) rather than step-by-step commands. It does not instruct reading files, accessing environment variables, or contacting external endpoints. However, the instructions are deliberately open-ended (agent/user must design and execute injections), which grants operational discretion and creates a dual-use risk if used against production or third-party systems; the skill lacks explicit safety/authorization constraints.
Install Mechanism
No install spec or code files are present; this is instruction-only, so nothing will be written to disk or auto-downloaded by installing the skill.
Credentials
The skill declares no required environment variables, credentials, or config paths. There are no mismatched or unexplained credential requests.
Persistence & Privilege
Skill flags are default (always: false, user-invocable: true, model invocation enabled). No elevated persistence or cross-skill/system configuration changes are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install federated-chaos-testing - 安装完成后,直接呼叫该 Skill 的名称或使用
/federated-chaos-testing触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Federated Chaos Testing v1.0.0
- Initial release combining federated learning with chaos engineering concepts.
- Provides guidance on validating robustness of federated systems under node failures.
- Outlines key federated-specific fault types: silent, byzantine, data skew, and communication faults.
- Details chaos injection strategies for federated training, including gradient noise, node drops, data poisoning, and network issues.
- Introduces the Federated Elasticity Robustness Index (FERI) to quantify model quality degradation under failures.
元数据
常见问题
Federated Chaos Testing 是什么?
Simulate faults in federated learning systems by injecting noise, dropout, data poisoning, and delays to evaluate model robustness and fault tolerance. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Federated Chaos Testing?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install federated-chaos-testing」即可一键安装,无需额外配置。
Federated Chaos Testing 是免费的吗?
是的,Federated Chaos Testing 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Federated Chaos Testing 支持哪些平台?
Federated Chaos Testing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Federated Chaos Testing?
由 KingOfZhao(@kingofzhao)开发并维护,当前版本 v1.0.0。
推荐 Skills