Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Core Tools

GHOST follows a “skills over tools” philosophy — prefer workflow files and existing tools over adding new tool APIs. These core tools cover most needs.

run_shell_command

Execute shell commands on the host system.

ParameterTypeRequiredDescription
commandstringyesShell command to execute
timeout_msintegernoTimeout in milliseconds

read_file

Read file contents with optional pagination.

ParameterTypeRequiredDescription
pathstringyesFile path
offsetintegernoStarting line number
limitintegernoNumber of lines to read

Returns contents with line numbers for precise editing.

write_file

Create or overwrite a file.

ParameterTypeRequiredDescription
pathstringyesFile path
contentstringyesFile contents

file_edit

Make targeted string replacements in a file.

ParameterTypeRequiredDescription
pathstringyesFile path
old_stringstringyesText to find
new_stringstringyesReplacement text

todo

Session-scoped working memory for tracking multi-step tasks.

ActionDescription
planCreate a TODO list with items
updateUpdate a single item’s status
batch_updateUpdate multiple items at once

agent_control

Spawn and manage autonomous agents.

ActionDescription
startSpawn a new agent with name and prompt
continueSend follow-up instructions
statusCheck agent progress
stopTerminate an agent

See Agents for details.