← 返回
未分类 中文

etcd-manager

Manage etcd key-value store operations (list, get, put, delete) with safety checks and backup mechanisms. Use when: reading/writing configuration, managing d...
Manage etcd key-value store operations (list, get, put, delete) with safety checks and backup mechanisms. Use when: reading/writing configuration, managing d...
fpbear fpbear 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 406
下载
💾 1
安装
1
版本
#latest

概述

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

etcdctl --endpoints="$ENDPOINTS" get "$PREFIX" --prefix --keys-only

Get key and value

etcdctl --endpoints="$ENDPOINTS" get "$KEY"

Put key (with backup)

# Show old value first
etcdctl --endpoints="$ENDPOINTS" get "$KEY" || true
# Write new value
etcdctl --endpoints="$ENDPOINTS" put "$KEY" "$VALUE"

Delete key (with backup)

# 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"

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 07:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,043
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,767
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,957