ghostex-cli
Use Ghostex's CLI help as the source of truth instead of relying on remembered
command names or flags.
Core Workflow
Read the current command catalog:
ghostex --help
Read focused help when the catalog points to it:
ghostex automations --help
ghostex quick-actions --help
ghostex browser --help
ghostex server --help
Inspect current state before choosing a target. Prefer JSON where offered:
ghostex sessions --json
ghostex state
Act on an exact project, session, group, automation, or run id. Prefer ids
from JSON output over titles, aliases, or whichever project is focused.
Re-read the relevant state or use the command's assertion/wait operation to
verify the requested result.
Routing
Everyday Ghostex work — sessions, orchestration, automations, quick actions,
chat queues, prompt history, server, diagnostics — is covered by the CLI help
above. Route to a specialized skill only when its domain applies:
- Use
$ghostex-embedded-browser-use for browser panes inside Ghostex.
- Use
$ghostex-browser-use for supported external browser page content.
- Use
$ghostex-computer-use for native desktop application control.
- Use
$ghostex-manage-beads for Project Board bead workflows through the
machine-installed bd CLI.
- Use
$ghostex-fable-56-orchestration for the Fable-planned,
Codex-implemented, Fable-verified multi-pane pipeline.
- Use
$ghostex-auto-rename-session when asked to generate a session title.
- Use
$ghostex-move-codex-session to fork a Codex session into another
folder.
- Use
$ghostex-help to explain how a Ghostex feature works or to change an
app setting for the user.
Keep using this skill's inspect, act, and verify loop alongside the specialized
workflow.
Safety
- Do not guess a command, selector, flag, or JSON shape when current help can
provide it.
- Inspect exact targets before delete, kill, archive, replacement, or bulk
operations.
- Use
--token-stdin for temporary remote tokens; do not put secrets in argv.
- Do not use raw zmx or tmux commands when Ghostex exposes the operation.
- Do not treat a successful process exit as verification when state can be
checked directly.
1---2name: ghostex-cli3description: Use this skill for anything involving Ghostex or the `ghostex`/`gx` CLI: projects and workspaces, terminal panes and sessions, agent orchestration (creating agent sessions, messaging agents, reading their output, queueing prompts, sleeping/waking/killing sessions), scheduled automations, the Kanban/Beads project board, quick actions, session chat and prompt queues, prompt history and previous-session search/resume/fork, server management, UI controls, logs, screenshots, and diagnostics. It teaches help-first command discovery, stable target selection, JSON inspection, safe execution, verification, and routing to Ghostex's more specialized skills.4---56# ghostex-cli78Use Ghostex's CLI help as the source of truth instead of relying on remembered9command names or flags.1011## Core Workflow12131. Read the current command catalog:1415 ```bash16 ghostex --help17 ```18192. Read focused help when the catalog points to it:2021 ```bash22 ghostex automations --help23 ghostex quick-actions --help24 ghostex browser --help25 ghostex server --help26 ```27283. Inspect current state before choosing a target. Prefer JSON where offered:2930 ```bash31 ghostex sessions --json32 ghostex state33 ```34354. Act on an exact project, session, group, automation, or run id. Prefer ids36 from JSON output over titles, aliases, or whichever project is focused.375. Re-read the relevant state or use the command's assertion/wait operation to38 verify the requested result.3940## Routing4142Everyday Ghostex work — sessions, orchestration, automations, quick actions,43chat queues, prompt history, server, diagnostics — is covered by the CLI help44above. Route to a specialized skill only when its domain applies:4546- Use `$ghostex-embedded-browser-use` for browser panes inside Ghostex.47- Use `$ghostex-browser-use` for supported external browser page content.48- Use `$ghostex-computer-use` for native desktop application control.49- Use `$ghostex-manage-beads` for Project Board bead workflows through the50 machine-installed `bd` CLI.51- Use `$ghostex-fable-56-orchestration` for the Fable-planned,52 Codex-implemented, Fable-verified multi-pane pipeline.53- Use `$ghostex-auto-rename-session` when asked to generate a session title.54- Use `$ghostex-move-codex-session` to fork a Codex session into another55 folder.56- Use `$ghostex-help` to explain how a Ghostex feature works or to change an57 app setting for the user.5859Keep using this skill's inspect, act, and verify loop alongside the specialized60workflow.6162## Safety6364- Do not guess a command, selector, flag, or JSON shape when current help can65 provide it.66- Inspect exact targets before delete, kill, archive, replacement, or bulk67 operations.68- Use `--token-stdin` for temporary remote tokens; do not put secrets in argv.69- Do not use raw zmx or tmux commands when Ghostex exposes the operation.70- Do not treat a successful process exit as verification when state can be71 checked directly.