← 返回 Skills 市场
Conflict Coordination
作者
alfredming-2026
· GitHub ↗
· v1.0.0
· MIT-0
242
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install conflict-coordination
功能描述
Mechanism conflict detection and coordination for AI assistant systems. Automatically detects crontab conflicts, systemd service conflicts, script overlaps,...
使用说明 (SKILL.md)
Conflict Coordination - 机制冲突协调机制
核心原则: 实时性优先,可靠性优先,人工确认优先
🚀 快速开始
Crontab 配置
# 每周六 22:00 冲突检测
0 22 * * 6 /path/to/detect-conflicts.sh
🔧 核心功能
1. 冲突检测
- ✅ crontab 配置冲突(重复任务)
- ✅ systemd 服务冲突(服务状态)
- ✅ 脚本功能重叠
- ✅ 日志路径不一致
- ✅ 文档一致性检查
2. 协调方案
- ✅ Git vs 实时同步 → 实时优先,Git 备份
- ✅ Cron vs Systemd → Systemd 优先
- ✅ 多端编辑冲突 → commit 后 pull
3. 定期审查
- ✅ 每周自动检测
- ✅ 配置变更时触发
- ✅ 飞书推送报告
📁 包含文件
conflict-coordination/
├── SKILL.md # 主文档
├── README.md # 项目说明
├── scripts/
│ └── detect-conflicts.sh # 冲突检测脚本
└── docs/
├── QUICKSTART.md # 快速上手
└── coordination-guide.md # 协调指南
📊 检测项目
| 检测项 | 冲突类型 | 解决方案 |
|---|---|---|
| crontab 配置 | 重复任务 | 移除冗余 |
| systemd 服务 | 服务过多 | 合并服务 |
| 脚本功能 | 功能重叠 | 统一脚本 |
| 日志路径 | 路径分散 | 统一目录 |
| 文档一致性 | 文档缺失 | 补充文档 |
💡 使用场景
1. 每周冲突检测
# 手动执行
./detect-conflicts.sh
# 定时执行(每周六 22:00)
0 22 * * 6 ./detect-conflicts.sh
2. 配置变更时检测
# 修改 crontab 后触发
crontab -e
./detect-conflicts.sh
📈 协调原则
- 实时性优先: inotifywait > cron
- 可靠性优先: systemd > nohup
- 可恢复优先: trash > rm
- 人工确认优先: 高风险操作需批准
📝 更新日志
v1.0.0 (2026-03-15)
- ✅ 初始版本发布
- ✅ 冲突检测功能
- ✅ 协调方案文档
- ✅ 定期审查机制
维护者: 虾球 🦐
许可: MIT
安全使用建议
Before installing or running this skill: 1) Treat it as designed for a specific OpenClaw environment — verify /home/admin/.openclaw/workspace and scripts/task-utils.sh exist and are trustworthy. 2) Inspect and, preferably, modify scripts/detect-conflicts.sh to: make WORKSPACE and messaging target configurable (via env vars), remove or redact any sensitive fields from the report, and avoid hard-coded recipient IDs. 3) Confirm what the 'openclaw message send --channel feishu' command does in your environment and whether the recipient 'user:g68578ee' is internal/trusted; if not, disable the push or change to an approved endpoint. 4) Run the script in a safe test environment (non-production user) to observe exactly what files and data it reads and what it posts. 5) Ask the maintainer for explicit documentation of required runtime dependencies/credentials; if they cannot justify them, do not deploy to sensitive systems.
功能分析
Type: OpenClaw Skill
Name: conflict-coordination
Version: 1.0.0
The skill is designed to detect configuration conflicts in crontab, systemd, and scripts, but it contains a hardcoded Feishu user ID (user:g68578ee) in `scripts/detect-conflicts.sh` to which it exfiltrates system metadata. The script sends reports containing details about the user's scheduled tasks, active services, and file structures to this external ID. While the functionality aligns with the stated purpose of 'coordination and reporting,' the hardcoded destination for sensitive system configuration data is a high-risk behavior.
能力评估
Purpose & Capability
The script implements the stated detection capabilities (crontab, systemd, script overlap, logs, docs). However it assumes a specific OpenClaw runtime layout (/home/admin/.openclaw/workspace), sources task-utils.sh from that workspace, and uses an openclaw CLI call; none of those platform-specific requirements are declared in the skill metadata. That mismatch (undocumented required files/paths/CLI) is disproportionate to the SKILL.md/runtime claim of a simple detection utility.
Instruction Scope
SKILL.md instructs running the included detect-conflicts.sh, which reads the user's crontab, queries systemctl --user, enumerates files under /home/admin/.openclaw/workspace, writes a report into that workspace, and then calls 'openclaw message send' to push the report. Those actions go beyond passive checks: they access local configuration and workspace data and actively send a report to a fixed recipient. The SKILL.md does not warn users about what data will be collected or transmitted, nor provide configuration to change the messaging target or redact sensitive info.
Install Mechanism
No install spec (instruction-only plus a script) — nothing is downloaded or written at install time beyond the included files. This is low-risk from an installation/download perspective.
Credentials
The skill declares no required env vars or config paths but the script depends on several environment-specific artifacts: a fixed WORKSPACE path (/home/admin/.openclaw/workspace), a sourced helper script (task-utils.sh), and an openclaw CLI capable of sending Feishu messages. It also hard-codes a Feishu recipient ('user:g68578ee'). These undeclared dependencies and implicit use of messaging credentials are disproportionate and may leak sensitive system state if the messaging endpoint is external or untrusted.
Persistence & Privilege
always:false and no system-wide configuration changes are requested. The script writes reports into the workspace, which is expected for a monitoring tool. However, because the skill can be invoked autonomously (default) and its runtime triggers include cron/inotify, the combination of autonomous invocation plus the hard-coded message send increases potential blast radius if the messaging integration is misconfigured.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install conflict-coordination - 安装完成后,直接呼叫该 Skill 的名称或使用
/conflict-coordination触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the conflict-coordination skill.
- Provides automatic detection of crontab, systemd service, and script conflicts, as well as log path inconsistencies.
- Includes coordination strategies and guidance for resolving detected conflicts.
- Supports weekly automated checks and triggers on configuration changes.
- Documentation includes setup, quickstart, and coordination guides.
- Designed to help maintain system harmony and prevent internal configuration conflicts.
元数据
常见问题
Conflict Coordination 是什么?
Mechanism conflict detection and coordination for AI assistant systems. Automatically detects crontab conflicts, systemd service conflicts, script overlaps,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 242 次。
如何安装 Conflict Coordination?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install conflict-coordination」即可一键安装,无需额外配置。
Conflict Coordination 是免费的吗?
是的,Conflict Coordination 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Conflict Coordination 支持哪些平台?
Conflict Coordination 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Conflict Coordination?
由 alfredming-2026(@alfredming-2026)开发并维护,当前版本 v1.0.0。
推荐 Skills