script-kit-window-control

Manage macOS application windows via Accessibility APIs for positioning, resizing, and tiling.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides fine-grained control over macOS application windows, enabling precise positioning, resizing, and management across virtual desktops, automating complex window layouts.

Core Features & Use Cases

  • Window Tiling & Positioning: Quickly tile windows to specific halves, quarters, or custom positions on your screen.
  • Multi-Monitor Support: Seamlessly manage windows across multiple displays.
  • Space Management: Move windows between virtual desktops (Spaces).
  • State Persistence: Remembers and restores window positions.
  • Use Case: Automatically tile your code editor to the left half of your screen and your browser to the right half, then save this layout to restore later.

Quick Start

Use the script-kit-window-control skill to tile the frontmost window to the left half of the screen.

Frequently Asked Questions about script-kit-window-control

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

FAQPage Schema
How do I automate macOS window tiling and positioning for specific screen halves?

Automate macOS window tiling by using Accessibility APIs to position and resize application windows to precise halves, quarters, or custom screen coordinates. This enables automated layout configuration without manual dragging.

Can I move application windows between virtual desktops on macOS automatically?

Move application windows between virtual desktops automatically by executing Space management operations via macOS Accessibility APIs. This facilitates multi-monitor management and virtual desktop operations across displays.

What is the best way to save and restore macOS window layouts across reboots?

Save and restore macOS window layouts by using state persistence features to remember window positions and sizes. This allows you to automatically restore complex multi-window configurations like side-by-side code editors and browsers.

Does macOS Accessibility API support multi-monitor window management and resizing?

macOS Accessibility API supports multi-monitor window management by providing precise control over window positioning and resizing across multiple displays. It facilitates seamless management of application windows in multi-monitor setups.

How to script automated window layouts for code editors and browsers on macOS?

Script automated window layouts for code editors and browsers by leveraging macOS Accessibility APIs to tile windows to specific screen halves. Save the configured layout state to restore the exact positioning later.

When should I use Accessibility APIs for window management instead of manual positioning?

Use Accessibility APIs for window management when you need to automate complex, multi-window layouts across virtual desktops or multiple monitors. It provides precise programmatic control over positioning, resizing, and state persistence that manual dragging cannot achieve.