ae-dataops
CRITICAL - This skill is self-contained. Use the Global AE CLI Rules below; do not require a separate shared skill for DataOps-side tasks.
The AE Data Development and Operations domain provides capabilities for data warehouse management, flow orchestration, IDE SQL queries, data integration, operations and backfill management, including the following subcommands:
| Subcommand | Responsibility | Corresponding Scenario Skill |
|---|
| Space discovery | — |
| Data table and view management | |
| Flow creation, node deletion, and orchestration | |
| Flow execution and monitoring | |
| Operations instance search, details, and task logs | |
| Data exploration and SQL queries | |
| Datasource and data integration | |
Global AE CLI Rules
AE CLI (
) is the command-line tool for the AE / TE / ThinkingEngine analysis platform. For AE analysis-side requests, prefer
and this skill's reference docs over model memory.
Global parameters:
| Parameter | Description |
|---|
| Output format. Default is JSON. |
| jq filter expression for JSON output. |
| Override the active AE host. Available on every command and may be placed after the subcommand, e.g. ae-cli dataops_ide +<command> --host <url>
. |
Output and errors:
- Successful commands return machine-readable JSON by default. Envelope may include optional .
- Failed commands return
{ "ok": false, "error": { "type": "...", "message": "...", "hint": "..." } }
and exit non-zero.
- CRITICAL — Host compat (do this first): After each run, check stderr and . If either is present, open the user reply with a short ⚠️ version warning and quote the / (or update-cluster) lines verbatim, then present the business result. Soft tip; can still carry the notice.
Safety constraints:
- Read commands can execute directly after required IDs and references are verified.
- Ordinary commands execute without ; use only for a command after explicit user confirmation.
- Never invent command names, flags, JSON payloads, , resource IDs, field names, event names, property names, metric definitions, or date formats. Read the matching command reference and discover real project metadata first.
- NEVER fabricate or guess resource names (reports, dashboards, events, properties, metrics, clusters, tags, alerts). Always use list commands to discover real resources first. If a resource is not found after fuzzy search and full list fallback, explicitly tell the user "resource not found" and stop - do not proceed with fabricated names.
Domains for DataOps:
,
,
,
,
,
Core Concepts and Rules
You must understand the following key concepts before use, otherwise errors are highly likely.
ID System
| ID | Source | Usage Scope |
|---|
| executeId | Returned by dataops_flow +execute_flow
| Early stop handle before the scheduler is available |
| flowInstanceId | Returned by dataops_operations +search_flow_instances
| Operations perspective instance inspection and stop |
Environment and Defaults
| Scenario | Default Environment | Description |
|---|
| Most flow/ide/datatable commands | | Development environment |
dataops_operations +search_flow_instances
| Operations instance search | Filter by keyword, execution date, status, and paging |
dataops_operations +get_flow_instance_detail
| Instance detail | Inspect one instance DAG and task statuses |
dataops_operations +get_task_instance_detail
| Task detail/logs | Inspect one task and include logs only when needed |
dataops_operations +stop_flow_instance
| Instance stop | Stop by exactly one of or |
Schema Naming Rules
- DEV environment:
- PROD environment:
Responsibility Boundaries
| Operation | Correct Tool | Prohibited |
|---|
| Execute SELECT queries | | — |
| Create/modify/delete data tables (DDL) | | |
Flow Lifecycle
Create DEV Flow → Create/Update DEV SQL, Integration, Workflow Instance Check, or Task Instance Check Tasks → Configure Dependencies/Schedule → Preview Release → Release to PROD → PROD Manual Execution / Operations Troubleshooting
CRON Format (6 fields)
second minute hour day month weekday
— Note: one more "second" field than standard 5-field format.
- — Daily at 2 AM
- — Every 4 hours
- — Weekdays at 8:30
Preset Repository vs Non-Preset Repository
- Preset Repository (te_etl): is , database field is empty, requires
- Non-Preset Repository: is specific datasource ID, database field is required
Scenario Routing
Choose the appropriate scenario skill based on user intent to get complete step-by-step workflow guidance.
| User Intent | Trigger Skill | Keywords |
|---|
| Create flow, add or delete nodes, configure schedule, release | | create flow, new workflow, configure schedule, add task node, delete task node, release, cron, scheduled execution |
| View execution status, troubleshoot failures, view logs | | execute flow, running instance, monitor, logs, stop, DAG, troubleshoot |
| Search operation instances across a space | | operations instance, flow instance search, status statistics, owner statistics |
| Create datasource, configure sync solution, execute sync | | datasource, sync, integration, field mapping, data ingestion, MySQL, ClickHouse, DatabricksJdbc |
| Browse metadata, search tables, execute SQL queries | | query, SQL, data exploration, search tables, view table structure, IDE, catalog, select |
| Create tables and views | | create table, table creation, view, data dictionary, table details, DDL |
1. Space Discovery
exposes only one read command. Use it to discover a valid
before calling DataOps commands that require one. It returns
,
, and
.
- If the user already provided a trusted , reuse it.
- If is unknown, run first.
- If exactly one space is returned, use its .
- If multiple spaces are returned and the user intent does not identify one, ask the user which space to use. Do not guess.
bash
# List spaces accessible to the current user
ae-cli dataops_repo +list_spaces
2. Data Table and View Management
Detailed workflow, command flags, examples, and parameter notes live in
references/dataops-table.md
.
Key constraints:
- Start with
dataops_datatable +dict_search_tables
for visible DataOps catalog discovery.
- Use
dataops_ide +search_tables
only for raw engine metadata, and dataops_ide +ide_list_tables
only for known catalog/schema browsing.
- Create tables/views with , not ; creation is DEV-only and must be published with .
- DDL follows Trino syntax; current-space view DDL should keep the literal placeholder.
3. Flow Orchestration
Flow orchestration is divided into two scenario skills: creation and configuration and execution and monitoring.
Lifecycle: DEV configuration and preview → Release to PROD → PROD manual execution and operations troubleshooting
Detailed creation/configuration commands live in
references/dataops-flow-create.md
. Detailed execution, monitoring, operation instance, task log, and stop commands live in
references/dataops-flow-monitor.md
.
Key constraints:
- Create and update tasks in DEV, preview/release before PROD execution.
- Treat as high-risk: verify the target with , preview with , and use only after explicit user confirmation. Deletion affects DEV; release the flow to apply it to PROD.
- always runs PROD; it returns for early stop.
- Prefer from operations search for stable inspection and troubleshooting.
- Reference workspace parameters in task SQL as .
4. IDE SQL Queries
Detailed metadata browsing, SQL query, async download, and cancel workflows live in
references/dataops-query.md
.
Key constraints:
- IDE is query-only; create/modify/delete tables with .
- Prefer
dataops_datatable +dict_search_tables
for table discovery unless raw engine metadata or schema browsing is required.
- SQL query submission creates a download task; rows are not returned inline.
5. Data Integration
Detailed datasource, metadata browsing, sync solution, execution, and monitoring workflows live in
references/dataops-integration.md
.
Key constraints:
- Generate , , , and from the reference templates; do not invent keys.
- MySQL Source read partitioning uses ;
fieldsMapping.shardingKey
is column metadata and must not be used for it.
- is not a partial patch: call
+get_sync_detail --withParams true
first, then submit complete configs. is accepted for compatibility but ignored.
- Preset repository sync uses and requires gateway configuration.
- Use to get before stopping a running sync.
Reference Documentation
For detailed command flags and usage, please refer to the command documentation in the
directory.