Please read this entire skill document carefully
references/drive.mdreferences/upload-file.mdreferences/download-file.mdreferences/search-file.mdreferences/multianalysis-file.mdreferences/visual-similar-search.mdreferences/mountapp.mdreferences/image-editing.mdreferences/archive-download.mdreferences/share-link.mdaliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pds-intelligent-workspace
> Step 1: Verify Aliyun CLI version
> ```bash
> aliyun version # requires >= 3.3.16
> ```
> If not installed or version is below 3.3.16, refer to references/cli-installation-guide.md for installation or upgrade.
>
> Step 2: Enable auto plugin installation (after CLI version is satisfied)
> ```bash
> aliyun configure set --auto-plugin-install true
> ```
>
> Step 3: Verify PDS plugin version
> ```bash
> aliyun pds version # requires >= 0.3.1
> ```
> If version is below 0.3.1, run:
> ```bash
> aliyun plugin update
> ```
At the start of the Core Workflow (before any CLI invocation):
[MUST] Enable AI-Mode — AI-mode is required for Agent Skill execution.
Run the following commands before any CLI invocation:
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-pds-intelligent-workspace"
[MUST] Disable AI-Mode at EVERY exit point — Before delivering the final response for ANY reason, always disable AI-mode first. This applies to ALL exit paths: workflow success, workflow failure, error/exception, user cancellation, session end, or any other scenario where no further CLI commands will be executed.
AI-mode is only used for Agent Skill invocation scenarios and MUST NOT remain enabled after the skill stops running.
aliyun configure ai-mode disable
> Prerequisites: Alibaba Cloud credentials must be configured
>
> Security Rules:
> - Forbidden to read, output, or print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is forbidden)
> - Forbidden to ask users to input AK/SK directly in conversation or command line
> - Forbidden to use aliyun configure set to set plaintext credentials
> - Only allowed to use aliyun configure list to check credential status
>
> Check credential configuration:
> ```bash
> aliyun configure list
> ```
>
> Confirm the output shows a valid profile (AK, STS, or OAuth identity).
>
> If no valid configuration exists, stop first.
> 1. Obtain credentials from Alibaba Cloud Console
> 2. Configure credentials outside this session (run aliyun configure in terminal or set environment variables)
> 3. Run aliyun configure list to verify after configuration is complete
Quick Setup (only if prerequisites above are not met):
# Install Aliyun CLI (if not installed)
curl -fsSL --max-time 10 https://aliyuncli.alicdn.com/install.sh | bash
aliyun version # confirm >= 3.3.16
# Enable auto plugin installation
aliyun configure set --auto-plugin-install true
# Install Python dependencies (for multipart upload script)
pip3 install requests
Before executing any PDS operations, you must first configure domain_id, user_id, and authentication type -> read references/config.md
| Reference Document | Path |
|---|---|
| ------------ | ------ |
| CLI Installation Guide | references/cli-installation-guide.md |
| RAM Permission Policies | references/ram-policies.md |
references/search-file.md and strictly follow the documented process to re-execute file search.共 4 个版本