Agent skill

Integrate Hub Agent

by amd in amd/gaia

Embeds one of this repo's pre-built hub agents (under hub/agents/) into a developer's own application.

MITAuto-check passedAI & LLM Engineering

Install Integrate Hub Agent

skills CLI
$ npx skills add amd/gaia --skill integrate-hub-agent -a claude-code

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

GitHub CLI
$ gh skill install amd/gaia integrate-hub-agent --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/integrate-hub-agent .claude/skills/integrate-hub-agent && 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
integrate-hub-agent
GitHub stars
1.6k
Token cost
~2.1k tokens
SKILL.md length
1,043 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Embeds one of this repo's pre-built hub agents (under hub/agents/) into a developer's own application.

  • Works in 4 steps: Discover the current agents → Identify which agent the developer wants → Know the two integration shapes → …
  • A developer wants to integrate
  • SKILL.md covers Step 1 — Discover the current…, Step 2 — Identify which agent…, Step 3 — Know the two… and Step 4 — Route to the agent's…, plus 2 more sections
  • Calls npm and pip

What it does

Integrate Hub Agent is an agent skill from amd/gaia. Embeds one of this repo's pre-built hub agents (under hub/agents/) into a developer's own application. Use when a developer wants to integrate, add, embed, or wire a GAIA hub agent into their app, project, or codebase — e.g. 'integrate a hub agent into my app', 'add the <name agent to my project', 'embed a GAIA agent', 'how do I use the email/gaia agent in my code'. Not for authoring a new agent (use gaia-agent-builder) or releasing/publishing one (use agent-hub-release).

Its SKILL.md is about 2.1k 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 AI & LLM Engineering, covering Building AI agents. It works with npm and Python. The repository describes itself as: Build AI agents for your PC. The licence is MIT.

When your agent uses it

  • A developer wants to integrate
  • Wire a GAIA hub agent into their app

Example prompts

  • “s pre-built hub agents (under hub/agents/) into a developer”
  • “integrate a hub agent into my app”
  • “add the <name agent to my project”
  • “/integrate-hub-agent”

Requirements

  • Python 3
  • Node.js

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Discover the current agents
  2. Identify which agent the developer wants
  3. Know the two integration shapes
  4. Route to the agent's own guidance (do this, don't summarize from memory)

What it can do on your machine

Read from SKILL.md and the folder at commit 6c3bb5c. 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

    Shell commands in SKILL.md call:

    • npm
    • pip

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

  • Network

    No URLs in SKILL.md. Its commands use npm and pip, which can reach the network depending on how they are called.

    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

Integrate Hub Agent loads about 2.1k tokens when it runs. Until then it costs about 124 tokens; SKILL.md has 1,043 words of instructions outside code blocks.

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

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 6c3bb5c, republished under its MIT licence (© amd). 1,043 words, ~2,053 tokens.

Download SKILL.mdSave it as .claude/skills/integrate-hub-agent/SKILL.md (or your agent's skills folder).
name
integrate-hub-agent
description
Embeds one of this repo's pre-built hub agents (under hub/agents/) into a developer's own application. Use when a developer wants to integrate, add, embed, or wire a GAIA hub agent into their app, project, or codebase — e.g. 'integrate a hub agent into my app', 'add the <name> agent to my project', 'embed a GAIA agent', 'how do I use the email/gaia agent in my code'. Not for authoring a new agent (use gaia-agent-builder) or releasing/publishing one (use agent-hub-release).

Integrating a GAIA Hub Agent

This repo's hub/ ships pre-built agents, each packaged for a developer to drop into their own application. The work: learn the layout and the two integration shapes, pin down which agent they mean, then hand off to that agent's own guidance — where the real, current, agent-specific steps live.

The recipe is agent-agnostic. Any agent named below (e.g. npm agent-email) is a labeled example of its shape, never the subject. Discover the real agent set live — never trust a hardcoded list.

Step 1 — Discover the current agents

Hub agents are one directory per agent, with a runtime subdir inside: hub/agents/<name>/<runtime>/. List the tree now rather than assuming — the set changes:

bash
ls hub/agents/                 # one dir per agent (e.g. gaia, chat, email, …)
ls hub/agents/email/           # an agent's runtimes (e.g. python, npm; cpp when present)

Treat whatever the listing returns as authoritative. A missing runtime subdir just means the agent doesn't ship that shape today. hub/agents/README.md is a useful catalog of the python set and the example agents (hello-world, word-count, connectors-demo) if the developer is unsure what's available.

Step 2 — Identify which agent the developer wants

Pin down a single <name>/<runtime> before integrating:

  • If the developer named an agent ("the email agent", "GAIA"), match it against the listing. Several names can diverge — watch for it: the friendly name, the directory (<name>), the registry id in gaia-agent.yaml, and the package/module names (the flagship's python module is gaia_agent, not gaia_agent_gaia; its npm package is @amd-gaia/gaia). The directory is how you find the package; the id is what you pass when invoking a python agent (Step 3).
  • The same capability can ship in more than one runtime (the email agent is npm agent-email and python email). Confirm the runtime, since it picks the shape: a JS/TS/Electron app wants the npm package; a Python app wants the python package.
  • If they described a capability ("triage my inbox", "analyze a CSV"), skim candidate agents' gaia-agent.yaml description/tags (python) or package.json description (npm) to find the match, then confirm with the developer.

Step 3 — Know the two integration shapes

They are genuinely different. Use the shape to set expectations, but the agent's own docs (Step 4) are the source of truth for exact calls.

npm agents (hub/agents/<name>/npm/)

The package is a client for a local native sidecar. Shape:

  1. npm install the package (it is typically ESM-only — import, not require).
  2. Fetch + SHA-256-verify the platform binary (a build-time step), then spawn it as a local HTTP sidecar and wait for health.
  3. Call the package's typed TypeScript client methods against the running sidecar.
  4. Shut the sidecar down on exit (packages may also auto-reap on process exit).

No Python, no separate GAIA install — the frozen binary carries the agent. The sidecar usually serves same-origin only, so an Electron renderer drives it via main-process IPC, not a cross-origin fetch. The agent still needs a local model backend (Lemonade Server) for inference. Reference example: npm agent-email.

python agents (hub/agents/<name>/python/)

The package is a GAIA framework plugin, not a sidecar. Shape:

  1. pip install gaia-agent-<id> (it depends on the published amd-gaia wheel).
  2. Installing auto-registers the agent into the GAIA registry via the gaia.agent entry-point group (declared in pyproject.toml) — no hardcoded list, no manual wiring. The registry discovers it on import.
  3. Invoke it through GAIA per the agent's gaia-agent.yaml manifest and README.md. The manifest declares the id, the models it expects, and which interfaces it exposes (cli / api_server / mcp_server / pipe) — drive it through whichever the app uses, plus any required env/config. For in-process embedding, the base Agent entry point is process_query(text) -> dict; construct the agent directly (its package exports the class + a *Config) or resolve it by id with the registry — which must be populated first: r = AgentRegistry(); r.discover(); r.create_agent("<id>") (discover() scans the gaia.agent entry points; without it the registry is empty and create_agent raises ValueError). Confirm the exact entry against the agent's own source (Step 4) rather than assuming — config knobs vary per agent.

The npm sidecar/binary lifecycle (fetch-binary, spawn, shutdown, typed HTTP client) does not apply here — don't describe a python agent as a sidecar. Depth varies by agent; describe only what the agent's own artifacts support rather than padding it to match npm's lifecycle.

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

Step 4 — Route to the agent's own guidance (do this, don't summarize from memory)

Per-agent integration guidance exists unevenly. Check for a per-agent SKILL.md and branch — never assume one is there, and never rely on it being auto-discovered as a child skill; you must Read it explicitly.

Branch A — the agent ships its own SKILL.md:

bash
ls hub/agents/<name>/<runtime>/SKILL.md

If present, Read hub/agents/<name>/<runtime>/SKILL.md and carry out its instructions as the integration steps. That file is itself a skill addressed to you, the assistant — it is the authoritative, agent-specific recipe, not something to merely mention to the developer. Follow its steps directly, and follow any deeper file it points to (e.g. a SPEC.md next to it) when its steps call for that detail. The npm agent-email package is the current working example: its SKILL.md (frontmatter name: integrate-agent-email) cascades into a SPEC.md for the full contract.

Branch B — no per-agent SKILL.md:

Read the agent's own artifacts in this priority order and synthesize the integration steps from them (don't just list the files back to the developer):

  1. README.md — the integrator-facing overview: install command, what it does, any usage snippet.
  2. Runtime manifest — gaia-agent.yaml (and/or pyproject.toml) for python, package.json for npm: the canonical id/package name, declared models, exposed interfaces, dependencies, and entry points.
  3. Source entry point — the package's entry module (python: entry_module / entry_class in gaia-agent.yaml, e.g. gaia_agent_email / EmailTriageAgent; the class usually lives in <entry_module>/agent.py; npm: the main/exports entry in package.json): the ground truth when README and manifest leave a gap.

Synthesize these into concrete steps shaped per Step 3 (install → register/configure → invoke for python; install → start sidecar → call client → shut down for npm).

Writing it up

Follow CLAUDE.md → How You Communicate: open with what the agent does for the developer and the one command that installs it, then layer the config and contract detail underneath. Don't recite the files you read — hand over steps.

Checklist

  • Listed hub/agents/ live — did not trust any hardcoded agent list.
  • Pinned a single <name>/<runtime> and confirmed the runtime with the developer.
  • Set expectations with the correct shape (npm sidecar vs. python framework plugin).
  • Checked for hub/agents/<name>/<runtime>/SKILL.md; if present, Read and executed it (and any file it references); if absent, read README → manifest → source and synthesized the steps.

© 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/integrate-hub-agent of amd/gaia.

Open the folder on GitHubat commit 6c3bb5c

Compare with similar skills

Integrate Hub Agent 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.

Integrate Hub Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Integrate Hub Agent this skillamd/gaia1.6k—~2.1kAutomated safety check: PassMIT
Langgraph Project Setupsoba-labs/langchain-agent-skills107—~2.4kAutomated safety check: NotesMIT
Building Pydantic AI Agentsdocling-project/docling68k—~2.8kAutomated safety check: PassMIT
Swarms Multi-Agent Frameworkkyegomez/swarms7.2k—~5.5kAutomated safety check: PassApache-2.0
Pydantic AI Harnesspydantic/pydantic-ai20k—~4.9kAutomated safety check: PassMIT
Agent Squad Python Guide2FastLabs/agent-squad7.8k—~4.7kAutomated safety check: PassApache-2.0

Similar skills

  • Langgraph Project Setup

    soba-labs/langchain-agent-skills

    Initialize and configure LangGraph projects with proper structure, langgraph.json configuration, environment variables, and dependency management.

    107 GitHub stars~2.4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Building Pydantic AI Agents

    docling-project/docling

    Patterns and tested examples for building agents with Pydantic AI: tools, capabilities, structured output, dependency injection, hooks, YAML specs, streaming and testing.

    68k GitHub stars~2.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Teaches the Swarms Python framework: the Agent class, tools, loops, memory and multi-agent structures such as sequential, concurrent and graph workflows.

    7.2k GitHub stars~5.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Pydantic AI Harness

    pydantic/pydantic-ai

    Official

    Adds optional capabilities to Pydantic AI agents from pydantic-ai-harness, led by Code Mode, which runs many tool calls as one sandboxed Python script.

    20k GitHub stars~4.9k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Agent Squad Python Guide

    2FastLabs/agent-squad

    Map of the agent-squad Python framework for async multi-agent orchestration: which agent, classifier, storage and tool provider to pick, and the pitfalls to avoid.

    7.8k GitHub stars~4.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-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 today
    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 today
    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 today
    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 today
    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 today
    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 today
    Auto-check passed

Works with

Questions about Integrate Hub Agent

What does Integrate Hub Agent do?

Embeds one of this repo's pre-built hub agents (under hub/agents/) into a developer's own application. Integrate Hub Agent is an agent skill from amd/gaia. Embeds one of this repo's pre-built hub agents (under hub/agents/) into a developer's own application.

When should I use Integrate Hub Agent?

Integrate Hub Agent fits situations like: A developer wants to integrate; wire a GAIA hub agent into their app.

How do I install Integrate Hub Agent in Claude Code?

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

How do I install Integrate Hub Agent in Codex?

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

Can I use Integrate Hub Agent 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 integrate-hub-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/integrate-hub-agent, .gemini/skills/integrate-hub-agent, .github/skills/integrate-hub-agent and .opencode/skills/integrate-hub-agent in your project.

What does Integrate Hub Agent need to run?

Going by SKILL.md and its folder, Integrate Hub Agent needs the command-line tools its instructions call (npm and pip). Our summary lists: Python 3; Node.js.

Does Integrate Hub Agent access the network?

SKILL.md contains no URLs. Its commands use npm and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Integrate Hub Agent 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 Integrate Hub Agent use?

Integrate Hub Agent 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 Integrate Hub Agent use?

About 2.1k tokens (SKILL.md is roughly 8.2k 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 Integrate Hub Agent?

Skills that share tags, products or a category with Integrate Hub Agent: Langgraph Project Setup (soba-labs/langchain-agent-skills, 107 stars), Building Pydantic AI Agents (docling-project/docling, 68k stars), Swarms Multi-Agent Framework (kyegomez/swarms, 7.2k stars) and Pydantic AI Harness (pydantic/pydantic-ai, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Integrate Hub Agent?

amd (a GitHub organization) maintains it in amd/gaia, which has 1,580 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 6, 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.