بنقرة واحدة
macos-automation
// 在 macOS 上执行端到端自动化任务:应用控制、系统设置、Finder/剪贴板、Shortcuts、Calendar、Notes、Mail、Messages、通知、Pages,以及基于 AX 的 UI 查询与动作。遇到 AppleScript/JXA、快捷指令编排、UI 自动化、模板执行、权限诊断、脚本安全控制、或需要把自然语言动作转为可执行自动化时,使用此 skill。
// 在 macOS 上执行端到端自动化任务:应用控制、系统设置、Finder/剪贴板、Shortcuts、Calendar、Notes、Mail、Messages、通知、Pages,以及基于 AX 的 UI 查询与动作。遇到 AppleScript/JXA、快捷指令编排、UI 自动化、模板执行、权限诊断、脚本安全控制、或需要把自然语言动作转为可执行自动化时,使用此 skill。
Best practices for Remotion - Video creation in React
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.
| name | macos-automation |
| description | 在 macOS 上执行端到端自动化任务:应用控制、系统设置、Finder/剪贴板、Shortcuts、Calendar、Notes、Mail、Messages、通知、Pages,以及基于 AX 的 UI 查询与动作。遇到 AppleScript/JXA、快捷指令编排、UI 自动化、模板执行、权限诊断、脚本安全控制、或需要把自然语言动作转为可执行自动化时,使用此 skill。 |
优先用统一入口完成任务,同时保留自由脚本模式,确保“能快速落地 + 能深度定制”。
python scripts/check_env.py --prewarm-ax
python scripts/macos_automation.py list-tools
python scripts/macos_automation.py describe-tool --tool run_macos_script
python scripts/macos_automation.py call --tool get_frontmost_app --input-json '{}'
直接调用工具名,让 skill 自行完成“模板选择 + 占位符替换 + 执行”。
python scripts/macos_automation.py call \
--tool run_shortcut \
--input-json '{"name":"启动闪念"}'
当你知道模板 ID,直接调用 run_macos_template,可控性更高。
python scripts/macos_automation.py call \
--tool run_macos_template \
--input-json '{"template_id":"system_launch_app","input_data":{"name":"Reminders"}}'
当模板不覆盖需求时,直接运行 AppleScript/JXA。
python scripts/macos_automation.py call \
--tool run_macos_script \
--input-json '{"script_content":"tell application \"Finder\" to get name of startup disk"}'
先确保 AX 依赖可用,再执行查询或动作。
python scripts/accessibility_query.py \
--payload-json '{"command":"query","locator":{"role":"AXWindow"}}'
若启用自动下载,优先配置 MACOS_KIT_AX_DOWNLOAD_SHA256 做完整性校验。
balanced(默认):阻断关键危险命令。strict:额外阻断 curl | sh 与二进制脚本文件。off:关闭风险扫描,仅在用户明确授权后使用。执行被阻断时,先解释风险并给出等价安全替代方案。
references/tool-surface.mdreferences/coverage-matrix.mdreferences/tool-schemas.mdreferences/config-matrix.mdreferences/template-catalog.mdreferences/ax-strategy.mdassets/knowledge-base/assets/tool-schemas.json