shortcut-share-file

shortcut-share-file is a skill for Claude Code, Codex from OpenMinis/MinisSkills. It costs 81 tokens per session (701 once invoked), scanned A, original, MIT.

A workflow for sharing files from iCloud Drive using an iOS Shortcut called “Instant Share.”

In plain words
What is it for?
It is for sharing or transferring a file stored under the supported iCloud Drive location.
Why use it?
It provides a direct way to send a file through the configured Shortcut without adding file inspection or processing steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for sharing or transferring a file stored under the supported iCloud Drive location.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openminis/minisskills/shortcut-share-file
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenMinis/MinisSkills --skill shortcut-share-file
Clone the repo
git clone --depth 1 https://github.com/OpenMinis/MinisSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shortcut-share-file

README.md
[![agentmods](https://agentmods.dev/badge/skills/openminis/minisskills/shortcut-share-file/github.svg)](https://agentmods.dev/skills/openminis/minisskills/shortcut-share-file)
Your own site
<a href="https://agentmods.dev/skills/openminis/minisskills/shortcut-share-file"><img src="https://agentmods.dev/badge/skills/openminis/minisskills/shortcut-share-file/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shortcut-share-file

Your own site · 80×15
<a href="https://agentmods.dev/skills/openminis/minisskills/shortcut-share-file"><img src="https://agentmods.dev/badge/skills/openminis/minisskills/shortcut-share-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 701 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.00701
Opus 5 $0.00041 $0.00351
Sonnet 5 $0.00016 $0.00140
Haiku 4.5 $0.00008 $0.00070

Measured 12d ago against content hash e936999f7b24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

shortcut-share-file scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

shortcut-share-file/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 as Instant 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_MBs value 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.

Read the full file on GitHub · 65 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 65 lines · 81 tokens per session scan A e936999f7b24

Subscribe to this mod's changes

shortcut-share-file is a skill published in the GitHub repository OpenMinis/MinisSkills (410 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 701 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.