Install
openclaw skills install airdropSend local files to nearby Apple devices through AirDrop with macOS guardrails, staging checks, and automation-friendly workflows.
openclaw skills install airdropUser wants the agent to send a local file, export, screenshot, log bundle, or review artifact to a nearby Apple device with AirDrop. Agent handles file staging, confirmation, local handoff, and mode selection between direct AppKit launch and Shortcut fallback.
xcrun swift or swift to run airdrop-send.swift.shortcuts CLI and a user-owned shortcut that accepts file input.Memory lives in ~/airdrop/. If ~/airdrop/ does not exist, run setup.md. See memory-template.md for structure.
~/airdrop/
|- memory.md # Activation and confirmation preferences
`- staging/ # Optional user-approved temp exports before sharing
| Topic | File |
|---|---|
| First-run behavior and activation | setup.md |
| Memory structure | memory-template.md |
| Direct CLI wrapper | airdrop-send.sh |
| AppKit AirDrop launcher | airdrop-send.swift |
| Common execution patterns | workflow-recipes.md |
| Recovery and diagnostics | troubleshooting.md |
airdrop-send.sh for direct local handoff because it launches the native AirDrop sharing service without inventing unsupported CLI verbs.swift is unavailable, fall back to the user's Shortcut flow or stop with a concrete requirement message.troubleshooting.md instead of retrying blindly.| Trap | Why It Fails | Better Move |
|---|---|---|
Treating AirDrop like scp | No stable official recipient CLI targeting | Launch native chooser and keep recipient selection interactive |
| Sending raw text directly | AirDrop works on shareable items, not vague chat content | Write the text to a file, then share that file |
| Sharing whole folders by reflex | Leaks unrelated files and slows discovery | Zip or curate the exact approved subset first |
| Claiming delivery success too early | Launching the chooser is not transfer confirmation | Report "handoff started" until the user confirms receipt |
| Retrying with the same bad payload | Hidden files or unsupported items keep failing | Reduce to one known-good file and retry once |
This skill can operate with no persistent local state.
If the user wants repeatable behavior, store only activation, confirmation, and staging preferences in ~/airdrop/memory.md.
Create ~/airdrop/staging/ only with user approval when temporary share files are useful.
Data that stays local:
~/airdrop/Data that may leave your machine:
This skill does NOT:
Install with clawhub install <slug> if user confirms:
macos - General macOS command workflows, permissions checks, and native app automation patterns.applescript - Finder and app automation when AirDrop workflows need UI scripting around local files.files - File selection, packaging, renaming, and cleanup before sharing the final payload.photos - Exporting and converting image assets before sending them to another Apple device.clawhub star airdropclawhub sync