Skip to content

chore(config): remove stale auxiliary.skills_hub LLM slot (#40703)#40710

Open
aimanmalib wants to merge 1 commit into
NousResearch:mainfrom
aimanmalib:chore/remove-stale-skills-hub-aux-slot
Open

chore(config): remove stale auxiliary.skills_hub LLM slot (#40703)#40710
aimanmalib wants to merge 1 commit into
NousResearch:mainfrom
aimanmalib:chore/remove-stale-skills-hub-aux-slot

Conversation

@aimanmalib

Copy link
Copy Markdown

What

Removes the stale auxiliary.skills_hub LLM slot. Closes #40703.

Why

auxiliary.skills_hub is exposed like a configurable auxiliary-LLM slot, but there is no runtime call site using call_llm(task="skills_hub") / async_call_llm(task="skills_hub"). Skills Hub routes entirely through deterministic library paths (tools/skills_hub.py + hermes_cli/skills_hub.py), so setting auxiliary.skills_hub.provider/model is a silent no-op.

This is the same situation as session_search, which was removed from the aux config after PR #27590 made it DB-backed (picker slot cleaned up in PR #30382). This change brings skills_hub to the same end state.

I verified there is no call_llm/async_call_llm call site for the skills_hub task before removing anything.

Changes

  • hermes_cli/config.py — drop the dead auxiliary.skills_hub block from DEFAULT_CONFIG; add an explanatory note mirroring the existing session_search note. Leftover values in user config.yaml files remain harmless/ignored.
  • hermes_cli/main.py — remove the skills_hub row from the _AUX_TASKS model picker.
  • hermes_cli/web_server.py — remove skills_hub from _AUX_TASK_SLOTS.
  • agent/auxiliary_client.py — update two stale docstring/comment references (the task-list docstring also still listed the already-removed session_search).
  • hermes_cli/plugins.py — update the reserved-key docstring.
  • docs — remove the dead slot from configuration.md and fallback-providers.md.

Side effect: skills_hub is no longer a reserved aux key

The plugin reserved-key set is derived from _AUX_TASKS (builtin_keys = {k for k, _, _ in _BUILTIN_AUX_TASKS}), so removing the picker row also frees skills_hub for plugin registration — exactly the same end state as session_search. Updated tests/hermes_cli/test_plugin_auxiliary_tasks.py accordingly.

Not touched

The real Skills Hub feature is untouched — tools/skills_hub.py, hermes_cli/skills_hub.py, the /skills command, the web dashboard hub endpoints, and TRUSTED_REPOS.

Tests

Updated the reserved-builtin-keys test. Verified locally:

tests/hermes_cli/test_plugin_auxiliary_tasks.py
tests/hermes_cli/test_aux_config.py
tests/agent/test_curator.py
→ 91 passed

Also confirmed DEFAULT_CONFIG["auxiliary"] no longer contains skills_hub and the key is no longer reserved (matching session_search).

@alt-glitch alt-glitch added type/refactor Code restructuring, no behavior change P3 Low — cosmetic, nice to have area/config Config system, migrations, profiles comp/cli CLI entry point, hermes_cli/, setup wizard labels Jun 6, 2026
…ch#40703)

Skills Hub routes through deterministic library paths (tools/skills_hub.py
+ hermes_cli/skills_hub.py) and has no call_llm(task="skills_hub") call
site, so the auxiliary.skills_hub provider/model slot is a no-op. This
mirrors the session_search cleanup (PR NousResearch#27590/NousResearch#30382) after that tool
became DB-backed.

Removes the dead slot from:
- DEFAULT_CONFIG["auxiliary"] (hermes_cli/config.py) + explanatory note
- the aux model picker _AUX_TASKS (hermes_cli/main.py)
- _AUX_TASK_SLOTS (hermes_cli/web_server.py)
- stale docstrings (agent/auxiliary_client.py, hermes_cli/plugins.py)
- docs (configuration.md, fallback-providers.md)

Side effect: 'skills_hub' is no longer a reserved built-in aux key (the
reserved set is derived from _AUX_TASKS), so plugins may now register it
— same end state as session_search. Test updated accordingly.

The real Skills Hub feature (tools/skills_hub.py, the /skills command) is
untouched. 91 related tests pass.
@aimanmalib aimanmalib force-pushed the chore/remove-stale-skills-hub-aux-slot branch from 0aef803 to 9fddfb7 Compare June 11, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify whether auxiliary.skills_hub is reserved or stale

2 participants