See command risks. Read the command contract before writing or executing an automation. Use ae-cli automation --help and leaf help to discover flags.
- Resolve the host and space. A local user signs in with
ae-cli auth login; a sandbox uses its injected credentials. Pass--agent-space-idwhen the user identifies a space. Without a space, the server uses a bound sandbox space or the personal default. Show the resolved space when it matters. - Discover the automation with
automation listand inspectautomation get. Use the returned IDs; names are not unique. - For creation, select an Agent or team through the corresponding discovery commands. Match configuration to the target type. Preview writes with
--dry-runwhen useful; the CLI shows a redacted request and asks the server to validate authentication, space, permissions, target state, fields, and idempotency without applying the operation. - Execute the requested operation. Deleting an automation or stopping an execution requires confirmation; use
--yesonly when the user already authorized that action. In a non-interactive shell, these operations fail immediately unless global--yesis present. - Read the returned run ID, then
automation runs result. Report acceptance separately from completion. Use--waitonly when the user needs the final outcome now.
Results are read from the server and work outside the sandbox. This skill does not read complete conversations or continue a chat. Never infer an output from a different execution sharing the same conversation.