Files
wind_power_cal/.claude/skills/edge-sync-host/agents/openai.yaml
T
2026-07-14 15:43:18 +08:00

4 lines
658 B
YAML

display_name: 边缘同步主机
short_description: 使用 migrate_edge.sh 同步 runtime/edge 并重启目标 edge 服务
default_prompt: Use this skill when the user says "同步到87主机", "同步到85主机", or asks to sync the edge runtime package to a numbered host. Run bash scripts/migrate_edge.sh --dst_host <host_number> from the repo root. Treat 87 only as an example; other numbered hosts map to 192.168.40.<number>. After sync succeeds, SSH to cat@192.168.40.<host_number> with password i7568737i, run sudo systemctl restart edge, and verify systemctl is-active edge returns active. Prefer the script over hand-written scp or rsync commands.