Skip to content

Configuration

~/.config/ghost/config.toml
[coding]
model = "fast" # Use a different model alias for the Puppet Master

The model field is optional. If set, the Puppet Master uses this model alias instead of the default. This lets you use a faster or cheaper model for interactive coding while keeping a stronger model for your GHOST’s main chat.

If not set, the Puppet Master uses [models].default.

The Puppet Master has access to the same tools as your GHOST:

ToolPurpose
file_readRead file contents
file_writeCreate new files
file_editTargeted edits to existing files
shellBuilds, tests, git, any shell command
search_notesQuery the knowledge base
search_referencesSearch reference documents
web_searchSearch the web
web_fetchFetch and extract web page content

All file paths resolve relative to the session’s working directory. The Puppet Master can’t accidentally edit files outside the repo.

Summon the Puppet Master for a new coding session.

Terminal window
ghost hack start <dir> [--prompt "task"] [--channel-id <id>]
ArgumentDescription
dirWorking directory (relative to workspace or absolute)
--promptInitial message for the Puppet Master
--channel-idDiscord channel ID for takeover (set by GHOST)

Prints the coding_session_id, session_id, and working_dir on success.

Resummon the Puppet Master for a previous session.

Terminal window
ghost hack resume <session_id> [--prompt "task"] [--channel-id <id>]

The Puppet Master returns with the full conversation history preserved.

List recent coding sessions.

Terminal window
ghost hack list

Shows up to 10 recent sessions. Active sessions are marked with *.