LogoClawIndex
CasesSkillsAbout
LogoClawIndex

gx - Ghostty terminal control and scripting CLI tool

CLI tool for controlling Ghostty terminals, reading scrollback, sending input, and managing windows, tabs, and splits.

Tags

Updated: 2026-09-14

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • List terminal surfaces
  • Read terminal scrollback text
  • Send text to terminal
  • Send keypress to terminal
  • Approve or deny prompts
  • Interrupt running commands
  • Spawn windows and tabs
  • Split and close terminals

Inputs

  • Terminal target UUID or ID
  • Command text or keystroke
  • Initial working directory path

Outputs

  • Terminal list with UUIDs
  • Terminal scrollback content
  • Accessibility tree debug dump
  • Created terminal surface UUID

Requirements

  • Ghostty version 1.3 or higher
  • macOS Accessibility permission
  • Compiled gx binary on PATH

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
ghostty
terminal
applescript
cli
automation
List terminal surfaces
Read terminal scrollback text
Send text to terminal
Send keypress to terminal
Terminal target UUID or ID
Command text or keystroke
Initial working directory path
Terminal list with UUIDs
Terminal scrollback content
Accessibility tree debug dump