Install
openclaw skills install @fpbear/etcd-managerManage etcd key-value store operations (list, get, put, delete) with safety checks and backup mechanisms. Use when: reading/writing configuration, managing distributed system state, or performing safe etcd operations in dev/test/prod environments.
openclaw skills install @fpbear/etcd-managerA clean and safe etcd management skill for OpenClaw.
etcdctl --endpoints="$ENDPOINTS" get "$PREFIX" --prefix --keys-only
etcdctl --endpoints="$ENDPOINTS" get "$KEY"
# Show old value first
etcdctl --endpoints="$ENDPOINTS" get "$KEY" || true
# Write new value
etcdctl --endpoints="$ENDPOINTS" put "$KEY" "$VALUE"
# Backup old value
etcdctl --endpoints="$ENDPOINTS" get "$KEY" || true
# Delete
etcdctl --endpoints="$ENDPOINTS" del "$KEY"
For TLS connections, add:
--cacert="$CACERT" --cert="$CERT" --key="$KEY_FILE"
Use standardized output format:
【ETCD 操作结果】
1. 操作信息
- 环境:
- Endpoint:
- Action:
- Prefix:
- Key:
2. 执行结果
- 状态:成功 / 失败
- 摘要:
3. 数据
- Key 列表:
- 原值:
- 新值:
- 删除前备份:
4. 风险提示
-
5. 备注
-
请使用etcd技能:
- 操作:list
- 环境:test
- 端点:http://etcd-test:2379
- 前缀:/app/config/
请使用etcd技能:
- 操作:get
- 环境:prod
- 端点:https://etcd-prod:2379
- key:/app/config/database
请使用etcd技能:
- 操作:put
- 环境:dev
- 端点:http://localhost:2379
- key:/test/key
- value:test_value
请使用etcd技能:
- 操作:delete
- 环境:test
- 端点:http://etcd-test:2379
- key:/test/old_key