返回顶部
e

etcd

Manage 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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
84
下载量
1
收藏
概述
安装方式
版本历史

etcd

# etcd Skill A clean and safe etcd management skill for OpenClaw. ## Safety Rules 1. **Read-first**: Always prefer read operations (list, get) over write operations 2. **Backup before modification**: Always show old value before put/delete 3. **Production protection**: Be extra cautious with prod environments 4. **Explicit confirmation**: Require clear user intent for destructive operations ## Command Conventions ### List keys by prefix ```bash etcdctl --endpoints="$ENDPOINTS" get "$PREFIX" --prefix --keys-only ``` ### Get key and value ```bash etcdctl --endpoints="$ENDPOINTS" get "$KEY" ``` ### Put key (with backup) ```bash # Show old value first etcdctl --endpoints="$ENDPOINTS" get "$KEY" || true # Write new value etcdctl --endpoints="$ENDPOINTS" put "$KEY" "$VALUE" ``` ### Delete key (with backup) ```bash # Backup old value etcdctl --endpoints="$ENDPOINTS" get "$KEY" || true # Delete etcdctl --endpoints="$ENDPOINTS" del "$KEY" ``` For TLS connections, add: ```bash --cacert="$CACERT" --cert="$CERT" --key="$KEY_FILE" ``` ## Workflow 1. **Environment identification**: Determine if this is dev/test/prod 2. **Safety check**: Verify operation safety based on environment 3. **Backup**: For write operations, show current state 4. **Execution**: Perform the requested operation 5. **Verification**: Confirm the operation succeeded ## Output Format Use standardized output format: ``` 【ETCD 操作结果】 1. 操作信息 - 环境: - Endpoint: - Action: - Prefix: - Key: 2. 执行结果 - 状态:成功 / 失败 - 摘要: 3. 数据 - Key 列表: - 原值: - 新值: - 删除前备份: 4. 风险提示 - 5. 备注 - ``` ## Examples ### List keys ``` 请使用etcd技能: - 操作:list - 环境:test - 端点:http://etcd-test:2379 - 前缀:/app/config/ ``` ### Get value ``` 请使用etcd技能: - 操作:get - 环境:prod - 端点:https://etcd-prod:2379 - key:/app/config/database ``` ### Put value ``` 请使用etcd技能: - 操作:put - 环境:dev - 端点:http://localhost:2379 - key:/test/key - value:test_value ``` ### Delete key ``` 请使用etcd技能: - 操作:delete - 环境:test - 端点:http://etcd-test:2379 - key:/test/old_key ``` ## Notes - Always use etcdctl version 3.6.1 or higher - For production environments, consider using TLS - The skill includes built-in backup mechanisms - Operations are logged for audit purposes

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 etcd-manager-1776052324 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 etcd-manager-1776052324 技能

通过命令行安装

skillhub install etcd-manager-1776052324

下载 Zip 包

⬇ 下载 etcd v1.0.0

文件大小: 11.71 KB | 发布时间: 2026-4-14 10:18

v1.0.0 最新 2026-4-14 10:18
Initial release of the etcd-manager skill:

- Provides clean and safe management for etcd key-value store operations: list, get, put, and delete.
- Enforces safety rules with read-first preference, backups before modification, and explicit confirmation for destructive actions.
- Distinguishes between dev, test, and prod environments, applying extra caution in production.
- Standardizes command conventions and output formats to ensure clear, auditable interactions.
- Supports TLS connections and logging for added security and traceability.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部