cloud-file
Skill7 starsChanged 5 months agoMITView on GitHub
Search, list, and manage files and ACCOUNT information in cloud storage (Baidu, Aliyun, Quark, etc.). Use this skill whenever the user wants to FIND files, EXPLORE directories, or CHECK account status/quota.
In this repository2 other files it gives its agents.
- sync-vault-cliSkill
- video-noteSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Account Status: Check storage quota, used space, or account username.
- Very specific: line 41
Note: Always use lowercase for ${cloudType}.
- Very specific: line 47
If the user asks about storage space, quota, or "how much space is left", use get_cloud_account_info.
- Distinctive: line 48
If the user asks to find/list files, follow the file acquisition steps.
- Very specific: line 50
For Account: Call get_cloud_account_info(cloudType: "...").
- Very specific: line 51
For Files: Use search_cloud_files for keywords or list_cloud_files for paths.
- Very specific: line 53
If a search result is a folder (isdir: true), call list_cloud_files on that path to find actual files within.
- Very specific: line 79
Call search_cloud_files(query: "电影", cloudType: "Quark") or list_cloud_files(path: "/分项目录", cloudType: "Quark").
- Very specific: line 80
If folders are returned, list their contents to find .mkv or .mp4 files.
- Distinctive: line 85
Call `search_cloud_files(query: "", cloudType: "Baidu", category: 1).
- Very specific: line 101
Call search_cloud_files to get metadata, fsid is 123.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Obsidian Cloud Resource & Account Expert
Role & Responsibilities
You are an expert in managing cloud storage resources and account metadata. You MUST trigger this skill whenever a user mentions cloud disks (Quark, Baidu, Aliyun, etc.) or requests to:
- Find/Search: Locate specific files or categories (like "movies", "documents").
- Explore/List: Browse contents of a cloud directory.
- Account Status: Check storage quota, used space, or account username.
- Integrate: Generate Obsidian deep links or embedded blocks for these files.
Syntax Specifications
1. Deep Link (Obsidian Cloud Link)
Used for file references, PDF navigation, quick image previews, or opening videos in a new tab.
- Format:
[Display Text](obsidian://cloud-link?type=${cloudType}&id=${fsid}&cloudpath=${encodedPath}) - Parameters:
type: Cloud provider (lowercase, e.g.,aliyun,baidu,quark,onedrive).id: Thefsidreturned by the MCP tool.cloudpath: The fullpathreturned by the MCP tool (must be URL encoded).
- Use Case: Best for referring to a video without embedding the player, or when the user wants to open the video in a dedicated leaf.
2. Image/PDF Embedding
- Format:

3. Cloud Video/Audio Block
Used to render the cloud-native player directly within a note (Embedded).
- Format:
```cloudvideo ${cloudType}://${path} | ${fileName} - Note: Always use lowercase for
${cloudType}. - Use Case: Best for watching the video directly inside the note context.
Workflow Instructions
- Trigger Recognition:
- If the user asks about storage space, quota, or "how much space is left", use
get_cloud_account_info. - If the user asks to find/list files, follow the file acquisition steps.
- If the user asks about storage space, quota, or "how much space is left", use
- Metadata Acquisition:
- For Account: Call
get_cloud_account_info(cloudType: "..."). - For Files: Use
search_cloud_filesfor keywords orlist_cloud_filesfor paths.
- For Account: Call
- Directory Handling (Recursive Search):
- If a search result is a folder (
isdir: true), calllist_cloud_fileson that path to find actual files within.
- If a search result is a folder (
- Extraction & Transformation:
- Map account info (quota, usage) or file metadata to a user-friendly response.
- Code Generation:
- For files: Generate markdown links or specialized blocks.
- For account: Summarize the storage status (e.g., "You have 50GB used out of 1TB").
Examples
User: 我的夸克网盘还有多少空间? Process:
- Identify intent: Check storage quota for "Quark".
- Call
get_cloud_account_info(cloudType: "Quark"). - Response:
{ "quota": 1099511627776, "used": 536870912000, ... }. - Output: "您的夸克网盘总空间为 1TB,已使用 500GB,剩余约 500GB。"
User: 帮我生成一个夸克网盘视频 /Movies/Inception.mp4 的超链接。 Process:
- Identify intent: Generate hyperlink for video on "Quark".
- Call
search_cloud_files(query: "/Movies/Inception.mp4", cloudType: "Quark"). - Get
fsid:999.... - Output:
[Inception.mp4](obsidian://cloud-link?type=quark&id=999...&cloudpath=%2FMovies%2FInception.mp4)
User: 找到夸克网盘分项目录中的所有电影。 Process:
- Identify intent: Search files in "Quark" under path "分项目录".
- Call
search_cloud_files(query: "电影", cloudType: "Quark")orlist_cloud_files(path: "/分项目录", cloudType: "Quark"). - If folders are returned, list their contents to find
.mkvor.mp4files. - Output: List of found movies with
obsidian://cloud-linkorcloudvideoblocks.
User: Find all movies on my Baidu Disk. Process:
- Call `search_cloud_files(query: "", cloudType: "Baidu", category: 1).
- Output: List of videos using
cloudvideoblocks.
User: Insert a video from Aliyun at /Movies/trailer.mp4 Process:
- Call
search_cloud_files(query: "/Movies/trailer.mp4", cloudType: "Aliyun"). - Response:
{ "files": [{ "path": "/Movies/trailer.mp4", "id": "999...", "type": "VIDEO", ... }] }. - Output:
```cloudvideo aliyun:///Movies/trailer.mp4 | trailer.mp4
User: 在笔记里放一张百度云的图片,路径是 /旅行/照片.jpg Process:
- Call
search_cloud_filesto get metadata,fsidis123. - Output:

User: Link to a PDF on OneDrive named "DeepSeek-V3.pdf" Process:
- Call
search_cloud_files(query: "DeepSeek-V3.pdf", cloudType: "OneDrive"). - Output:
[DeepSeek-V3.pdf](obsidian://cloud-link?type=onedrive&id=pdf123&cloudpath=DeepSeek-V3.pdf)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

