Dialogflow CX to CX Agent Studio Migration Skill
/install dialogflow-cx-to-agent-studio-migration
Dialogflow CX → CX Agent Studio Migration
Use this skill when you need to migrate a Dialogflow CX agent into CX Agent Studio (Gemini Enterprise for Customer Engagement / CES). It exports the full CX agent package, enumerates all components (intents, entities, flows, pages, webhooks, route groups, etc.), and creates a CES app + agent that runs the CX agent as a remote Dialogflow agent.
What this does
- Exports the DFCX agent as a JSON package via the v3beta1 REST API.
- Parses & indexes all exported components (agents, intents, entity types, flows, pages, webhooks, transition route groups, test cases, playbooks, etc.).
- Creates a CES app and a CES agent (remote Dialogflow agent) via CES v1beta REST API.
- Sets root agent on the CES app and emits a migration report with component counts and resource names.
Scripts
scripts/migrate.py— end‑to‑end migration + report generation
Usage
python skills/dialogflow-cx-to-studio-migration/scripts/migrate.py \
--dfcx-agent projects/PROJECT/locations/LOCATION/agents/AGENT_ID \
--studio-project PROJECT \
--studio-location LOCATION \
--studio-app-display-name "My CX Studio App" \
--studio-agent-display-name "My CX Agent (Remote DFCX)"
Export only (no CES changes):
python skills/dialogflow-cx-to-studio-migration/scripts/migrate.py \
--dfcx-agent projects/PROJECT/locations/LOCATION/agents/AGENT_ID \
--export-only
Use existing CES app:
python skills/dialogflow-cx-to-studio-migration/scripts/migrate.py \
--dfcx-agent projects/PROJECT/locations/LOCATION/agents/AGENT_ID \
--studio-app projects/PROJECT/locations/LOCATION/apps/APP_ID
Outputs
dfcx_migration_output/dfcx_agent_export.zip— DFCX JSON packagedfcx_migration_output/export/— extracted export folderdfcx_migration_output/migration_report.json— migration report with component counts
Authentication
Use ADC (recommended):
gcloud auth application-default login
Ensure the caller has:
- Dialogflow CX permissions (export/list)
- CES permissions (create app/agent)
Scopes used:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/dialogflowhttps://www.googleapis.com/auth/ces
Notes & Limitations
- The CES agent is created as RemoteDialogflowAgent (official CES support). This preserves all DFCX components without lossy conversion.
- The script indexes all components from the JSON package and writes a report for auditing.
- If you need direct LLM-native agents/tools in CES, plan a follow‑up conversion step.
References (load as needed)
- API links and endpoints: references/api-links.md
- Migration mapping & component coverage: references/mapping.md
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dialogflow-cx-to-agent-studio-migration - 安装完成后,直接呼叫该 Skill 的名称或使用
/dialogflow-cx-to-agent-studio-migration触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Dialogflow CX to CX Agent Studio Migration Skill 是什么?
Migrate Dialogflow CX agents to CX Agent Studio (CES) using official REST/RPC APIs. Exports full CX agent packages, validates components (intents, entities,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 302 次。
如何安装 Dialogflow CX to CX Agent Studio Migration Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dialogflow-cx-to-agent-studio-migration」即可一键安装,无需额外配置。
Dialogflow CX to CX Agent Studio Migration Skill 是免费的吗?
是的,Dialogflow CX to CX Agent Studio Migration Skill 完全免费(开源免费),可自由下载、安装和使用。
Dialogflow CX to CX Agent Studio Migration Skill 支持哪些平台?
Dialogflow CX to CX Agent Studio Migration Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dialogflow CX to CX Agent Studio Migration Skill?
由 Yash Kavaiya(@yash-kavaiya)开发并维护,当前版本 v1.0.0。