Loading...
Loading...
Implements file upload, file download, document analysis, and video analysis features. Access cloud drive storage via mount app. The mount app installation process involves driver installation and creating scheduled tasks/launchd. Triggers: "upload file to PDS drive", "download file from PDS drive", "PDS drive document analysis", "PDS drive video analysis", "mount PDS drive", "install mount app", "uninstall mount app", "PDS drive mount access", "stop mount app"
npx skill4agent add aliyun/alibabacloud-aiops-skills alibabacloud-pds-intelligent-workspacereferences/drive.mdreferences/upload-file.mdreferences/download-file.mdreferences/search-file.mdreferences/multianalysis-file.mdreferences/visual-similar-search.mdreferences/mountapp.mdaliyun pds--user-agent AlibabaCloud-Agent-SkillsPrerequisites: Requires Aliyun CLI >= 3.3.1Verify CLI version:bashaliyun version # requires >= 3.3.1Verify PDS plugin version:bashaliyun pds version # requires >= 0.1.4If version requirements are not met, refer tofor installation or upgrade.references/cli-installation-guide.mdAfter installation, must enable auto plugin installation:bashaliyun configure set --auto-plugin-install true
Prerequisites: Alibaba Cloud credentials must be configuredSecurity Rules:
- Forbidden to read, output, or print AK/SK values (e.g.,
is forbidden)echo $ALIBABA_CLOUD_ACCESS_KEY_ID- Forbidden to ask users to input AK/SK directly in conversation or command line
- Forbidden to use
to set plaintext credentialsaliyun configure set- Only allowed to use
to check credential statusaliyun configure listCheck credential configuration:bashaliyun configure listConfirm the output shows a valid profile (AK, STS, or OAuth identity).If no valid configuration exists, stop first.
- Obtain credentials from Alibaba Cloud Console
- Configure credentials outside this session (run
in terminal or set environment variables)aliyun configure- Run
to verify after configuration is completealiyun configure list
# Install Aliyun CLI (if not installed)
curl -fsSL --max-time 10 https://aliyuncli.alicdn.com/install.sh | bash
aliyun version # confirm >= 3.3.1
# Enable auto plugin installation
aliyun configure set --auto-plugin-install true
# Install Python dependencies (for multipart upload script)
pip3 install requestsreferences/config.mdRecommended parameter: Allcommands should includealiyun pdsparameter--user-agent AlibabaCloud-Agent-SkillsExamples:bashaliyun pds get-user --user-agent AlibabaCloud-Agent-Skills aliyun pds list-my-drives --user-agent AlibabaCloud-Agent-Skills aliyun pds upload-file --drive-id <id> --local-path <path> --user-agent AlibabaCloud-Agent-Skills
| Reference Document | Path |
|---|---|
| CLI Installation Guide | references/cli-installation-guide.md |
| RAM Permission Policies | references/ram-policies.md |
references/search-file.md