Dialogflow CX to CES Migration — Dialogflow CX 到 CES 迁移 — 全面生产级迁移工具
v1.0.0该工具实现了 Dialogflow CX 代理(v3beta1)到 Google Customer Engagement Suite (CES) 对话代理的全面生产级迁移,支持流到子代理、意图到路由提示、实体类型、Webhook 到工具以及测试案例到金标准评估 CSV 的迁移。
0· 69·0 当前·0 累计
安全扫描
OpenClaw
安全
high confidence该技能的要求、指令和代码与 Dialogflow CX 到 CES 迁移工具一致,需要 GCP 凭据,并将代理工件(包括 Webhook 端点)导出到磁盘,这是预期的行为。
评估建议
在运行该工具之前:(1) 在安全上下文中使用 gcloud application-default login 进行身份验证;(2) 先运行 --dry-run 预览输出;(3) 导出的文件包括 Webhook 端点和完整的代理配置——将 migration_output视为敏感信息,不要公开分享;(4) 迁移后在 CES 中重新配置 Webhook 认证(OAuth/mTLS),因为凭据不会被迁移。...详细分析 ▾
✓ 用途与能力
Name/description match the included code and outputs. The code uses the Dialogflow CX client libraries to list agents, flows, pages, intents, entity types, webhooks and test cases and produces CES-formatted JSON/CSV reports. Requiring Python, the google-cloud-dialogflow-cx libraries, and gcloud (for ADC auth) is proportionate.
ℹ 指令范围
SKILL.md instructs running migrate.py with a GCP project and agent ID and to authenticate via gcloud application-default login — which matches the code's use of google.auth.default(). The tool writes full agent exports to disk (ces_agent.json, entity_types.json, golden_evals.csv, migration_report.md) and will therefore surface webhook URIs and other agent configuration; this is expected for a migration but may disclose sensitive endpoints/config to whoever has access to the output directory.
✓ 安装机制
No install spec or network downloads are present. The skill bundles Python source files and migration output artifacts; runtime dependencies are standard Python packages (declared in SKILL.md) and no external arbitrary downloads or extraction steps occur.
✓ 凭证需求
The tool requires Google application-default credentials (gcloud ADC), which is appropriate for reading Dialogflow CX resources. It does not request unrelated credentials or extra environment variables. There are no hidden env-var accesses in the code review.
✓ 持久化与权限
The skill is not always-enabled and does not request persistent platform privileges or modify other skills. It runs as a one-off migration tool using provided GCP credentials; that level of access is appropriate for its purpose.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/3/30
完整生产迁移 v1.0:流到子代理,意图,实体类型,Webhook 到工具,测试案例到金标准评估 CSV。重试逻辑,dry-run 模式,6 个评估二进制套件,100% 通过率。
● 无害
安装命令 点击复制
官方npx clawhub@latest install dialogflow-cx-to-ces-migration
镜像加速npx clawhub@latest install dialogflow-cx-to-ces-migration --registry https://cn.clawhub-mirror.com
技能文档
该技能的作用
迁移 Dialogflow CX v3beta1 代理到 Google Customer Engagement Suite (CES) 对话代理 格式,产生以下输出文件:| 输出文件 | 内容 |
|---|---|
ces_agent.json | CES 代理定义(可通过控制台或 REST API 导入) |
golden_evals.csv | CES 批量评估 CSV(金标准测试案例) |
entity_types.json | 实体类型定义(用于手动重建) |
migration_report.md | 完整迁移摘要及下一步骤 |
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制