script-kit-platform

Manage macOS system actions, global hotkeys, and frontmost application tracking via AppleScript.

28|6|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/johnlindquist/script-kit-next --skill script-kit-platform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: script-kit-platform
Source: https://github.com/johnlindquist/script-kit-next/tree/main/.opencode/skill/script-kit-platform
Command: npx skills add https://github.com/johnlindquist/script-kit-next --skill script-kit-platform

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides deep integration with your operating system, allowing you to control system actions, manage windows, and respond to global hotkeys, streamlining your workflow and automating repetitive tasks.

Core Features & Use Cases

  • Global Hotkey Management: Define and trigger scripts or system actions with custom keyboard shortcuts.
  • System Actions: Execute commands like locking your screen, sleeping your computer, toggling dark mode, or emptying the trash.
  • Window & App Control: Configure window behavior, track the frontmost application, and manage app states.
  • Use Case: Set a global hotkey to instantly toggle dark mode, or create a shortcut to open your system preferences to the display settings pane.

Quick Start

Use the script-kit-platform skill to toggle dark mode on your system.

Frequently Asked Questions about script-kit-platform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register global hotkeys to trigger scripts on macOS?

Execute macOS system actions like locking your screen, sleeping your computer, or toggling dark mode by sending commands via AppleScript. The integration manages these power states and UI elements directly through native operating system calls.

Can I track the frontmost application and manage window behavior on macOS?

This platform integration operates on macOS using native AppKit and Objective-C runtime functionality. It includes no-op fallbacks for other platforms, meaning system actions and global hotkeys will safely bypass execution without errors on non-macOS environments.

How do I configure keyboard shortcuts to open specific system preferences panes?

Configure keyboard shortcuts to open system preferences by assigning custom global hotkeys to specific settings panes. You can define shortcuts that directly target and launch display settings or other system preference sections via AppleScript execution.

What are the limitations of using AppleScript for system automation on macOS?

AppleScript system automation on macOS is limited to native platform capabilities and requires AppKit and Objective-C runtime support. It provides no-op fallbacks for unsupported platforms, meaning deep system integration features like UI manipulation will not function outside macOS.