Airdrop

From clawic/skills · View interactive version

Airdrop is an AI agent skill from the GitHub repository clawic/skills. Send local files to nearby Apple devices through AirDrop with macOS guardrails, staging checks, and automation-friendly workflows.

How to use this skill

Skill file

When to Use

User 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.

Requirements

Architecture

Memory lives in ~/Clawic/data/airdrop/. If ~/Clawic/data/airdrop/ does not exist, run setup.md. See memory-template.md for structure.

~/Clawic/data/airdrop/
|- memory.md          # Activation and confirmation preferences
`- staging/           # Optional user-approved temp exports before sharing

Quick Reference

| 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 |

Core Rules

1. Resolve Exact Files Before Sharing

2. Use the Smallest Safe Payload

3. Keep Recipient Choice Interactive

4. Pick the Right Execution Mode

5. Confirm Sensitive Shares

6. Report Handoff Honestly

Common Traps

| 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 |

Data Storage

This skill can operate with no persistent local state.

If the user wants repeatable behavior, store only activation, confirmation, and staging preferences in ~/Clawic/data/airdrop/memory.md.

Create ~/Clawic/data/airdrop/staging/ only with user approval when temporary share files are useful.

Security & Privacy

Data that stays local:

Data that may leave your machine:

This skill does NOT:

Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

Feedback

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.