/gaia:toolsfrom gaia
Provides local document search, codebase indexing, web search, and system inspection tools via the gaiacpp MCP server. Guides installation of GAIA and model selection when tools are missing.
Ships in gaia. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This plugin starts gaiacpp --mcp as the gaia MCP server, confined to the
project folder. gaiacpp is GAIA's native agent: one binary of 11 to 19 MB that
starts in under 50 ms. Over MCP it runs no model of its own; it serves tools.
index_document then query_documents find the passages of PDFs,
Word files and text that answer a question, with file and page. PDFs need
pdftotext (poppler) on Windows and Linux.index_codebase then search_code find code across a project.Both rank by keywords, and also by meaning when gaiacpp was started with
--embedding-model.
web_search needs no API key or account; web_fetch reads a page.get_system_info and env_inspect describe the machine.Prefer Claude Code's own tools for reading and editing files. Over MCP, gaiacpp
refuses tools that need approval (shell commands that change something, file
writes), because no one can answer its prompt there.
Follow this when the gaia MCP server shows as failed, when gaiacpp is not
found, or when the gaia agent reports that GAIA is not installed or has no
model. The user installed the plugin, not GAIA itself, so walk them through it.
Check what is there. gaiacpp --version, then ~/.gaia/bin/gaiacpp --version (the installer's folder, which is on PATH only in terminals opened
after the install). Either one working means GAIA is installed: skip to step 3.
Install GAIA, after the user says yes. First say what it does: it puts GAIA
in ~/.gaia (about 100 MB, no model yet) and adds ~/.gaia/bin to PATH. Then
run the installer for their system, reading it before it runs:
irm https://amd-gaia.ai/install.ps1 -OutFile "$env:TEMP\gaia-install.ps1",
read it, then Get-Content "$env:TEMP\gaia-install.ps1" -Raw | iexcurl -fsSLo /tmp/gaia-install.sh https://amd-gaia.ai/install.sh, read it,
then sh /tmp/gaia-install.shIt asks no questions. Builds exist for x64 Windows, x64 Linux and Apple Silicon Macs; on any other system, say so and stop.
Choose a model, with the user. Offer these and let them pick:
~/.gaia/bin/gaia init --yes sets up GAIA's
model server and downloads a model that fits the PC: about 6 GB, more on PCs
with a large GPU. Ask before starting it, and run it in the background.gaia-cli, enters /provider, chooses Fireworks, pastes the key into its
hidden field and picks a model; gaiacpp then runs on that model with that
key. Or write {"provider": "fireworks"} to gaiacpp's settings file
(%APPDATA%\gaiacpp\config.json on Windows, ~/.config/gaiacpp/config.json
elsewhere), which runs DeepSeek V4.1 Flash unless a modelId names another,
and the user sets FIREWORKS_API_KEY themselves where Claude Code will see
it, then restarts Claude Code. Never ask for the key or handle it.{"baseUrl": "<its /v1 address>", "modelId": "<model>"} to the same settings file.Check it works: ~/.gaia/bin/gaiacpp -p "Reply with OK" --output-format json --cwd . prints a JSON record with "status":"success". If not, report
its result, which says what is wrong.
Finish. The gaia agent works now. The gaia MCP server starts once
Claude Code is restarted, which puts ~/.gaia/bin on its PATH. Claude Code
remembers a server that failed for a while, so if gaia still shows as failed
after the restart, the user reconnects it from /mcp.
Check this before sending anything private to GAIA. gaiacpp's settings file
(see Set up GAIA) wins: provider or a baseUrl that is not on this PC means a
cloud or remote model. Without one, it uses GAIA's own model server on this PC
(http://localhost:13305, the model in last_model, else default_model, of
~/.gaia/config.json); when that model is a Fireworks one (fireworks.…), it runs
on Fireworks with the key saved in GAIA.
Every gaiacpp -p run also names its model in the JSON record's model field.
gaiacpp models list lists the models on the server gaiacpp is set to; pass it
no --base-url or --provider, so it reads the same settings. gaiacpp has no
config command; do not guess one.
When the user asks to change the model GAIA runs on, use GAIA's own commands
(~/.gaia/bin/gaia if gaia is not on PATH). Say what each one changes first.
gaia config set default_model <id>, then
gaia init --yes downloads it. It refuses a model this PC cannot hold and says
how much memory it needs. gaia model add <Hugging Face link> adds a model
GAIA does not list.gaia-cli, enters /provider, chooses Fireworks and
pastes the key into its hidden field, then picks a model there; or they set
FIREWORKS_API_KEY themselves and you write the provider (and a modelId, if
they named a model) to gaiacpp's settings file (see Set up GAIA). Cloud models send the conversation
to Fireworks and may cost money; say so.provider and modelId from
gaiacpp's settings file (a leftover cloud modelId is a model the local server
does not have), or choose Local in gaia-cli's /provider.Check the change with step 4 of Set up GAIA.
Never tell anyone to run lemonade-server serve; that command no longer exists.
The gaia agent in this plugin does this: it runs gaiacpp -p "<task>" --output-format json on the model chosen above and returns one result. It refuses
the same tools as the MCP server unless the user asks for
--dangerously-skip-permissions; do not add that flag unprompted.
Every flag: https://amd-gaia.ai/docs/cpp/gaia-agent.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub amd/gaia --plugin gaiaOther plugins' skills for the same job