porting-agent-to-hub

Ports in-repo GAIA agents into published, installable Agent Hub packages.

1.6k|168|Updated Dec 16, 2024
One-click install
npx skills add https://github.com/amd/gaia --skill porting-agent-to-hub-amd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: porting-agent-to-hub
Source: https://github.com/amd/gaia/tree/main/.claude/skills/porting-agent-to-hub
Command: npx skills add https://github.com/amd/gaia --skill porting-agent-to-hub-amd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Existing GAIA agents often live only as in-repo Python code with manifests that overstate their capabilities, missing documentation, and no release pipeline, making them impossible to publish to the Agent Hub or use on day one after install. ## Core Features & Use Cases - Phased porting workflow: Seven ordered phases from a ship/no-ship verdict through capability-truth audit, hardening, behavioral tests, eval scorecards, parity-kit generation, versioning, and a day-one usability gate. - Manifest truth auditing: Verifies that descriptions, tags, tools_count, conversation starters, and declared interfaces match what the agent's code actually delivers. - Email-agent template mirroring: Points every phase at the reference implementation in hub/agents/email/ so generated docs, scorecards, servers, and CI workflows follow a proven pattern. - Use Case: Given a legacy agent with a README but no SPEC, SKILL, CHANGELOG, or SCORECARD, run this flow to audit its manifest claims, close capability gaps, generate the parity kit, and ship it as an installable hub package. ## Quick Start Use the porting-agent-to-hub skill to port the legacy agent under hub/agents/<id>/ into a published, day-one-usable hub package following the email agent template.

Frequently Asked Questions about porting-agent-to-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I port a GAIA agent to the Agent Hub?

Follow the seven phases in order: decide whether it should ship, audit manifest claims against code, generalize and harden, write behavioral tests that invoke every tool, build an eval corpus and scorecard, generate the parity kit from the email agent template, then set up independent versioning and CI.

How do I verify a GAIA agent manifest matches its code?

Check that every advertised capability has a reachable tool, every conversation starter maps to a real tool, tools_count matches in both gaia-agent.yaml and build_registration(), and declared interfaces like api_server have the required amd-gaia[api] dependency declared.

When should a GAIA agent not be published to the hub?

Skip porting when a more general agent already covers the use case, the agent is marked category examples or security_tier experimental, it lacks a gaia.agent entry point, or a named successor is already in flight. Duplicating capability into the catalog is worse than not shipping.

Why do GAIA agent tests pass but the agent still fails for users?

Most fleet tests only construct the agent and assert a tool name exists in the registry without invoking it. Every @tool needs a test that actually calls it over a fixture harness with registry isolation, covering cold-start states like empty indexes and first runs.

What makes a published GAIA agent day-one usable?

The full chain must work scripted with no human step: catalog index, install, daemon spawning the sidecar, /health passing, /query returning a rendered SSE stream in the UI, and the playground URL loading. Any manual step means it is not day-one usable.