Shortcut Share File logo

Shortcut Share File

Organization
OpenMinis
shortcut-share-file

通过 iOS 快捷指令「极速分享」分享 iCloud Drive 文件。当用户提到"分享文件"、"传文件"、"发文件"、"分享给xxx"、"用快捷指令分享"、"发备份里的文件"等与分享文件相关的操作时触发。支持传递 iCloud Drive 备份目录下的任意文件路径给快捷指令。

Overview

PublisherOpenMinis
RepositoryMinisSkills
Skill nameshortcut-share-file
Stars
543
Forks
86
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by OpenMinis on GitHub. Read the source before you install it.

Installation

Install the Shortcut Share File AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/OpenMinis/MinisSkills/tree/main/shortcut-share-file
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git /tmp/MinisSkills
mkdir -p .claude/skills
cp -r /tmp/MinisSkills/shortcut-share-file .claude/skills/shortcut-share-file
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Shortcut Share File in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Shortcut Share File on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Shortcut Share File is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

分享文件 — 快捷指令「极速分享」

快捷指令链接:https://www.icloud.com/shortcuts/d044e04806a24ee18bb7360f8b3f802a

核心原则

  • 零处理零检查:不解压、不列出内容、不查看文件类型、不确认文件存在。直接走分享流程。
  • 文件路径:源文件在 iCloud 映射到 /var/minis/mounts/iCloud/极速分享/,参数传 极速分享/<filename>(相对路径,不要绝对路径)。
  • 不需要时间参数:上传完成先由本机监控确认,触发快捷指令时不传任何时间参数。

工作流程

A. 拷贝文件(如需)

如果文件不在 /var/minis/mounts/iCloud/极速分享/ 下:

cp <源文件路径> /var/minis/mounts/iCloud/极速分享/<filename>
  • 从外部拷贝进来 → 继续执行 B(等待上传完成)
  • 原本就在极速分享目录中 → 跳过 B,直接进入 C(已就位即已传输完成)

B. 等待上传完成(仅新拷贝的文件需要)

刚拷贝进来的文件用监控脚本等待上传真正完成(检测 ctime 跳变信号):

bash /var/minis/skills/shortcut-share-file/scripts/icloud_upload_watch.sh "极速分享/<filename>"
  • 输出 UPLOAD_OK → 进入 C
  • 输出 TIMEOUT(默认 600 秒)→ 重试一次;仍超时则告知用户「上传似乎未完成」,询问是否仍要触发
  • 命令超时请设为脚本超时值(默认 600s)加缓冲;超大文件需更大

C. 触发快捷指令

apple-open "shortcuts://run-shortcut?name=%E6%9E%81%E9%80%9F%E5%88%86%E4%BA%AB&input=text&text=%E6%9E%81%E9%80%9F%E5%88%86%E4%BA%AB/<filename>"

快捷指令无需等待,直接生成链接。

反馈用户

「上传已完成 ✓ 快捷指令已启动,链接稍后会自动复制到剪贴板,直接粘贴即可发送。」


捆绑资源

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Shortcut Share File AI skill do?

通过 iOS 快捷指令「极速分享」分享 iCloud Drive 文件。当用户提到"分享文件"、"传文件"、"发文件"、"分享给xxx"、"用快捷指令分享"、"发备份里的文件"等与分享文件相关的操作时触发。支持传递 iCloud Drive 备份目录下的任意文件路径给快捷指令。

Why use Shortcut Share File on TypingMind?

Because you install it once and use it with any model. Shortcut Share File is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Shortcut Share File in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/OpenMinis/MinisSkills/tree/main/shortcut-share-file. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Shortcut Share File?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Shortcut Share File?

As many as you like. As long as a model supports skills, you can use Shortcut Share File with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Shortcut Share File AI skill free?

Yes. It is published on GitHub by OpenMinis under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇