shortcut-share-file
Skill438 starsChanged 3 months agoMITView on GitHub
Share iCloud Drive files using the iOS Shortcut "Instant Share." Trigger this skill when the user mentions file-sharing actions such as "share a file," "transfer a file," "send a file," "share with xxx," "share using a Shortcut," or "send a file from the backup." Supports passing any file path under the iCloud Drive backup directory to the Shortcut.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- lsongdev/skillsedited, first seen Sep 10, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- lsongdev/skills★ 196% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- android-devSkill
- android-ui-automationSkill
- apple-remindersSkill
- appstoreprice-hubSkill
- asc-cliSkill
- bilibili-hubSkill
- Clash 控制器Skill
- cloudflare-dnsSkill
- codex-imageSkill
- codex-on-ishSkill
- contact-vcard-extractorSkill
- deepseek-usageSkill
- doubao-ttsSkill
- douyin-downloaderSkill
- exa-searchSkill
- free-ttsSkill
- fucai3d-latestSkill
- generative-ui-minisSkill
- github-sync-helperSkill
- health-sleep-analysisSkill
- hyperframes-cliSkill
- hyperframesSkill
- korea-stockSkill
- maimai-hubSkill
- memos-apiSkill
- nano-bananaSkill
- notion-hubSkill
- openstreetmap-markerSkill
- pdf-converterSkill
- production-agent-publicSkill
- qbt-hubSkill
- quark-hubSkill
- reverse-dcfSkill
- self-improving-agentSkill
- spotify-hubSkill
- stock-fund-flowSkill
- stock-priceSkill
- tavily-searchSkill
- tg-hubSkill
- todoocardSkill
- twitter-downloaderSkill
- twitter-x-hubSkill
- us-stockSkill
- web-content-extractorSkill
- web-searchSkill
- weibo-hubSkill
- whenpeakSkill
- xianyu-hubSkill
- xiaohongshu-hubSkill
- youtube-downloaderSkill
- ytmusic-hubSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
No processing and no checks: Do not unzip, list contents, inspect file types, or confirm that the file exists.
- Very specific: line 24
If a record exists and is less than 24 hours old, use the upload_MBs value directly.
- Distinctive: line 25
If no record exists or the record has expired, run:
- Very specific: line 39
If the file is not under /var/minis/mounts/iCloud/Instant Share/:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Share Files, "Instant Share" Shortcut
Shortcut link: https://www.icloud.com/shortcuts/c0cd9fbdc42149c3b98e4f9fcb103011
Core Principles
- No processing and no checks: Do not unzip, list contents, inspect file types, or confirm that the file exists. Go directly to the sharing workflow.
- File path: The source file is mapped in iCloud to
/var/minis/mounts/iCloud/Instant Share/. Pass the parameter asInstant Share/<filename>(a relative path, not an absolute path).
Workflow
A. Speed Test (Use the cached memory first)
memory_get(keywords="iperf3 Speed Test: Upload Speed")- If a record exists and is less than 24 hours old, use the
upload_MBsvalue directly. - If no record exists or the record has expired, run:
iperf3 -c ping.online.net -t 3 --json 2>/dev/null | python3 -c "import sys,json;d=json.load(sys.stdin);bps=d['end']['sum_sent']['bits_per_second'];print(f'{bps/8000000:.2f}')"The output is in MB/s (megabytes per second). Write it to memory immediately:
memory_write(content="## Speed Cache\n- upload_MBs: <Value> (<Date>)\n- Valid for 24 hours")B. Copy the File (If Needed) and Calculate the Time
If the file is not under /var/minis/mounts/iCloud/Instant Share/:
cp <Source file path> /var/minis/mounts/iCloud/Instant Share/<filename>Calculate the parameter suffix:
- From another iCloud directory →
--0Second - From an external source such as attachments →
--<ceil(file_size_MB / upload_MBs * 1.2)>Second(add a 20% buffer to handle network fluctuations)
C. Invoke the Shortcut
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>--<time>Second"User Feedback
"The Shortcut has started. When it finishes, the link will be copied to the clipboard automatically. You can paste and send it directly."
Bundled Resources
- Help Documentation - Installation steps, feature overview, and usage guide. Provide this when the user has questions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

