Token导航 LogoToken导航TokenDH.com
运维敏感数据clawhub未标认证来源可访问clear审计通过

alibabacloud-cksync-plan阿里巴巴云 cksync 计划

Agent Skill

alibabacloud-cksync-plan 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,370

周安装

135

GitHub Stars

公开资料未说明

下载量

1,091
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-cksync-plan(阿里巴巴云 cksync 计划)
来源仓库:https://github.com/sdk-team/alibabacloud-cksync-plan
安装命令:
openclaw skills install alibabacloud-cksync-plan
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install alibabacloud-cksync-plan

简介

用于规划 ClickHouse 集群间数据迁移与水平扩展方案。

  • 适合跨集群迁移、扩容或架构调整场景下的部署指导。
  • 自动分析源与目标集群差异,输出兼容性检查与迁移步骤。
  • 安装命令:openclaw skills install alibabacloud-cksync-plan。
  • 需确认目标集群版本兼容性及网络连通性,谨慎执行变更操作。

SKILL.md

name
alibabacloud-cksync-plan
description
ClickHouse cluster migration planner. Use when planning data migration between ClickHouse clusters, including cross-cluster migrations, horizontal scaling, disk downgrade, availability zone changes, or migrating from self-built/non-Alibaba Cloud ClickHouse to Alibaba Cloud ClickHouse (Community or Enterprise Edition). Helps analyze migration conditions, select appropriate migration methods, and generate detailed migration plans.

ClickHouse Sync Plan (cksync-plan)

A skill for planning ClickHouse cluster data migration solutions, including migration plans, risks, and considerations.

When to Use

  • Data migration between different ClickHouse clusters
  • Horizontal scaling (adding/removing nodes) for ClickHouse clusters
  • Disk downgrade operations
  • Cross-availability zone migrations
  • Upgrading to multi-replica, multi-AZ deployments

Workflow

Step 1: Gather Source Cluster Information

Ask user for source cluster type:

  • Self-built ClickHouse or non-Alibaba Cloud ClickHouse
  • Alibaba Cloud ClickHouse Community Edition
  • Alibaba Cloud ClickHouse Enterprise Edition

Ask user for source cluster version (e.g., 20.8, 22.8, 23.8, 24.3):

  • Version affects migration method compatibility
  • BACKUP/RESTORE requires ≥22.8
  • Incremental cksync migration requires target ≥20.8

Step 2: Gather Target Cluster Information

Ask user for target cluster type:

  • Alibaba Cloud ClickHouse Community Edition
  • Alibaba Cloud ClickHouse Enterprise Edition
  • To be determined

Step 3: Collect Cluster Details (REQUIRED)

This step is mandatory. You MUST collect database and table information before proceeding to migration plan selection.

Required Information

  1. Database list with engines
  2. Table list with engines, partition counts, data sizes, and write speeds

Option A: User Executes SQL

Provide SQL queries from references/sql.md section 1 for user to execute:

  1. Database Information - Query system.databases for database names and engines
  2. Table Information - Comprehensive query including table names, engines, engine_full (for TTL), partition counts, data sizes, and write speeds

Key fields to collect:

  • engine_full: Contains TTL clause (e.g., TTL event_time + INTERVAL 7 DAY)
  • part_count: Partition count per table
  • data_bytes: Data size per shard
  • write_speed_bytes_per_sec: Write speed calculated from part_log

For complete SQL queries, see references/sql.md section 1.

Option B: Direct Query via HTTP

Request connection details from user:

  • HOST_NAME: Cluster endpoint (e.g., cc-xxx.clickhouse.rds.aliyuncs.com)
  • HTTP_PORT: HTTP port (default: 8123)
  • USER_NAME: Database username
  • PASSWORD: Database password

Use secure credential handling and HTTP query examples from references/sql.md section 5.

Analysis Checklist

After collecting data, verify:

  • [ ] Required metadata is complete (database engine, table engine, engine_full, partitions, data size, write speed)
  • [ ] Migration compatibility checks are completed using references/plans.md (method-specific conditions)
  • [ ] Version and read-only window constraints are mapped to candidate methods
  • [ ] Risks and mitigations are identified and recorded in the plan

Step 4: Business Requirements

Ask for allowed read-only time:

  • 0 minutes
  • Within 30 minutes
  • Within 1 day
  • Not sure yet

Step 5: Select and Present Migration Plan

Based on gathered information, analyze and recommend from these migration methods:

MethodBest ForMin Read-Only Time
Console (cksync)Most migrations to Alibaba Cloud~10 min
BACKUP/RESTORELarge data, same edition type, version ≥22.8Varies by data size
INSERT FROM REMOTEFlexible control, small-medium data~10 min per batch
Business Double-WriteZero downtime required0
Kafka Double-WriteExisting Kafka pipelines or business writes switched to Kafka0
Big Cluster FederationLarge scale, complex scenarios0

Hard requirement: MUST output a plan, never output empty content.

Even when information is incomplete, you MUST output a provisional migration plan. The provisional plan must include:

  • assumptions used,
  • missing-information checklist,
  • confidence level and key uncertainties,
  • next steps to finalize recommendation after user provides missing inputs.

Migration Methods Overview

1. Console (cksync) Migration

Default choice for most Alibaba Cloud migration scenarios, especially in-place operations. For support boundaries, engine constraints, TTL/write-speed checks, merge risk, and resource prerequisites, see references/plans.md section 1.

2. BACKUP/RESTORE Migration

Suitable for same-edition migrations where full backup/restore workflow is acceptable. For version/edition constraints, supported engines, command patterns, and progress monitoring, see references/plans.md section 2.

3. INSERT FROM REMOTE Migration

Best when fine-grained table/partition/time-range control is needed. For applicability boundaries and operational constraints, see references/plans.md section 3. For SQL templates and detailed steps, see references/sql.md section 2.

4. Business Double-Write

Use when zero downtime is required and application-side dual-write is feasible. For detailed conditions, see references/plans.md section 4.

5. Kafka Double-Write

Use when dual-consumer switchover via Kafka is feasible, including both existing Kafka pipelines and cases where business writes can be switched to Kafka first. For detailed conditions, see references/plans.md section 5.

6. Big Cluster Federation

Advanced option for large/complex migrations with strong business and technical collaboration.

Output Format

Default deliverable: Produce one migration plan only. Structure it using assets/migration-plan-template.md and include the key sections below (cluster facts and commands may appear inline in the plan; that counts as the single deliverable).

Additional files only on request: Do not create separate files for cluster-information documentation, scripts, or SQL unless the customer explicitly asks for them. When they do, use assets/cluster-info-template.md for cluster documentation and place scripts/SQL in clearly named files as requested.

Key sections in the migration plan:

  1. Executive Summary - Method, data size, duration, downtime
  2. Source Cluster Analysis - Databases, tables, compatibility check
  3. Migration Method Selection - Rationale and alternatives
  4. Migration Steps - Pre/execution/post with commands
  5. Risks & Mitigations - With probability and impact
  6. Rollback Plan - Trigger conditions and steps
  7. Timeline - Phase schedule with owners
  8. Reference Links - Documentation URLs

Method Selection Reference

For quick scenario-to-method mapping and method-specific constraints (including in-place migration priority and Enterprise → Enterprise options), see references/plans.md section "Method Selection Priority" and related method sections.

Additional Resources

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.88%
按下载量换算948

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills