OpenClaw OA Operator
Use this skill to operate OA as an observability and self-heal layer for OpenClaw. Focus on stable workflows, explain what the data means, and keep public packaging separate from machine-specific local setup.
Quick Start
- - Inspect the workspace for
config.yaml, self_heal_rules.yaml, scripts/, patches/, pipelines/, and any dashboard override such as dashboard-zh/. - Determine whether the user wants local operations, dashboard refinement, or publishable packaging. Do not switch UI structure without explicit approval once the user picks a preferred layout.
- Prefer the simplest stable path: use upstream OA behavior unless the workspace already carries justified overrides.
- Run the smallest useful verification after each meaningful change: API check, script smoke check, or dashboard screenshot.
- Use
scripts/oa_workspace_smoke_test.sh for a minimal end-to-end workspace check when OA is already configured.
Operate OA Locally
- 1. Confirm the current OA surface.
Use existing workspace scripts first if present, especially wrappers such as
scripts/start_oa_server.sh,
scripts/stop_oa_server.sh, and
scripts/manage_oa_launchd.sh.
- 2. Verify the runtime before editing UI.
Check that
oa collect can populate data and that
oa serve exposes the expected endpoints before diagnosing the dashboard.
- 3. Treat configuration files as policy.
Read
config.yaml for goals, thresholds, OpenClaw path, and agent scope. Read
self_heal_rules.yaml before changing remediation behavior.
- 4. Keep verification concrete.
Validate
/api/health,
/api/goals,
/api/team-health,
/api/traces, and any self-heal endpoints used by the current dashboard.
Interpret Metrics And Self-Heal State
- - Explain G1 and G2 first because they are usually the most stable built-ins: cron reliability and team health.
- Explain custom goals only after confirming their pipelines and metric sources exist in the workspace.
- Distinguish clearly between:
- signal quality issues
- pipeline failures
- dashboard rendering issues
- self-heal policy breaches
- - For self-heal work, preserve the loop:
- detect
- fix
- verify
- learn
- - Before running command-mode fixers, inspect the concrete command template, placeholders, and target paths. Prefer non-destructive fixers and keep fallback ticketing enabled when available.
Refine Dashboards Safely
- - Preserve the user's chosen layout once they say a version is clearer. Improve copy, density, and data mapping before changing structure.
- Prefer upstream OA layout when the user values clarity and comparability to the original repository.
- Use project-level overrides only when there is a clear need for localization, extra tabs, or richer diagnostics.
- After UI edits, verify both desktop and mobile views with real screenshots instead of assuming the layout works.
Package For ClawHub
- - Prefer a
skill when the value is workflow knowledge: install OA, operate it, interpret metrics, and guide self-heal decisions. - Prefer a
plugin when the value is a long-running service, HTTP routes, background workers, or a productized dashboard experience. - Remove machine-specific defaults before public packaging:
- absolute paths
- local ports and launchd labels
- local agent rosters
- user-specific ticket directories
- local backup and artifact paths
- - Package reusable instructions, checklists, and safe defaults. Do not package private workspace snapshots as public examples.
- Read
references/release-readiness.md before preparing a public release. - Read
references/smoke-test.md before claiming the package is publish-ready.
Deliverables
- - For local operations, report what changed, how it was verified, and what remains risky.
- For release preparation, produce:
- a public versus private diff
- a publish-readiness checklist
- proposed listing copy
- a recommendation of
skill versus INLINECODE23
OpenClaw OA 操作器
使用此技能将OA作为OpenClaw的可观测性和自愈层进行操作。专注于稳定工作流,解释数据含义,并将公共打包与特定机器的本地设置分开。
快速开始
- - 检查工作区中的config.yaml、selfhealrules.yaml、scripts/、patches/、pipelines/以及任何仪表盘覆盖文件,例如dashboard-zh/。
- 确定用户是需要本地操作、仪表盘优化,还是可发布的打包。一旦用户选择了偏好的布局,未经明确批准不得切换UI结构。
- 优先选择最简单的稳定路径:除非工作区已包含合理的覆盖配置,否则使用上游OA行为。
- 每次有意义的更改后,运行最小化的有效验证:API检查、脚本冒烟检查或仪表盘截图。
- 当OA已配置时,使用scripts/oaworkspacesmoke_test.sh进行最小化的端到端工作区检查。
本地操作OA
- 1. 确认当前OA表面。
如果存在,优先使用现有工作区脚本,特别是包装脚本,如scripts/start
oaserver.sh、scripts/stop
oaserver.sh和scripts/manage
oalaunchd.sh。
- 2. 在编辑UI之前验证运行时。
在诊断仪表盘之前,检查oa collect能否填充数据,以及oa serve是否暴露了预期的端点。
- 3. 将配置文件视为策略。
读取config.yaml了解目标、阈值、OpenClaw路径和代理范围。在更改修复行为之前,先读取self
healrules.yaml。
- 4. 保持验证具体化。
验证/api/health、/api/goals、/api/team-health、/api/traces以及当前仪表盘使用的任何自愈端点。
解读指标和自愈状态
- - 首先解释G1和G2,因为它们通常是最稳定的内置指标:cron可靠性和团队健康。
- 只有在确认自定义目标的工作区中存在其流水线和指标源后,才解释自定义目标。
- 清晰区分以下内容:
- 信号质量问题
- 流水线故障
- 仪表盘渲染问题
- 自愈策略违规
- 检测
- 修复
- 验证
- 学习
- - 在运行命令模式修复器之前,检查具体的命令模板、占位符和目标路径。优先选择非破坏性修复器,并在可用时保持回退工单功能启用。
安全优化仪表盘
- - 一旦用户确认某个版本更清晰,保留其选择的布局。在更改结构之前,先改进文案、密度和数据映射。
- 当用户重视清晰度和与原始仓库的可比性时,优先使用上游OA布局。
- 仅在明确需要本地化、额外标签页或更丰富的诊断时,才使用项目级覆盖。
- UI编辑后,使用真实截图验证桌面和移动视图,而不是假设布局有效。
为ClawHub打包
- - 当价值在于工作流知识时,优先选择skill:安装OA、操作OA、解读指标以及指导自愈决策。
- 当价值在于长期运行的服务、HTTP路由、后台工作进程或产品化的仪表盘体验时,优先选择plugin。
- 在公共打包前移除特定机器的默认配置:
- 绝对路径
- 本地端口和launchd标签
- 本地代理名单
- 用户特定的工单目录
- 本地备份和工件路径
- - 打包可复用的说明、检查清单和安全默认值。不要将私有工作区快照作为公共示例打包。
- 在准备公开发布前,阅读references/release-readiness.md。
- 在声明包可发布前,阅读references/smoke-test.md。
交付物
- - 对于本地操作,报告更改内容、验证方式以及仍存在的风险。
- 对于发布准备,生成:
- 公共与私有的差异对比
- 发布就绪检查清单
- 建议的列表文案
- skill与plugin的推荐建议