aiskillstore/marketplace / skills/7sageer/mac-automation
mac-automation
VerifiedThis skill should be used when the user requests Mac automation via AppleScript, including: Mail operations, Reminders/Calendar management, Safari control, Finder operations, system controls (volume, brightness, notifications, app launching), third-party apps (development tools, task management, media players), or mentions "AppleScript" or "automate Mac".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.5 KB |
| examples/daily-briefing.applescript | other | 1.8 KB |
| examples/quick-note.applescript | other | 940 B |
| references/calendar-applescript.md | markdown | 7.8 KB |
| references/finder-applescript.md | markdown | 8.0 KB |
| references/mail-applescript.md | markdown | 5.4 KB |
| references/reminders-applescript.md | markdown | 6.9 KB |
| references/safari-applescript.md | markdown | 6.5 KB |
| references/system-applescript.md | markdown | 8.2 KB |
examples/daily-briefing.applescript
View on GitHub#!/usr/bin/env osascript
-- Daily Briefing: Get today's calendar events and unread emails
-- Get today's calendar events
tell application "Calendar"
set todayStart to current date
set hours of todayStart to 0
set minutes of todayStart to 0
set seconds of todayStart to 0
set todayEnd to todayStart + 1 * days
set eventList to ""
repeat with cal in calendars
set todayEvents to (events of cal whose start date ≥ todayStart and start date < todayEnd)
repeat with evt in todayEvents
set eventTime to time string of (start date of evt)
set eventList to eventList & " • " & eventTime & " - " & (summary of evt) & linefeed
end repeat
end repeat
if eventList is "" then
set eventList to " 今天没有日程安排" & linefeed
end if
end tell
-- Get unread email count and subjects
tell application "Mail"
set unreadCount to unread count of inbox
set emailList to ""
if unreadCount > 0 then
set unreadMsgs to (messages of inbox whose read status is false)
set maxShow to 5
set showCount to 0
repeat with msg in unreadMsgs
if showCount < maxShow then
set emailList to emailList & " • " & (sender of msg) & ": " & (subject of msg) & linefeed
set showCount to showCount + 1
end if
end repeat
if unreadCount > maxShow then
set emailList to emailList & " ... 还有 " & (unreadCount - maxShow) & " 封未读邮件" & linefeed
end if
else
set emailList to " 没有未读邮件" & linefeed
end if
end tell
-- Format output
set output to "📅 今日日程:" & linefeed & eventList & linefeed
set output to output & "📧 未读邮件 (" & unreadCount & "):" & linefeed & emailList
return output
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |