← 返回 Skills 市场
sdk-team

Alibabacloud Pds Multimodal Search

作者 alibabacloud-skills-team · GitHub ↗ · v0.0.2 · MIT-0
cross-platform ⚠ suspicious
113
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install alibabacloud-pds-multimodal-search
功能描述
Implements exact filename search, fuzzy filename search, semantic file search, and image-based image search Triggers: "PDS drive file search", "PDS image sea...
使用说明 (SKILL.md)

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.
  • Recommended parameter: All aliyun pds commands should include --user-agent AlibabaCloud-Agent-Skills parameter to help server identify request source, track usage, and troubleshoot issues.
  • 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.1

Verify CLI version:

aliyun version  # requires >= 3.3.1

Verify PDS plugin version:

aliyun pds version  # requires >= 0.1.4

If version requirements are not met, refer to references/cli-installation-guide.md for installation or upgrade.

After installation, must enable auto plugin installation:

aliyun configure set --auto-plugin-install true

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.1

# 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

Recommended parameter: All aliyun pds commands should include --user-agent AlibabaCloud-Agent-Skills parameter

Examples:

aliyun pds get-user --user-agent AlibabaCloud-Agent-Skills
aliyun pds list-my-drives --user-agent AlibabaCloud-Agent-Skills
aliyun pds upload-file --drive-id \x3Cid> --local-path \x3Cpath> --user-agent AlibabaCloud-Agent-Skills

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.
安全使用建议
This skill appears to do what it says (PDS search/visual search/analysis) and uses the aliyun CLI plus helper Python scripts. Before installing or running it: 1) Inspect the included Python scripts (especially pds_poll_processor.py, formatters, and render_visual_similar_search_process.py) to ensure they don't call unexpected external endpoints or exfiltrate data — they will download signed URLs and write files locally. 2) Configure Alibaba Cloud credentials yourself outside the agent session and avoid pasting secrets into a chat; verify you understand which profile the CLI will use (~/.aliyun/config.json or env vars). 3) Be aware of the contradiction in the documentation about `aliyun configure set` (examples show setting AK/SK non-interactively, while other sections forbid using it to set plaintext credentials) — follow your organization's secrets policy. 4) If you run the addon on a machine with sensitive files, run it in an isolated environment because uploads/downloads and script execution will access local files. 5) Limit the RAM user permissions to the minimum required (see ram-policies.md) to reduce blast radius. If you want a cleaner assurance, ask the author for: a) a short audit of the included scripts showing network endpoints and file write locations, and b) clarification on the recommended safe credential configuration flow (explicitly whether non-interactive `aliyun configure set` is allowed in automation).
功能分析
Type: OpenClaw Skill Name: alibabacloud-pds-multimodal-search Version: 0.0.2 The skill bundle is a legitimate integration for Alibaba Cloud PDS (Photo Drive Service) multimodal search and file analysis. It contains robust Python utilities for constructing complex API queries, polling long-running analysis tasks, and formatting structured results into readable text or PPTX files. Security analysis shows the bundle follows best practices: `scripts/pds_poll_processor.py` uses safe subprocess execution (shell=False), `scripts/build_query.py` implements proper value escaping, and `SKILL.md` contains explicit security instructions forbidding the agent from reading or outputting sensitive Access Key (AK/SK) credentials. No indicators of data exfiltration, malicious prompt injection, or unauthorized execution were found.
能力标签
cryptorequires-walletcan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, included reference docs, and scripts (query builders, formatters, poller, visual-search helper) align with a PDS multimodal search/upload/download/analysis skill. The use of the aliyun CLI and Python helper scripts is expected for this functionality.
Instruction Scope
The runtime docs instruct the agent to execute many CLI commands and local Python scripts that will access cloud resources and local files (uploads, downloads, polling signed URLs, formatting analysis output). The search workflow requires spawning a 'sub-agent' to process semantic/scalar prompts (open-ended LLM invocation). The skill explicitly forbids printing AK/SK and asks credentials to be configured outside the session, but the included docs also demonstrate non-interactive `aliyun configure set --access-key-id ...` examples — a contradiction. Scripts will download signed URLs and write files locally (expected for analysis), but the skill does not declare any required config paths even though the CLI reads ~/.aliyun/config.json implicitly.
Install Mechanism
No install spec in registry (instruction-only), but SKILL.md recommends installing the Aliyun CLI via an official aliyuncdn/alidn domain curl|bash or via package managers and pip for Python deps. These download URLs appear to be the official Alibaba-hosted assets (aliyuncli.alicdn.com). Because the skill ships runnable Python scripts, running them will write files / make network calls; review scripts before executing.
Credentials
The skill declares no required env vars, but its operation depends on existing Alibaba Cloud credentials (AK/ST/token) configured for the aliyun CLI or environment variables such as ALIBABA_CLOUD_ACCESS_KEY_ID. The skill's docs both forbid and show examples of setting plaintext credentials with `aliyun configure set`, which is inconsistent. The skill will implicitly use ~/.aliyun/config.json and environment variables (normal for CLI tooling) but does not explicitly list these config paths in metadata.
Persistence & Privilege
always:false and no install spec mean the skill does not demand permanent force-inclusion or elevated platform privileges. It does not request to modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alibabacloud-pds-multimodal-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alibabacloud-pds-multimodal-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.2
**Improves space selection logic and guidance for file operations.** - Introduced strict rules for selecting the correct drive for enterprise, team, or personal space; prevents silent fallback or scope broadening. - Updated agent guidelines: must explicitly determine and respect user's intended storage scope before all operations. - Expanded documentation in SKILL.md with a detailed space selection rules table and clarifying notes. - Added self-check steps before choosing drive_id, ensuring accurate targeting of requested space. - No changes to CLI command syntax; the update is limited to documentation, instruction, and process logic.
v0.0.1
alibabacloud-pds-multimodal-search v0.0.1 - Initial release. - Implements exact filename search, fuzzy filename search, semantic file search, and image-based image search for Alibaba Cloud PDS. - Provides detailed setup guidance including CLI and plugin prerequisites, authentication, and recommended usage patterns. - Includes strict execution and security guidelines for command usage. - Reference documentation links for installation, permissions, and individual feature usage included.
元数据
Slug alibabacloud-pds-multimodal-search
版本 0.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Alibabacloud Pds Multimodal Search 是什么?

Implements exact filename search, fuzzy filename search, semantic file search, and image-based image search Triggers: "PDS drive file search", "PDS image sea... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。

如何安装 Alibabacloud Pds Multimodal Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install alibabacloud-pds-multimodal-search」即可一键安装,无需额外配置。

Alibabacloud Pds Multimodal Search 是免费的吗?

是的,Alibabacloud Pds Multimodal Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Alibabacloud Pds Multimodal Search 支持哪些平台?

Alibabacloud Pds Multimodal Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Alibabacloud Pds Multimodal Search?

由 alibabacloud-skills-team(@sdk-team)开发并维护,当前版本 v0.0.2。

💬 留言讨论