المهارات mac-automation
🍎

mac-automation

مخاطر منخفضة ⚙️ الأوامر الخارجية📁 الوصول إلى نظام الملفات

使用 AppleScript 自動化您的 Mac

透過自然語言指令控制 macOS 應用程式和系統功能。發送電子郵件、管理提醒事項、開啟網站、調整音量等功能,無需離開您的 AI 助手。

يدعم: Claude Codex Code(CC)
📊 69 كافٍ
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "mac-automation". Create a reminder to call Mom tomorrow at 3pm

النتيجة المتوقعة:

  • 已建立提醒事項:致電給媽媽
  • 到期日:明天下午 3:00
  • 列表:提醒事項

استخدام "mac-automation". Open three tabs with python docs, javascript guide, and apple developer site

النتيجة المتوقعة:

  • 已在新標籤頁中開啟 https://docs.python.org
  • 已在新標籤頁中開啟 https://developer.mozilla.org/en-US/docs/Web/JavaScript
  • 已在新標籤頁中開啟 https://developer.apple.com

استخدام "mac-automation". Set volume to 50 and show notification that I am working

النتيجة المتوقعة:

  • 音量已設定為 50%
  • 通知已顯示,標題為「提醒」,內容為「開始工作階段」

التدقيق الأمني

مخاطر منخفضة
v3 • 1/16/2026

Legitimate macOS automation skill using standard osascript command for AppleScript execution. Static scanner flagged benign patterns including keystroke commands (false positive - these simulate keyboard input, not capture it), screenshot commands (false positive - local saves only), and crypt keywords (false positive - scanner misidentified screencapture/caffeinate command names). All capabilities align with stated purpose of controlling Mail, Calendar, Reminders, Safari, Finder, and System Events applications. User-initiated operations with confirmation requirements for destructive actions documented.

10
الملفات التي تم فحصها
2,608
الأسطر التي تم تحليلها
5
النتائج
3
إجمالي عمليات التدقيق
مشكلات منخفضة المخاطر (3)
File deletion operations
The skill includes AppleScript patterns for deleting files via Finder (move to trash) and emptying trash. These are legitimate file management operations but could cause data loss if misused without user confirmation.
System power commands
The skill documents commands for sleep, restart, shutdown, and lock screen via System Events. These affect system state but require user confirmation and macOS permissions.
Email deletion operations
The skill includes patterns for deleting emails via Mail app. This could result in permanent email deletion but requires Mail app permissions and user intent.
تم تدقيقه بواسطة: claude عرض سجل التدقيق →

درجة الجودة

45
الهندسة المعمارية
100
قابلية الصيانة
85
المحتوى
21
المجتمع
84
الأمان
100
الامتثال للمواصفات

ماذا يمكنك بناءه

快速每日簡報

無需開啟多個應用程式,在幾秒鐘內獲取今日的行事曆活動和未讀取的電子郵件。

從文字建立提醒事項

將剪貼簿內容或對話文字自動轉換為帶有到期日的提醒事項。

瀏覽器和檔案控制

透過簡單的文字指令開啟 URL、管理標籤頁和組織檔案。

جرّب هذه الموجهات

傳送電子郵件
Send an email to [recipient] with subject [subject] and body [message content].
建立提醒事項
Create a reminder called [task name] due [date/time] in my [list name] list.
新增行事曆活動
Add a calendar event for [event name] on [date] at [time] at [location].
早晨簡報
Give me a briefing of my calendar for today and list my unread emails from Mail.

أفضل الممارسات

  • 首次使用前,請先在「系統偏好設定」中為每個應用程式授予自動化權限
  • 執行刪除或清空垃圾桶等破壞性操作前,請先確認
  • 使用精確的應用程式名稱,如「郵件」、「行事曆」、「提醒事項」、「Safari」、「Finder」

تجنب

  • 未先檢查應用程式權限即執行自動化
  • 未經使用者確認即執行刪除指令
  • 假設所有第三方應用程式都支援 AppleScript

الأسئلة المتكررة

Which macOS versions are supported?
需要 macOS 且支援 AppleScript(10.4 以上版本)。大多數功能可在包括 Ventura、Sonomia 和 Sequoia 在內的現代 macOS 版本上運作。
What are the permission limits?
每個應用程式都需要在「系統偏好設定」>「隱私與安全性」中明確授予「自動化」權限。首次執行時會觸發 macOS 權限對話框。
Can this integrate with other tools?
是的,可與 Claude、Codex 和 Claude Code 搭配使用。可與其他 Bash 指令和 MCP 工具串接,實現複雜的工作流程。
Is my data safe?
所有操作都透過 osascript 在您的 Mac 上本機執行,不會傳送任何資料到外部。您可以控制哪些資訊被存取。
Why did my script fail?
常見原因:應用程式未執行、名稱不正確、缺少權限或語法錯誤。檢查「系統偏好設定」中的權限,並確認應用程式已安裝。
How does this compare to Shortcuts?
AppleScript 提供對應用程式內部功能的更深層控制。捷徑提供視覺化的工作流程設計。需要精確控制的應用程式特定自動化請使用 AppleScript。