Agent skill

Shortcut Share File

by OpenMinis in OpenMinis/MinisSkills

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

MITAuto-check passedMobile

Install Shortcut Share File

skills CLI
$ npx skills add OpenMinis/MinisSkills --skill shortcut-share-file -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenMinis/MinisSkills shortcut-share-file --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/shortcut-share-file .claude/skills/shortcut-share-file && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
shortcut-share-file
GitHub stars
446
Token cost
~371 tokens
SKILL.md length
52 words
Files
3 (incl. scripts, references)
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

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

  • Mobile work in your project
  • SKILL.md covers 核心原则, 工作流程, 反馈用户 and 捆绑资源
  • Runs Shell scripts from its folder; calls bash

What it does

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

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/帮助文档.md` and `scripts/icloud_upload_watch.sh`).

It sits in Mobile. It works with iOS. The repository describes itself as: Skills collection for Minis. The licence is MIT.

When your agent uses it

  • Mobile work in your project

Example prompts

  • “分享给xxx”
  • “用快捷指令分享”
  • “发备份里的文件”
  • “/shortcut-share-file”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit ae8c5db. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • icloud.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Shortcut Share File loads about 371 tokens when it runs, and up to ~749 if it reads all its reference files. Until then it costs about 40 tokens; SKILL.md has 52 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~371
With references · SKILL.md plus every file in references/, read only if the agent opens them
~749

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenMinis/MinisSkills at commit ae8c5db, republished under its MIT licence (© OpenMinis). 52 words, ~371 tokens.

Download SKILL.mdSave it as .claude/skills/shortcut-share-file/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
shortcut-share-file
description
通过 iOS 快捷指令「极速分享」分享 iCloud Drive 文件。当用户提到"分享文件"、"传文件"、"发文件"、"分享给xxx"、"用快捷指令分享"、"发备份里的文件"等与分享文件相关的操作时触发。支持传递 iCloud Drive 备份目录下的任意文件路径给快捷指令。
version
2.1.1

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

快捷指令链接: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>"

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

反馈用户

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


捆绑资源

  • 帮助文档 — 安装步骤、功能概览、使用指南,用户有疑问时提供
  • scripts/icloud_upload_watch.sh — 上传完成监控脚本(ctime 信号)

© OpenMinis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in shortcut-share-file of OpenMinis/MinisSkills.

  • SKILL.md
  • references/帮助文档.md
  • scripts/icloud_upload_watch.sh

Open the folder on GitHubat commit ae8c5db

Compare with similar skills

Shortcut Share File next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Shortcut Share File compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Shortcut Share File this skillOpenMinis/MinisSkills446—~371Automated safety check: PassMIT
Hig Project Contextraintree-technology/hig-doctor1435 repos~1.2kAutomated safety check: PassMIT
Hig Components Contentraintree-technology/hig-doctor1435 repos~1.3kAutomated safety check: PassMIT
Discover iOS KeysPoomSmart/MGKeys238—~1.4kAutomated safety check: PassMIT
Argent Metro Debuggerbbplayer-app/BBPlayer1.2k—~3.4kAutomated safety check: PassMIT
iOS Simulator Skilln0an/VivaDicta1301 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    143 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Hig Components Content

    raintree-technology/hig-doctor

    Apple Human Interface Guidelines for content display components.

    143 GitHub starsUsed in 5 repos~1.3k tokens
    MobileAuto-check passed
  • Discover iOS Keys

    PoomSmart/MGKeys

    Discover and map new MobileGestalt keys for a new iOS version in MGKeys.

    238 GitHub stars~1.4k tokensUpdated 22 days ago
    MobileAuto-check passed
  • Argent Metro Debugger

    bbplayer-app/BBPlayer

    Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.

    1.2k GitHub stars~3.4k tokensUpdated 2 days ago
    MobileAuto-check passed
  • iOS Simulator Skill

    n0an/VivaDicta

    21 production-ready scripts for iOS app testing, building, and automation.

    130 GitHub starsUsed in 1 repo~2.5k tokens
    MobileAuto-check passed
  • Theming

    Code-with-Beto/skills

    Scaffold a unified, cross-platform color theme system into an Expo Router app.

    140 GitHub stars~2.5k tokensUpdated 3 mo ago
    MobileAuto-check passed

More from OpenMinis/MinisSkills

All 49 skills in this repo
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    446 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Codex On Ish

    OpenMinis/MinisSkills

    Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.

    446 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Evidence Chain Builder

    OpenMinis/MinisSkills

    Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.

    446 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Hyperframes CLI

    OpenMinis/MinisSkills

    HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.

    446 GitHub stars~3.5k tokensUpdated 3 days ago
    Auto-check passed
  • Whenpeak

    OpenMinis/MinisSkills

    Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.

    446 GitHub stars~2.3k tokensUpdated 3 days ago
    Auto-check passed
  • Openstreetmap Marker

    OpenMinis/MinisSkills

    Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

    446 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about Shortcut Share File

What does Shortcut Share File do?

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

When should I use Shortcut Share File?

Shortcut Share File fits situations like: mobile work in your project.

How do I install Shortcut Share File in Claude Code?

Run `npx skills add OpenMinis/MinisSkills --skill shortcut-share-file -a claude-code`. Or copy the skill folder (shortcut-share-file in OpenMinis/MinisSkills) into .claude/skills/shortcut-share-file in your project. Claude Code loads it when a task matches its description.

How do I install Shortcut Share File in Codex?

Run `npx skills add OpenMinis/MinisSkills --skill shortcut-share-file -a codex`. Or copy the skill folder (shortcut-share-file in OpenMinis/MinisSkills) into .agents/skills/shortcut-share-file in your project. Codex loads it when a task matches its description.

Can I use Shortcut Share File in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenMinis/MinisSkills --skill shortcut-share-file -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/shortcut-share-file, .gemini/skills/shortcut-share-file, .github/skills/shortcut-share-file and .opencode/skills/shortcut-share-file in your project.

What does Shortcut Share File need to run?

Going by SKILL.md and its folder, Shortcut Share File needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Shortcut Share File access the network?

SKILL.md names 1 domain. As links in the text: icloud.com. This is read from the text; nothing was executed.

Is Shortcut Share File safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Shortcut Share File use?

Shortcut Share File is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Shortcut Share File use?

About 371 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 378 tokens, read only when the agent opens those files.

What are the alternatives to Shortcut Share File?

Skills that share tags, products or a category with Shortcut Share File: Hig Project Context (raintree-technology/hig-doctor, 143 stars), Hig Components Content (raintree-technology/hig-doctor, 143 stars), Discover iOS Keys (PoomSmart/MGKeys, 238 stars) and Argent Metro Debugger (bbplayer-app/BBPlayer, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Shortcut Share File?

OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 446 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.