ghostex-agents

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

A skill for coordinating multiple coding agents through the Ghostex command-line tool. It covers starting agent sessions, choosing models, sending tasks, reading replies, and closing sessions.

In plain words
What is it for?
Use it when one agent needs another agent to perform part of a task or when agents need to exchange messages.
Why use it?
It removes the need to manage separate agent conversations manually or rely on remembered command syntax.

Skill for Claude CodeCodex

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

Good fit Use it when one agent needs another agent to perform part of a task or when agents need to exchange messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maddada/ghostex/ghostex-agents
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-agents
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-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-agents/github.svg)](https://agentmods.dev/skills/maddada/ghostex/ghostex-agents)
Your own site
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-agents"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-agents/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-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-agents"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,901 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.
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.00151 $0.03901
Opus 5.5 $0.00060 $0.01560
Sonnet 5.5 $0.00030 $0.00780
Haiku 4.5 $0.00015 $0.00390

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

Security

Grade A, and why

ghostex-agents 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 today.

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-agents/SKILL.md · 285 lines

How it starts

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

ghostex-agents

Ghostex lets one agent launch, message, read, and close other agent sessions through the ghostex CLI (gx is the same binary). The CLI help is the source of truth for every command, flag, and JSON shape. Read it before you act, and never rely on command shapes you remember from an earlier run.

Read the help first

ghostex agents --help   # who am I, which agents exist, create, list, send, read, close
ghostex --help          # full catalog: create-agent --model/--effort, wait-for-text,
                        # read-session-chat, select-session-chat-model, queues, sleep/wake

ghostex agents --help covers identity, recipients, the sender block other agents see (after the message body in current versions, before it in older ones), delivery modes (default, interrupt, queue), reading replies, and closing. ghostex --help lists the session-level verbs around it, including the one that starts an agent with a specific model and effort for that session only, and the one that changes model or effort on a session that already exists. If a verb in this skill is missing from the help on this machine, the installed Ghostex is older than the verb: tell the user to update instead of guessing a replacement.

A pasted Copy Details block

When the user pastes a block that starts with Ghostex Session (from the sidebar's Copy Details), it describes another session: its agent, title, Global Ref, Agent Session ID, zmx name, and the project and path it works in. Use the Global Ref for every send, read, wait, and close, and treat the path as that agent's working folder when you agree on file ownership. The block does not say whether the session is running or busy: check ghostex agents list --all --json before you send.

When the user wants one agent to run the work

When the user wants an agent that keeps handing work to other agents and reporting back ("be my lead on this", "run these as parallel threads and tell me when they are done"), a Ghostex orchestrator does that with supervision built in: Ghostex sends it each thread's final message and every question a thread is stuck on, so nothing has to poll. Start one with ghostex orchestrator create. Older Ghostex releases call it a coordinator and name the same verbs ghostex coordinator … (from 2026-09-30 on), so if ghostex orchestrator --help is missing, use ghostex coordinator instead; if both are missing, the installed Ghostex is older, so use the workflow below instead. If you are an orchestrator yourself, follow ghostex orchestrator guide (older releases: ghostex coordinator guide) rather than the waiting habits below. Name a thread after its task in 3 to 6 words. If you are a thread and your orchestrator's message starts a task your title does not describe, rename yourself first with ghostex orchestrator rename-self "<3 to 6 words>" (a release newer than 10.23.0, so 10.24.0 or later); if it says the user renamed you, keep that name. Rename a thread only that way: ghostex rename-command records the user's own rename, which then locks the name, and ghostex rename-session skips the user's-rename check. Run by an orchestrator, ghostex agents create also links the new session as one of its threads. When the user wants a separate session they chat to directly, add --standalone (not linked, no reports to the orchestrator), and use ghostex orchestrator unlink <thread-ref> to turn an existing thread into one (both need 10.24.0 or later).

Read the full file on GitHub · 285 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. today Changed d97c1ae360a3
  2. 9d ago Changed · +5 lines 4fd57719cf8d
  3. 10d ago Changed · +32 lines 518483afa4ae
  4. 15d ago Changed · +26 lines ff5bf1ef8005
  5. 19d ago Changed · +3 lines 1591427461b8
  6. 20d ago Changed · +3 lines 39fd70511799
  7. 21d ago Changed · +5 lines 9ae3ec738262
  8. 24d ago Changed · +12 lines 56dbab4a1287
  9. 28d ago Changed · +32 lines c14372004a44
  10. 1mo ago First seen · 167 lines · 151 tokens per session scan A b99511f94a60

Subscribe to this mod's changes

ghostex-agents is a skill published in the GitHub repository maddada/Ghostex (1,420 stars, last pushed today), licensed MIT. It adds 151 tokens to every session and 3,901 once invoked, about $0.0006 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-09-25.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens