yabai

Configures yabai macOS tiling window manager for automated window management via CLI commands and skhd keybindings.

Updated Oct 16, 2022
One-click install
npx skills add https://github.com/deferred/dotfiles --skill yabai-deferred
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yabai
Source: https://github.com/deferred/dotfiles/tree/main/.agents/skills/yabai
Command: npx skills add https://github.com/deferred/dotfiles --skill yabai-deferred

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you configure and utilize yabai, a powerful tiling window manager for macOS, to automate window placement, organization, and keyboard-driven workflows.

Core Features & Use Cases

  • Configuration Assistance: Guides you in writing and debugging yabairc files.
  • Command Execution: Provides correct yabai CLI commands for managing windows, spaces, and displays.
  • Rule & Signal Setup: Helps set up automatic window behaviors and custom event reactions.
  • Use Case: You want to automatically assign all your browser windows to Space 2 and your code editor windows to Space 1. This Skill can help you write the necessary yabai rules.

Quick Start

Use the yabai skill to focus the window to the west of the current one.

Frequently Asked Questions about yabai

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

FAQPage Schema
How do I configure a tiling window manager on macOS to automatically place applications into specific spaces?

You can set up application rules in your yabairc file to automatically assign browser windows to Space 2 and code editors to Space 1. This Skill guides you in writing and debugging those configuration rules.

What is the best way to manage window layouts using keyboard shortcuts on macOS?

Integrating yabai with skhd keybindings is the best way to manage window layouts using keyboard shortcuts on macOS. This Skill provides the necessary commands and integration steps to control windows, spaces, and displays directly from your keyboard.

Does yabai support different layout modes like stacking and floating alongside binary space partitioning?

Yes, yabai supports binary space partitioning, stacking, and floating layouts. This Skill helps you configure and switch between these different layout modes to match your specific window organization workflow.

How do I write yabai signals and rules to trigger custom event reactions for window management?

You write yabai signals and rules in your configuration file to trigger custom event reactions and automate window behaviors. This Skill assists in setting up these automatic actions based on specific application events.

Can I use yabai to execute CLI commands for moving windows across different displays and spaces?

Yes, you can use yabai to execute CLI commands for managing windows, spaces, and displays. This Skill provides the exact command syntax needed to move and focus windows across your macOS environment programmatically.

Why do I need skhd to complement my yabai tiling window manager setup?

You need skhd to complement yabai because skhd provides the keyboard shortcut integration necessary to trigger yabai commands efficiently. This Skill supports setting up skhd keybindings to execute your tiling window management operations.