Skip to content
Stuck? Ask Ghostex AI from the sidebar menu.Learn how
Ghostex
Esc
↑↓navigate↵open⌘Jpreview
On this page

Agents and Agents Hub

Choose your agents, install their CLIs, add your own, and keep their skills and rules in one place.

Settings > Agents

Every agent has a switch. Turn on the ones you use and they appear in the New session menu, the sidebar’s agent menu and on your phone. Drag the rows to set their order. Agents you never used wait under More agents.

Expand an agent’s row to:

  • Install or update its CLI, with the method its makers recommend. Update available shows on the row when there is a newer version, and Settings > Updates updates them all at once.
  • Change its name, command, permission mode, and default view (Chat or Terminal).
  • Duplicate it as a custom agent.

When an agent’s CLI is missing or it needs a hook, its row says so with a button to fix it, and Fix all fixes every one. Once you’ve connected another computer, the Machine picker at the top of the page manages that computer’s agents.

Your own agents

Add custom agent, at the end of the list, adds any command-line agent, or a variant of a built-in one with other flags. Works like gives it that agent’s logo, chat view, resume hook and permission handling.

Defaults

  • Remember the agent you pick: whether a project’s new-session button starts the agent you last picked in that project, in its Space, or everywhere.
  • Default Prompt Agent: the agent Ghostex uses when it writes a prompt for you, like a PR review, or the help chat.
  • Title Generation Agent: a small, cheap model that names sessions. You can also give it your own command.
  • Agent approvals: whether supported agents ask before editing files or running commands. Projects can override it.
  • Trust project folders automatically (off by default): when an agent asks “Do you trust this folder?”, the chat shows the question as a card. Turn this on to have Ghostex answer it for your projects and their worktrees. Turning it on asks for Touch ID or your password.

Session resume hooks

Ghostex follows Claude Code, Codex and OpenCode on its own. Other agents use a small hook, so a session comes back exactly where it was after sleep, a reload or a restart, and the chat and notifications know when the agent is working or needs you. Turn on Install the hook when I turn on an agent to skip the question.

From a terminal: ghostex agent-cli status, ghostex agent-cli install <agent> and ghostex agent-cli update <agent>.

Agents Hub

Agents Hub, in the sidebar menu (the three lines at the top of the sidebar), lets you browse and edit the files your agents read, in five tabs (Cmd+1 to Cmd+5):

  • Skills: each skill once, however many agents have it, with the agents that use it.
  • MDs: your shared agent instructions and each profile’s instruction files. Edit one and press Cmd+S to save.
  • Hooks and Configs & MCPs.
  • Agent Sync: see below.

Agent Sync

Agent Sync keeps one copy of your skills, rules and hook scripts in ~/.agents and points every agent on the computer at it. Its overview says how many agents are out of sync and why, in plain words.

Review and fix shows a plan before anything changes. Nothing is deleted: anything in the way is moved to a backup folder.

From a terminal: ghostex agent-sync status, ghostex agent-sync plan and ghostex agent-sync apply --yes.

To keep agents and skills the same on all your computers, see Sync between computers.

Was this page helpful?