← ClaudeAtlas

mast-sendlisted

List the panes mast has open, and send text or a command into another pane's terminal — another agent, a build shell, a REPL — over mast's OSC 777 channels. Use when running inside mast (the MAST env var is set in mast terminals) and work has to be handed to a pane other than this one, or when replying to an agent running in a different pane. Only works inside a mast terminal.
sjkwon-1023/mast · ★ 0 · Code & Development · score 68
Install: claude install-skill sjkwon-1023/mast
# mast — put a command into another pane Inside a mast terminal `$MAST` is set and the `mast` command is on `PATH`. It delivers text straight into **another pane's stdin**, exactly as if it had been typed there, even when that tab is not the one on screen. ## 1. Find the target ```bash mast ls ``` ``` TAB TITLE WORKSPACE STATUS COMMAND #176 * agent mast running claude #181 build mast running npm run dev #204 api mast running - ``` Use `#<id>` from the TAB column — it is the stable address. A title is only whatever the tab last set with OSC 0, and a shell prompt hook may rewrite it on every prompt. `*` marks your own tab (`$MAST_TAB`, also printed by `mast id`). `COMMAND` is `-` when the tab sits at its prompt, `?` when its shell is out of reach (another WSL distro, a Windows shell). Both halves stop at **your own workspace**: `mast ls` lists only its tabs, and `mast send` reaches only them — a tab in another workspace is unreachable by title and by id alike. ## 2. Send ```bash mast send '#181' 'cargo test' # text, then Enter (CR) as a second write, so the target runs it mast send -l '#181' 'cargo test' # literal: pre-fills the prompt, runs nothing ``` Quote the target — `#` starts a comment in most shells. Everything after it is the text, joined with single spaces, so quote anything your own shell would expand. ## Rules | Rule | Detail | |---|---| | Address | `#<id>` is exact. A bare word is instead a case-insensitive substri