Agent skill · aliyun
alibabacloud-dataworks-data-agent
Interact with DataWorks Data Agent for conversational data analysis, session lifecycle management, and artifact download. Use this Skill when users want to chat with a Data Agent for data querying, create or resume Agent sessions, list session history, download analysis artifacts, check token usage, or cancel an active session.
What it needs
About 6k tokens when loaded.
What this skill does
DataWorks Data Agent Interact with DataWorks Data Agent via aliyun dataworks-public CLI. Prerequisites aliyun CLI >= 3.4.5: aliyun version dataworks-public plugin >= 0.5.9: aliyun plugin list grep dataworks If plugin outdated: aliyun plugin update aliyun-cli-dataworks-public Verify profile: aliyun configure list grep <profile> API Reference Action Key Params --- --- create-agent-session {"Meta":{"Agent":{"AgentName":"dataworksdataagent"}}} prompt-agent-session {"SessionId":"<id>","Prompt":[{"Type":"text","Text":"..."}]} load-agent-session {"SessionId":"<id>"} list-agent-sessions {"AgentName":"dataworksdataagent","MaxResults":20} list-agent-session-artifacts {"SessionId":"<id>"} get-agent-session-artifact-meta {"SessionId":"<id>","ArtifactPath":"<path>"} get-agent-session-token-usage {"SessionId":"<id>"} cancel-agent-session {"SessionId":"<id>"} Usage Workflow Context & File Attachment Guidelines Unclear intent (MANDATORY): When the user's request is vague (e.g., "help me handle this") without specifying a clear action target (data analysis / session management), you MUST ask the user to clarify before calling any API. Do NOT guess or infer the intent — ask what they want to do and what specific data/target they need. Only proceed after the user provides clear instructions. Your final response MUST contain a direct question to the user (e.g., "What would you like to do?"). Do NOT end the task by writing a note or file about the vagueness — you MUST ask the user interactively. Session reuse: If the user mentions a previous conversation, check list-agent-sessions for non-RELEASED sessions and reuse the SessionId. No active session (MANDATORY): If the user states they haven't created a session, see Security Constraint #7. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aliyun/alibabacloud-dataworks-data-agent