StarryStudio emblemSTARRY STUDIO
masil

masilQuickstart

Dev Preview5 Steps

Install masil alongside your existing tmux, launch your first managed coding agent, and verify sidebar controls, durable receipts, and session snapshots in five minutes.

Before you begin (2)
  • macOS 15+ (Apple Silicon) or Linux (Debian 13 / Ubuntu 24.04 x86_64)
  • At least one coding-agent CLI such as Claude Code, Codex, or OpenCode (or plain shells to test the core)
Jump to a step0 / 5 steps
  1. 1.Install masil and run doctor
  2. 2.Start your first session with the mouse UI layer
  3. 3.Launch an agent and open the sidebar or desk
  4. 4.Send guarded prompts and check receipts
  5. 5.Save sessions, export hooks, and reuse TOML layouts
  1. STEP 11 min

    Install masil and run doctor

    Install both binaries without modifying system tmux, then inspect your local environment with masil-agent doctor.

    • Install via Homebrew on macOS or from a verified release archive / source build on Linux.
    • masil-agent doctor inspects binaries, operation store, and detected providers offline with zero background processes.
    brew tap Ochichan/masil https://github.com/Ochichan/masil
    brew install --HEAD Ochichan/masil/masil
    masil-agent doctor
    TIPmasil -V intentionally prints tmux next-3.9 for script compatibility. Check masil-agent --version for the controller version.
    VERIFYmasil-agent doctor outputs valid JSON showing your installed binaries and detected providers.
  2. STEP 21 min

    Start your first session with the mouse UI layer

    Launch masil with default settings to try the masil menu, + split button, Settings screen, and clickable pane titles.

    • Running masil loads the mouse UI layer before your ~/.tmux.conf without overriding standard tmux bindings.
    • Click a pane title to rename it, or open Settings to pick English/Korean and Dark/Light/Terminal themes.
    • Whenever you want plain tmux without the UI layer, launch masil -f /dev/null.
    masil new-session -s work
    VERIFYThe status bar shows masil, +, and Settings controls while standard C-b tmux shortcuts still work.
  3. STEP 31 min

    Launch an agent and open the sidebar or desk

    Start a coding agent in a split pane without any background daemon, then inspect it via the 34-column sidebar and : command palette.

    • masil-agent agent start passes an explicit argument vector directly instead of typing raw shell strings.
    • Agents you started manually also appear automatically; name them with attach %N NAME.
    • Inside agent sidebar or agent ui, press : for the unified command palette with Korean initial-consonant search.
    masil-agent agent start backend codex --cwd ~/work/service
    masil-agent agent start review claude --cwd ~/work/service --split %0
    masil-agent agent list
    masil-agent agent sidebar
    VERIFYYour agents appear in the sidebar; clicking or pressing Enter inspects details and jumps straight to the pane.
  4. STEP 41 min

    Send guarded prompts and check receipts

    Deliver prompts only when the foreground agent is idle and read capability evidence accurately.

    • prompt verifies that the pane still runs the same idle process before pasting and submitting.
    • If delivery cannot be confirmed, masil records outcome_unknown so you can reconcile safely without duplicate prompts.
    masil-agent agent prompt backend 'run the test suite'
    masil-agent agent wait backend --state idle --timeout 600
    masil-agent agent capabilities backend
    VERIFYcapabilities separates declarations, live_evidence, and known_limitations clearly.
  5. STEP 51 min

    Save sessions, export hooks, and reuse TOML layouts

    Snapshot your workspace for instant recovery and optionally wire lifecycle hooks or declarative TOML layouts.

    • Press prefix C-s to save sessions (enabling 15-minute autosave afterward) and prefix C-r to restore from a menu.
    • For tighter lifecycle status (such as Claude Code streaming), export hook files via integration export and register them manually.
    masil-agent agent integration export claude --directory ~/.config/masil/hooks
    masil-agent session save
    masil-agent layout plan backend
    VERIFYsession list shows your snapshot and layout plan previews changes before applying anything.

Essential keyboard shortcuts

KeysAction
C-bDefault tmux prefix (existing config preserved)
prefix C-sSave all sessions (starts 15-minute autosave after first manual save)
prefix C-rOpen saved-session restore menu
:Open unified command palette in agent ui / sidebar
j / k · EnterNavigate agent list and open details

Troubleshooting

masil -V prints tmux next-3.9.

Intentional for compatibility with existing tmux scripts. Check masil-agent --version for the agent tool version.

New features report mismatch against an older running server after upgrade.

Updates leave running servers alive. Save with masil-agent session save before restarting, or test on a separate socket via masil -L upgrade-check -f /dev/null.

Claude appears idle while still streaming a response.

Export and register the Claude hook via masil-agent agent integration export claude, then start a fresh managed run.