← 返回
效率工具 中文

AirDrop

Send local files to nearby Apple devices through AirDrop with macOS guardrails, staging checks, and automation-friendly workflows.
通过 AirDrop 将本地文件发送至附近的 Apple 设备,具备 macOS 安全防护、暂存检查及自动化友好的工作流。
ivangdavila
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 573
下载
💾 3
安装
1
版本
#latest

概述

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

  • macOS with AirDrop enabled in Finder.
  • Nearby Apple recipient available and visible to the current Mac.
  • Direct mode uses xcrun swift or swift to run airdrop-send.swift.
  • Shortcut mode uses the built-in shortcuts CLI and a user-owned shortcut that accepts file input.

Architecture

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

Quick Reference

TopicFile
-------------
First-run behavior and activationsetup.md
Memory structurememory-template.md
Direct CLI wrapperairdrop-send.sh
AppKit AirDrop launcherairdrop-send.swift
Common execution patternsworkflow-recipes.md
Recovery and diagnosticstroubleshooting.md

Core Rules

1. Resolve Exact Files Before Sharing

  • Work only with explicit local file paths.
  • For generated text or mixed output, stage to a user-approved file first, then share that file.
  • Refuse vague requests like "send the project" until the exact payload is listed.

2. Use the Smallest Safe Payload

  • Prefer the exact artifact the recipient needs: one PDF, one ZIP, one screenshot set, one installer.
  • When the source is a directory, curate or archive the approved subset before launch.
  • Treat hidden files, secrets, and unrelated workspace state as excluded by default.

3. Keep Recipient Choice Interactive

  • AirDrop recipient selection stays in the macOS share UI.
  • Do not claim silent recipient targeting, background delivery, or machine-verifiable recipient identity.
  • If the user wants zero-click routing, use Shortcut mode only when they already built that behavior locally.

4. Pick the Right Execution Mode

  • Default to airdrop-send.sh for direct local handoff because it launches the native AirDrop sharing service without inventing unsupported CLI verbs.
  • Use Shortcut mode when the user already has a Shortcut that renames, compresses, or routes files before AirDrop.
  • If swift is unavailable, fall back to the user's Shortcut flow or stop with a concrete requirement message.

5. Confirm Sensitive Shares

  • Before launching AirDrop for logs, source bundles, contracts, exports, or anything private, list the exact files and ask for confirmation.
  • If the user says "only the final artifact", strip extras before sharing.
  • Never include credential files, env files, database dumps, or hidden config unless the user explicitly requests them.

6. Report Handoff Honestly

  • Success means the AirDrop chooser launched with the requested files.
  • Do not say the transfer completed unless the user confirms it on-device.
  • If launch succeeds but the device does not appear, route to troubleshooting.md instead of retrying blindly.

Common Traps

TrapWhy It FailsBetter Move
---------------------------------
Treating AirDrop like scpNo stable official recipient CLI targetingLaunch native chooser and keep recipient selection interactive
Sending raw text directlyAirDrop works on shareable items, not vague chat contentWrite the text to a file, then share that file
Sharing whole folders by reflexLeaks unrelated files and slows discoveryZip or curate the exact approved subset first
Claiming delivery success too earlyLaunching the chooser is not transfer confirmationReport "handoff started" until the user confirms receipt
Retrying with the same bad payloadHidden files or unsupported items keep failingReduce 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 ~/airdrop/memory.md.

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

Security & Privacy

Data that stays local:

  • Skill memory and optional staging files in ~/airdrop/
  • The source files until the user chooses a nearby AirDrop recipient

Data that may leave your machine:

  • Only the specific files the user approved for AirDrop
  • Discovery and transfer metadata handled by macOS AirDrop services with nearby Apple devices

This skill does NOT:

  • Upload files to undeclared cloud services
  • Select recipients silently in the background
  • Confirm transfer completion without user-visible evidence
  • Read or share files outside the approved payload list

Related Skills

Install with clawhub install 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.

Feedback

  • If useful: clawhub star airdrop
  • Stay updated: clawhub sync

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 00:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,780
productivity

Baidu web search

ide-rea
使用百度AI搜索引擎(BDSE)进行网络搜索。适用于获取实时信息、文档资料或研究课题。
★ 237 📥 105,606
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,359 📥 318,574