Skip to content

docs(skills): correct stale agents, commands and claims in skill files - #4640

Merged
kovtcharov-amd merged 2 commits into
amd:mainfrom
kovtcharov:kalin/skills-stale-refs
Oct 4, 2026
Merged

kovtcharov-amd merged 2 commits into
amd:mainfrom
kovtcharov:kalin/skills-stale-refs

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

Five contributor skills under .claude/skills/ were giving instructions that stopped matching the repo. They pointed builders and responders at agents deleted when per-task agents became hub skills, such as "mirror the analyst package" or "link the jira/docker/blender guide". One cited a gaia audio command that doesn't exist. Another said the base Agent never imports Lemonade at module level, when it does. After this PR, each of those skills names the agents, guides and imports that actually exist.

The 16 product skills under hub/skills/ needed no change. Every tool, command, flag and path they reference checks out, and all 16 pass gaia skill audit with ALLOW. That means nothing the flagship agent reads at runtime changed, so no eval is needed for this PR.

🔍 Technical details
  • gaia-build-agent: templates to mirror are now hello-world / word-count / email, and the closer base class is ChatAgent. The non-default model example is the email agent's NPU pick, not a summarizer. The eval step now matches CLAUDE.md: there is no committed baseline yet, so report the measured scores.
  • integrate-hub-agent: the agent list now matches hub/agents/. The name-divergence example is now real: the flagship's module is gaia_agent and its npm package is @amd-gaia/gaia. The entry point comes from gaia-agent.yaml entry_module, because the flagship has no build_registration().
  • github-issue-response: the "where things live" map lists the agents and guides that exist today.
  • lemonade-client-patterns: agent.py imports DEFAULT_MODEL_NAME, the ctx helpers and CONNECTION_FAILURE_RE at module level. The skill now describes that accurately instead of forbidding what is already there. gaia audio now reads "audio transcription".
  • weekly-audit-patterns: the published agents are email and the flagship. The audit prompt itself is updated in the review-automation PR.
  • How the refs were checked: a script resolved every backticked path, gaia <cmd> subcommand, --flag, gaia.* module and code symbol in both skill sets against git ls-files, the argparse definitions, and the @tool-registered names. Flags it raised that turned out to be relative paths or harness tools (SendUserFile) were dropped. testing-the-gaia-agent and adding-eval-scorecard are left alone because open PRs fix(tui): proportionate permission prompts, Shift+Tab modes, timeouts as timeouts #4461 and feat(eval): give the flagship agent a measured scorecard and a release gate #4056 edit them.

Test plan

  • pytest tests/unit/test_ai_doc_paths_exist.py tests/unit/test_no_stale_agent_paths.py tests/unit/test_starter_skills.py tests/unit/test_skills_format.py tests/unit/test_skills_drift.py tests/unit/test_skills_audit_no_false_positives.py tests/unit/test_skills_audit_instructions.py tests/unit/test_skill_sets.py tests/unit/test_flagship_ci.py tests/unit/test_skills_manager.py tests/unit/test_adaptive_skills.py (961 passed, 16 skipped)
  • gaia skill audit hub/skills/<each> returns ALLOW for all 16

Several contributor skills still pointed at agents deleted when per-task
agents became hub skills: gaia-build-agent told builders to mirror the
`analyst`/`browser` packages and subclass "the docqa agent";
integrate-hub-agent listed analyst/code/jira and an `analyst` -> `data`
id example; github-issue-response sent users to code/jira/docker/blender
guides that no longer exist. They now name the agents and guides that
ship.

lemonade-client-patterns claimed agents/base/agent.py never imports
gaia.llm at module level (it does) and cited a `gaia audio` command that
does not exist. gaia-build-agent told builders to compare against a
committed eval baseline that CLAUDE.md says does not exist yet.
weekly-audit-patterns listed the email agent as the only published one;
the flagship ships a scorecard and a release workflow too.

All 16 hub/skills audit ALLOW and their tool names resolve against the
registered @tool set; no hub skill needed a change.
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

This PR updates five contributor skill files that still pointed at deleted agents, a gaia audio command that doesn't exist, and an outdated claim about how the base agent imports Lemonade. I spot-checked the corrected claims against the repo and they hold: the agent and guide lists, the flagship's module and npm names, both published agents, the email agent's NPU model, and the base agent's module-level Lemonade imports. There are no blocking issues. One small wording fix: the new entry-point hint describes the manifest's module field as a file path, but it is actually a package name.

Real-world evidence

N/A: this PR changes documentation and skills only. No runnable surface is touched, so the verdict rests on static review. The author's test plan shows that the doc-path, stale-agent and skill-format tests pass, and that gaia skill audit returns ALLOW for all 16 hub skills.

🔍 Technical details

Issues

🟢 The entry-point hint is slightly inaccurate (.claude/skills/integrate-hub-agent/SKILL.md, Step "Source entry point")

In every gaia-agent.yaml, entry_module holds a package name: gaia_agent, gaia_agent_email, gaia_agent_chat. It is never gaia_agent_<id>/agent.py. The class is resolved from that package. A reader who follows the text literally will look for an agent.py path in the manifest that isn't there.

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

Verified claims

  • src/gaia/agents/base/agent.py:92-99 imports DEFAULT_MODEL_NAME, the ctx-budget helpers and CONNECTION_FAILURE_RE at module level, as the rewritten section states.
  • hub/agents/ contains exactly gaia, chat, email, hello-world, word-count and connectors-demo.
  • hub/agents/gaia/python/gaia-agent.yaml has npm_package: "@amd-gaia/gaia" and entry_module: gaia_agent.
  • Both release_agent_email.yml and release_agent_gaia.yml exist, which backs the weekly-audit "published agents" update.
  • NPU_EMAIL_MODEL_ID = "gemma4-it-e2b-FLM" is in the email agent's model_select.py.
  • There is no tests/fixtures/eval_baselines/ directory, so "no committed baseline yet" is accurate. hub/agents/gaia/python/eval_baselines/ holds only query-sequence fixtures, not scorecards.

Strengths

  • The lemonade-client-patterns rewrite now describes what agent.py really does, instead of forbidding something the file already does. That stops reviewers from flagging existing code as a violation.
  • The eval-step wording in gaia-build-agent now matches CLAUDE.md's no-baseline rule, which prevents fabricated comparisons.
  • Scope is tight: the PR leaves skills that open PRs are editing untouched, to avoid conflicts.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 4, 2026
Merged via the queue into amd:main with commit f4f409a Oct 4, 2026
@kovtcharov-amd
kovtcharov-amd deleted the kalin/skills-stale-refs branch October 4, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants