Agent skill

Gaia Tui Manual

by amd in amd/gaia

The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control API, choose a local or cloud model provider, and read its logs.

MITAuto-check passedDevelopment

Install Gaia Tui Manual

skills CLI
$ npx skills add amd/gaia --skill gaia-tui-manual -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install amd/gaia gaia-tui-manual --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gaia-tui-manual .claude/skills/gaia-tui-manual && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gaia-tui-manual
GitHub stars
1.6k
Token cost
~866 tokens
SKILL.md length
417 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control API, choose a local or cloud model provider, and read its logs.

  • Works in 5 steps: The agent subprocess outlives your… → keys takes an array. {"keys": ["p"]}. A… → It needs a real pty. script fails on a… → …
  • Documenting the TUI
  • SKILL.md covers The five things that waste the… and Before reporting a TUI bug
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gaia Tui Manual is an agent skill from amd/gaia. The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control API, choose a local or cloud model provider, and read its logs. Use when running, testing, debugging, or documenting the TUI, when a preflight row blocks a launch, when driving the TUI from a script or assistant, or when a TUI question would otherwise be answered by guessing at the Go source.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Build AI agents for your PC. The licence is MIT.

When your agent uses it

  • Documenting the TUI
  • A preflight row blocks a launch
  • Driving the TUI from a script
  • A TUI question would otherwise be answered by guessing at the Go source

Example prompts

  • “/gaia-tui-manual”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. The agent subprocess outlives your edits. gaia-tui spawns gaia-agent
  2. keys takes an array. {"keys": ["p"]}. A bare string is rejected with
  3. It needs a real pty. script fails on a socket
  4. Wait, never sleep — POST /control/v1/wait blocks server-side on
  5. The "Language model" preflight row includes the embedder. A machine with

What it can do on your machine

Read from SKILL.md and the folder at commit 55c555a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gaia Tui Manual loads about 866 tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 417 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~866

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from amd/gaia at commit 55c555a, republished under its MIT licence (© amd). 417 words, ~866 tokens.

Download SKILL.mdSave it as .claude/skills/gaia-tui-manual/SKILL.md (or your agent's skills folder).
name
gaia-tui-manual
description
The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control API, choose a local or cloud model provider, and read its logs. Use when running, testing, debugging, or documenting the TUI, when a preflight row blocks a launch, when driving the TUI from a script or assistant, or when a TUI question would otherwise be answered by guessing at the Go source.

GAIA Terminal UI

Two manuals carry the detail. Read the matching one before touching the TUI — both are written from verified runs, not from reading the source.

  • User manual (docs/guides/terminal-hub.mdx) — install, the setup gate and what each row means, choosing where inference runs, day-to-day use, the permission prompt, troubleshooting.
  • Developer manual (docs/reference/tui-dev.mdx) — the three-process architecture, building, the full control-API reference, pty allocation, logs and traces, and running a local model on a dev box.

.claude/skills/driving-the-tui/ covers the same control API from the assistant's side; the developer manual is the reference it defers to for endpoint shapes.

The five things that waste the most time

Each of these cost a real debugging session. They are in the manuals too — this is the short list worth carrying in your head.

  1. The agent subprocess outlives your edits. gaia-tui spawns gaia-agent once. Change Python under src/gaia/ or hub/agents/ and the running session keeps executing the old code — a before/after measurement taken without a restart is two measurements of the same build. Restart the TUI.

  2. keys takes an array. {"keys": ["p"]}. A bare string is rejected with cannot unmarshal string into Go struct field keysRequest.keys of type []string. text types but does not submit — follow with ["enter"].

  3. It needs a real pty. script fails on a socket (tcgetattr/ioctl: Operation not supported), and driving Terminal.app via osascript can time out with -1712 and leave nothing running. Allocate the pty yourself with pty.fork(), size it with TIOCSWINSZ, and drain the fd or the child blocks. Call resize first in any drive script.

  4. Wait, never sleep — POST /control/v1/wait blocks server-side on contains / absent / state. But {"state":{"streaming":false}} can match the instant before a turn starts; confirm streaming went true first, or poll status.

  5. The "Language model" preflight row includes the embedder. A machine with a working chat model still blocks on the ~300 MB user.embeddinggemma-300m-GGUF, while the row says "Several GB". gaia init --check names the exact missing id.

Show full SKILL.md (92 more words)Show less

Before reporting a TUI bug

  • Capture the whole screen. A cropped capture once produced a fabricated "uninstall silently does nothing" — the status line is the second-to-last row.
  • Check view in status before sending keys; keys sent to the wrong screen do nothing and read as a broken binding.
  • Check the TOOL_LOADER lines in ~/.gaia/logs/gaia-agent.log before believing the agent when it says a capability "isn't available" — it may simply not have been selected for that turn.
  • Say which branch you built. Stacked branches are siblings; a leaf build shows behaviour already fixed elsewhere.

© amd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/gaia-tui-manual of amd/gaia.

Open the folder on GitHubat commit 55c555a

Compare with similar skills

Gaia Tui Manual next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gaia Tui Manual compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gaia Tui Manual this skillamd/gaia1.6k—~866Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from amd/gaia

All 44 skills in this repo
  • Adds a release eval scorecard to a GAIA hub agent by writing a harness adapter, running a real eval, and wiring the result into the agent's README and release gate.

    1.6k GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Walks through releasing a GAIA sidecar agent as a frozen binary plus npm client through the tag-triggered Agent Hub CI pipeline, with a human gate before publishing.

    1.6k GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Mines local Claude Code session transcripts with a deterministic Python pipeline to show what the agent is actually used for, how often it fails and what it costs.

    1.6k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Benchmarks AMD's GAIA agent against Claude Code and across models on quality, honesty, steps, tokens, time and real cost, using gaia eval tasks.

    1.6k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Guides safe code changes by finding the right file with grep or semantic search, reading before editing, reproducing bugs first, and proving a fix with a real test run.

    1.6k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Walks through scaffolding, writing and testing a new GAIA agent as a Python class with the SDK, from the base Agent subclass to registered tool methods.

    1.6k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Gaia Tui Manual

What does Gaia Tui Manual do?

The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control API, choose a local or cloud model provider, and read its logs. Gaia Tui Manual is an agent skill from amd/gaia. The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control API, choose a local or cloud model provider, and read its logs.

When should I use Gaia Tui Manual?

Gaia Tui Manual fits situations like: documenting the TUI; A preflight row blocks a launch; driving the TUI from a script; A TUI question would otherwise be answered by guessing at the Go source.

How do I install Gaia Tui Manual in Claude Code?

Run `npx skills add amd/gaia --skill gaia-tui-manual -a claude-code`. Or copy the skill folder (.claude/skills/gaia-tui-manual in amd/gaia) into .claude/skills/gaia-tui-manual in your project. Claude Code loads it when a task matches its description.

How do I install Gaia Tui Manual in Codex?

Run `npx skills add amd/gaia --skill gaia-tui-manual -a codex`. Or copy the skill folder (.claude/skills/gaia-tui-manual in amd/gaia) into .agents/skills/gaia-tui-manual in your project. Codex loads it when a task matches its description.

Can I use Gaia Tui Manual in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add amd/gaia --skill gaia-tui-manual -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gaia-tui-manual, .gemini/skills/gaia-tui-manual, .github/skills/gaia-tui-manual and .opencode/skills/gaia-tui-manual in your project.

What does Gaia Tui Manual need to run?

SKILL.md names no scripts, command-line tools or credentials: Gaia Tui Manual is instructions for the agent only. Our summary lists: Python 3.

Does Gaia Tui Manual access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gaia Tui Manual safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gaia Tui Manual use?

Gaia Tui Manual is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gaia Tui Manual use?

About 866 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gaia Tui Manual?

Skills that share tags, products or a category with Gaia Tui Manual: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gaia Tui Manual?

amd (a GitHub organization) maintains it in amd/gaia, which has 1,579 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 9, 2026.

Source: amd/gaia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.