ghostex-cli

ghostex-cli is a skill for Claude Code, Codex from maddada/Ghostex. It costs 135 tokens per session (790 once invoked), scanned A, original, MIT.

A guide for using Ghostex and its gx command-line tool to manage projects, workspaces, terminal sessions, agents, automations, and board items.

In plain words
What is it for?
It helps inspect Ghostex state, create and manage agent sessions, send prompts, schedule automations, use quick actions, and diagnose the server.
Why use it?
It reduces mistakes by requiring the current CLI help and exact resource identifiers to be checked before taking actions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit It helps inspect Ghostex state, create and manage agent sessions, send prompts, schedule automations, use quick actions, and diagnose the server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maddada/ghostex/ghostex-cli
About the project

Ghostex is a developer workspace for running and supervising multiple AI coding agents, with separate chats, command-line views, and persistent sessions in a Rust-based desktop shell. Developers use it to switch between agents, review work, preview pages, and continue sessions from mobile devices.

maddada/Ghostex · 1,420 stars · on GitHub · ghostex.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add maddada/Ghostex --skill ghostex-cli
Clone the repo
git clone --depth 1 https://github.com/maddada/Ghostex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghostex-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-cli/github.svg)](https://agentmods.dev/skills/maddada/ghostex/ghostex-cli)
Your own site
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-cli"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ghostex-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-cli"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00135 $0.00790
Opus 5.5 $0.00054 $0.00316
Sonnet 5.5 $0.00027 $0.00158
Haiku 4.5 $0.00014 $0.00079

Measured 10d ago against content hash 2efad5d18416, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ghostex-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ghostex-cli/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ghostex-cli

Use Ghostex's CLI help as the source of truth instead of relying on remembered command names or flags.

Core Workflow

  1. Read the current command catalog:

    ghostex --help
    
  2. Read focused help when the catalog points to it:

    ghostex automations --help
    ghostex quick-actions --help
    ghostex browser --help
    ghostex server --help
    
  3. Inspect current state before choosing a target. Prefer JSON where offered:

    ghostex sessions --json
    ghostex state
    
  4. Act on an exact project, session, group, automation, or run id. Prefer ids from JSON output over titles, aliases, or whichever project is focused.

  5. 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-spaceo to drive Mac apps on SpaceO's hidden virtual displays, out of the user's way.
  • Use $ghostex-manage-beads for Project Board bead workflows through the machine-installed bd CLI.
  • Use $ghostex-agents when launching, messaging, reading, and verifying other agents (start from ghostex agents --help), when reading or searching another session's thread, and when a session can't start or is stuck (ghostex accounts, ghostex agents switch-account, ghostex agents reload; releases newer than 10.23.0, so 10.24.0 or later).
  • 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.

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +2 lines 2efad5d18416
  2. 23d ago Changed · +2 lines 43de8046bc7e
  3. 1mo ago Changed · +1 lines 28cba3023b53
  4. 1mo ago Changed d4921cc7c573
  5. 1mo ago Changed · +2 lines c732ee683ea9
  6. 1mo ago First seen · 80 lines · 135 tokens per session scan A b6f6dead1222

Subscribe to this mod's changes

ghostex-cli is a skill published in the GitHub repository maddada/Ghostex (1,420 stars, last pushed today), licensed MIT. It adds 135 tokens to every session and 790 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

story-readiness

Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.

Donchitos/Claude-Code-Game-Studios · 48 tokens

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

qa-project-bootstrap

Onboard a new QA engineer to an existing codebase, or audit an existing test architecture. Produces a 30-day ramp plan: codebase orientation, framework walkthrough, test architecture audit, mentorship pairing, and first-test guidance. Use when: "QA onboarding," "new tester," "ramp up," "test architecture audit,"…

petrkindlmann/qa-skills · 124 tokens

handle-linkedin-connection-request-signal

Use this skill when someone sends a team member an inbound LinkedIn connection request. An inbound request is a deliberate, ACTIVE first-party intent signal — meaningfully stronger than a passive profile view — and it deserves different scoring rules. The skill resolves and enriches the requester, gates them through…

swan-gtm/gtm-skills · 160 tokens