当前位置: 首页 > Skill >

Alibabacloud Pds Multimodal Search

Alibabacloud Pds Multimodal Search

Alibabacloud Pds Multimodal Search

实现精确文件名搜索、模糊文件名搜索、语义文件搜索以及基于图像的图像搜索。触发词:“PDS drive file search”、“PDS image search”。

0.0.3 2026.11.23 851
获取Skill文件查看使用说明
作 者:陆宁 许可证: 更新时间:2026.11.23
本文目录展开

PDS Multimodal Search

Please read this entire skill document carefully

Features

  • For getting drive/drive_id, querying enterprise space, team space, personal space -> read references/drive.md
  • For uploading local files to enterprise space, team space, personal space → read references/upload-file.md
  • For downloading files from enterprise space, team space, personal space to local → read references/download-file.md
  • For searching or finding files → read references/search-file.md
  • For document/audio/video analysis, quick view, summarization on cloud drive → read references/multianalysis-file.md
  • For image search, similar image search, image-text hybrid retrieval → read references/visual-similar-search.md

Agent Execution Guidelines

  • Must execute steps in order: Do not skip any step, do not proceed to the next step before the previous one is completed.
  • Must follow documentation: The aliyun pds cli commands and parameters must follow this document's guidance, do not fabricate commands.
  • [MUST] CLI User-Agent — Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pds-multimodal-search
  • Must determine the target space before file operations: Before search, upload, download, or analysis, first decide whether the user explicitly means enterprise space, team space, personal space, or all spaces.
  • Space scope must not be broadened silently: If the user explicitly says "enterprise space", only use the enterprise space drive_id. If the user explicitly says "team space", only use the matching team space drive_id. If the user explicitly says "personal space", only use the personal space drive_id. Only search across multiple spaces when the user did not restrict the scope.
  • Enterprise space and team space are not interchangeable: Even though both are returned by list-my-group-drive, root_group_drive is the enterprise space and items are team spaces. Never substitute one for the other.
  • If the requested space is missing, stop and explain: For example, if the user asks for enterprise space but root_group_drive is empty, do not fall back to a team space search.

Core Concepts:

  • Domain: PDS instance with a unique domain_id, data is completely isolated between domains
  • User: End user under a domain, has user_id
  • Group: Team organization under a domain, divided into enterprise group and team group
  • Drive: Storage space, can belong to a user (personal space) or group (enterprise space or team space)
  • File: File or folder under a space, has file_id
  • Mountapp: PDS mount app plugin, used to mount PDS space to local, allowing users to access and manage files in PDS space conveniently

Space Selection Rules

Apply the following rules before choosing a drive_id:

User wording Allowed drive source Forbidden fallback
"企业空间" / "company space" / "enterprise space" root_group_drive only Any drive from items
"团队空间" / "某个团队空间" / "team space" items only root_group_drive
"个人空间" / "我的空间" / "personal space" list-my-drives.items only group drives
"网盘里" / "我的网盘" / no space specified all relevant spaces none

Before continuing, perform a brief self-check:

  1. Did the user explicitly name the target space type?
  2. Does the selected drive_id come from the correct response field for that space type?
  3. If multiple team spaces exist and the user only said "team space", do I need to disambiguate which team space?

If any answer is uncertain, do not guess.

Installation Requirements

Prerequisites: Requires Aliyun CLI >= 3.3.3

Verify CLI version:

aliyun version  # requires >= 3.3.3

If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to update, or see references/cli-installation-guide.md for installation instructions.

Verify PDS plugin version:

aliyun pds version  # requires >= 0.1.4

After installation, must enable auto plugin installation:

aliyun configure set --auto-plugin-install true

Then [MUST] run aliyun plugin update to ensure that any existing plugins on your local machine are always up-to-date.

CLI Initialization (MUST run before Core Workflow)

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-multimodal-search"

[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

Authentication Configuration

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:

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
# Install Aliyun CLI (if not installed)
curl -fsSL --max-time 10 https://aliyuncli.alicdn.com/install.sh | bash
aliyun version  # confirm >= 3.3.3

# Enable auto plugin installation
aliyun configure set --auto-plugin-install true

# Install Python dependencies (for multipart upload script)
pip3 install requests

PDS-Specific Configuration

Before executing any PDS operations, you must first configure domain_id, user_id, and authentication type -> read references/config.md

[MUST] CLI User-Agent — Every aliyun CLI command invocation must include --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pds-multimodal-search

Examples:

aliyun pds get-user --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pds-multimodal-search
aliyun pds list-my-drives --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pds-multimodal-search
aliyun pds upload-file --drive-id <id> --local-path <path> --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pds-multimodal-search

References

Reference Document Path
CLI Installation Guide references/cli-installation-guide.md
RAM Permission Policies references/ram-policies.md

Error Handling

  1. If file search fails, please read references/search-file.md and strictly follow the documented process to re-execute file search.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,036
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,020
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,016
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
Skill 文件
  • SKILL.md
    • PDS Multimodal Search
      • Features
    • Agent Execution Guidelines
    • Core Concepts:
    • Space Selection Rules
    • Installation Requirements
    • CLI Initialization (MUST run before Core Workflow)
    • Authentication Configuration
    • PDS-Specific Configuration
    • References
    • Error Handling
  • 项目或源文件

相关 Skill

更多
Image Search Image Search 使用 SerpAPI 通过 Google Lens 进行视觉图像搜索。可从图像中识别物体、地标、产品、植物、动物、艺术作品、标志或任何视觉实体。
File Search File Search 使用 `fd` 和 `rg`(ripgrep)进行快速文件名和内容搜索。
Eureka-专利图像搜索 Eureka-专利图像搜索 在Eureka专利平台进行专利图像检索(以图搜图),上传图片URL即可查找外观设计或实用新型的相似专利。用户提及专利图像检索、以图搜专利、外观设计搜索、图片相似专利、设计专利检索、图像搜索专利、专利视觉搜索、patent image search、search patent by image、design patent search等需求时,提供此功能。
1688-以图搜图 1688-以图搜图 1688平台以图搜图,通过商品图片精准检索相似或同款货源,返回标题、价格、起批量、月销量、复购率、交易评分等核心数据,适用于以图找货源、以图找同款、跨境找工厂、image search 1688等场景。
智慧芽-外观专利以图搜图 智慧芽-外观专利以图搜图 基于智慧芽的专利图片相似度搜索,支持通过图片URL检索外观设计专利,适用于专利图片搜索、外观设计专利侵权检查、以图搜专利、专利相似度检测、洛迦诺分类搜索、检查产品设计是否侵权、patent image search、design patent search等场景。