复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
This is the open-source content repository behind
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
This is the open-source content repository behind Skill Store. It stores every approved Agent Skill, the records that go with it, and the automated security audits published with each skill.
This repo is a companion to the Skill Store platform, not the place to submit skills. Skills are added through skillstore.io — its review pipeline writes to this repo automatically. Please do not open a pull request here to add a skill; PRs adding skills will be closed. See Contributing a skill below.
The recommended way to install any skill is the skillstore CLI — one command works for both Claude Code and Codex:
npx skillstore add author/skill-name
For example:
npx skillstore add aiskillstore/code-review
It downloads the skill and drops it into the right skills/ directory for your tool. Claude Code auto-discovers it; for Codex, restart the session.
Prefer to do it by hand, or installing via Claude Web? See the full Installation Guides for every method (CLI, manual, and ZIP upload) and the scope directories (~/.agents/skills/, .claude/skills/, ~/.claude/skills/, .codex/skills/, …).
Submit through the platform — not through a pull request:
SKILL.md.SKILL.md — the skill definition (required, per the Agent Skills spec)LICENSE (recommended)Every submission is scanned automatically before it can be published. The audit flags things like:
eval, exec, raw system commands)Security analysis is report-only: findings inform maintainers and users, but a risk result does not automatically block an otherwise approved skill from being published. See our Security Trust Center for the methodology, limitations, and risk-level definitions.
Live Security Passport example:
.
├── skills/ # Approved, published skills (one folder each, with SKILL.md)
├── pending/ # Submissions awaiting review
├── packages/
│ ├── cli/ # The `skillstore` CLI (npx skillstore add …)
│ └── skillstore/
├── schemas/ # JSON schemas for skill records
├── scripts/ # Maintenance & scoring scripts
└── .github/workflows/ # Submission, audit, and sync automation
The contents of this repo are maintained by Skill Store's automated pipeline. Manual changes are limited to maintainers.
The marketplace catalog is MIT-licensed. Individual skills carry their own licenses — check each skill's LICENSE file.
name: mac-automation
description: "This 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\"."
author: 7Sageer, Claude
version: 0.0.5This skill enables control of macOS applications and system functions through AppleScript execution via the osascript command.
Execute AppleScript commands using the Bash tool with osascript:
osascript -e 'AppleScript code here'
For multi-line scripts:
osascript <<'EOF'
tell application "App Name"
-- commands here
end tell
EOF
Many third-party apps support AppleScript. Common categories include development tools (iTerm2, VS Code), task management (OmniFocus, Things), media players (Spotify), browsers (Chrome), and communication tools. To check if an app supports AppleScript, open Script Editor to browse its dictionary, or try basic commands like tell application "AppName" to get name.
Permission Prompts: First-time use of certain apps triggers macOS permission dialogs. Inform user if automation fails due to permissions.
Sensitive Operations: For destructive operations (delete, shutdown), confirm with user before executing.
Privacy-Sensitive Data: When reading emails or calendar events, only display what user explicitly requests.
Common errors and solutions:
"Application not found" → Check app name spelling"Not authorized" → Guide user to System Preferences > Privacy & Security"Can't get..." → Resource doesn't exist, handle gracefully\" for quotes in stringsosascript -e 'display notification "消息内容" with title "标题"'
osascript -e 'tell application "AppName" to activate'
# Get volume
osascript -e 'output volume of (get volume settings)'
# Set volume (0-100)
osascript -e 'set volume output volume 50'
# Mute
osascript -e 'set volume output muted true'
# Get clipboard
osascript -e 'the clipboard'
# Set clipboard
osascript -e 'set the clipboard to "text"'
For detailed AppleScript patterns by application, consult:
references/mail-applescript.md - Email operations: send, read, search, draftsreferences/reminders-applescript.md - Reminder operations: create, list, completereferences/calendar-applescript.md - Calendar operations: events, calendarsreferences/safari-applescript.md - Safari operations: URLs, tabs, JavaScriptreferences/finder-applescript.md - Finder operations: files, foldersreferences/system-applescript.md - System controls: volume, apps, clipboardWorking examples in examples/:
daily-briefing.applescript - Get today's calendar and unread emailsquick-note.applescript - Create reminder from clipboardScripts in scripts/:
run-applescript.sh - Wrapper for safe AppleScript execution| User Request | Action |
|---|---|
| "发送邮件给xxx" | Use Mail to create and send |
| "提醒我明天..." | Create Reminder with due date |
| "添加日历事件" | Create Calendar event |
| "打开xxx网站" | Safari open URL |
| "调低音量" | Set volume lower |
| "显示通知" | Display notification |
| "打开文件夹" | Finder reveal |
If AppleScript fails:
For permission issues, guide user to: System Preferences > Privacy & Security > Automation
When an AppleScript execution fails or produces unexpected results, follow this protocol to improve the skill's reference documentation:
references/ directoryWhen you identify a fixable issue in the reference documentation:
For incorrect examples:
For missing edge cases:
For common pitfalls:
Use the Edit tool to modify reference files:
Edit tool on: references/{app}-applescript.md
- Fix incorrect code examples
- Add warning notes for known issues
- Include error messages and solutions
When updating reference files, maintain:
After significant improvements:
This protocol ensures the skill continuously improves based on real-world usage and errors encountered.
评论 (0)
暂无评论,成为第一个评论者吧!