/macos:arrange <what you want, in plain language>from gener8v macOS utilities
Turn a plain-language window request ("Chrome on the right monitor in three columns with wide gutters", "two Terminal windows in the left half of my screen", "the VS Code window with the docs in the top-right corner") into exact /macos:tile commands. Reads the live monitor and app inventory, plans, dry-runs, prints the commands, and applies on confirmation. Use whenever the user describes how they want an app's windows laid out.
Ships in gener8v macOS utilities. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/macos:tile commandsRequest: $ARGUMENTS
Live inventory, captured just now:
!${CLAUDE_PLUGIN_ROOT}/skills/tile/tile.js --relay --list 2>&1
!${CLAUDE_PLUGIN_ROOT}/skills/tile/tile.js --relay --layouts 2>&1
Run it with the Bash tool exactly in this form — absolute path, invoked directly. It is an executable script with its own interpreter line; never prefix it with node, osascript, sh or cd, and never use a relative path. Only this exact executable is pre-approved:
${CLAUDE_PLUGIN_ROOT}/skills/tile/tile.js "Google Chrome" --screen 2 --cols 3 --gap 4% --dry-run
| Option | Meaning |
|---|---|
"<App Name>" | exact name from the inventory, quoted (case-insensitive; bundle id also works) |
--screen N | monitor index from the inventory. Omit to use the monitor under the app's front window |
--region R | only part of that monitor: left, right, top, bottom, top-left, top-right, bottom-left, bottom-right, left-third, middle-third, right-third, left-two-thirds, right-two-thirds, or x,y,w,h in percent of the usable area (0,0,50,100) |
--front N | only the N frontmost windows; the others stay where they are |
--match TEXT | only windows whose title contains TEXT (case-insensitive) |
--cols N | force N columns. Omit for automatic (chosen from window count and the shape of the area) |
--gap SIZE | gutter between windows and at the edges: 2.5% of the monitor's shorter side (default) or pixels (36) |
--margin SIZE | outer gutter only, when it should differ from --gap |
--dry-run | print the plan, move nothing |
--save NAME | also save this command as layout NAME; --add NAME appends a further step to it |
--run NAME | run every step of a saved layout, in order (--dry-run applies to all) |
One invocation tiles one app's chosen windows into one area. Several apps, or the same app into two areas, means several invocations.
Code; "Chrome" → Google Chrome; "terminal" → Terminal unless another terminal app is also running, then ask. If nothing matches, or the app has 0 on-screen windows, say so and stop.--screen N from the inventory tags. "The left side / left half of my monitor", "on the left of the screen", "the top right corner", "the bottom half", "the middle third" → --region. A bare "on the left" with more than one monitor → the left monitor; with one monitor → --region left. Both can combine: "left half of the right monitor" → --screen 2 --region left. Nothing mentioned → omit both.--front N. A window described by content ("the one with the credentials project", "the docs window") → --match TEXT with a word that will appear in its title. "All" or no count → no flag. "Smaller" / "bigger" are achieved by the region and the count; there is no explicit size option.--cols = the number of windows being tiled. "Stacked" / "rows" / "on top of each other" → --cols 1. "Two columns" / "3 across" → that number. "Grid" or nothing → omit --cols.--gap 0. "Tight" / "small" → --gap 1%. "Wide" / "big" / "roomy" → --gap 4%. "Huge" → --gap 6%. Nothing → omit (default 2.5%). Explicit numbers pass through as given (24 px, 3%). A separate edge margin → --margin.--run NAME. If the request asks to save, remember or name the arrangement ("save this as dev", "remember this layout") → append --save NAME to the first command and --add NAME to each further one; take NAME from the request, or propose a short one and say so.Layout: lines, say which you recommend and why (window sizes usually decide it), and ask which to apply./macos:tile Terminal --front 2 --region left
For a saved layout: /macos:tile --run dev. When saving: /macos:tile Terminal --front 2 --region left --save dev.--dry-run appended. Show each result's Monitor: and Layout: lines and its window lines. If a dry run reports a problem (no windows, no title match, ambiguous app, cells too small), fix the plan and repeat from step 2. If --front picked windows the user did not mean, say which titles it picked — the user can click the wanted windows to bring them to the front, or you can switch to --match. Never substitute your own arithmetic for a dry run.--dry-run, in order, and report each Tiled … of … summary line; mention any line marked ✗ with where the window settled.Do not run anything other than tile.js. Do not guess an app name that is not in the inventory.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gener8v/gener8v.claude-skills.macos --plugin macos2 skills in this plugin
Other plugins' skills for the same job