fix: bundle-builder now registers sub-skills with Hermes skill system (fixes #50) #56

Merged
jasper merged 1 commit from fix/bundle-builder-subskill-registration into main 2026-06-03 23:11:18 -04:00
Contributor

Summary

Fixes #50 — the bundle-builder generates sub-skill .md files in a skills/ subdirectory but never registers them with skill_manage(), making them invisible to skills_list() and skill_view().

Changes

  • bundles/workflow-architect/skills/bundle-builder/SKILL.md:
    • Added step 0: Umbrella SKILL.md registration (mandatory first step)
    • Added step 8: Register each sub-skill via skill_manage(action='create') with <bundle-name>-<skill-name> naming and 'generated' category
    • Updated Cleanup section: verify umbrella + sub-skill loading, provide actionable suggestions
    • Updated Output Structure: show SKILL.md umbrella, add <category>/ path prefix
  • bundles/workflow-architect/AGENTS.md:
    • Added Registration section documenting the registration flow
    • Updated Output Location to reflect <category>/ path and registration

The Fix

After writing all bundle files (umbrella SKILL.md + sub-skills + manifest + kanban), the agent now reads each generated sub-skill .md file and registers it:

skill_manage(action='create',
    name='<bundle-name>-<skill-name>',
    content=read_file('<path>/skills/<name>.md')['content'],
    category='generated')

This creates a proper Hermes skill directory with SKILL.md entry point. Without this, the sub-skills exist on disk but the agent has no way to discover or load them.

## Summary Fixes #50 — the bundle-builder generates sub-skill `.md` files in a `skills/` subdirectory but never registers them with `skill_manage()`, making them invisible to `skills_list()` and `skill_view()`. ## Changes - **`bundles/workflow-architect/skills/bundle-builder/SKILL.md`**: - Added step 0: Umbrella SKILL.md registration (mandatory first step) - Added step 8: Register each sub-skill via `skill_manage(action='create')` with `<bundle-name>-<skill-name>` naming and `'generated'` category - Updated Cleanup section: verify umbrella + sub-skill loading, provide actionable suggestions - Updated Output Structure: show `SKILL.md` umbrella, add `<category>/` path prefix - **`bundles/workflow-architect/AGENTS.md`**: - Added Registration section documenting the registration flow - Updated Output Location to reflect `<category>/` path and registration ## The Fix After writing all bundle files (umbrella SKILL.md + sub-skills + manifest + kanban), the agent now reads each generated sub-skill `.md` file and registers it: ```python skill_manage(action='create', name='<bundle-name>-<skill-name>', content=read_file('<path>/skills/<name>.md')['content'], category='generated') ``` This creates a proper Hermes skill directory with `SKILL.md` entry point. Without this, the sub-skills exist on disk but the agent has no way to discover or load them.
Generated sub-skills were written as .md files in a skills/ subdirectory but
never registered with skill_manage(), making them invisible to skills_list()
and skill_view().

Added:
- Step 0: Umbrella SKILL.md registration (mandatory first step)
- Step 8: Register each sub-skill via skill_manage(action='create') with
  '<bundle-name>-<skill-name>' naming and 'generated' category
- Updated Cleanup: verify umbrella + sub-skill loading
- Updated Output Structure: show SKILL.md umbrella, add <category>/ path
- Updated AGENTS.md: Registration section with verification guidance
jasper merged commit 4b9373fcd1 into main 2026-06-03 23:11:18 -04:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
magnus/agent-skills!56
No description provided.