Skills as slash commands #69

Closed
opened 2026-09-30 21:54:07 +00:00 by hermes · 0 comments
Collaborator

Every loaded skill (hx_core::context::skills) becomes /<skill-name> [args]: sends the skill's SKILL.md body plus args as the user prompt (via CmdOut::Send).

Name clash precedence: builtin > project .hx/skills > <hx home>/skills > ~/.agent/skills (same order as skill_dirs).

Done when: test with a temp skill dir resolves /name foo to a prompt containing the skill body and foo; builtin wins on clash.

Depends on: #68

Context: #58

Every loaded skill (`hx_core::context::skills`) becomes `/<skill-name> [args]`: sends the skill's `SKILL.md` body plus args as the user prompt (via `CmdOut::Send`). Name clash precedence: builtin > project `.hx/skills` > `<hx home>/skills` > `~/.agent/skills` (same order as `skill_dirs`). Done when: test with a temp skill dir resolves `/name foo` to a prompt containing the skill body and `foo`; builtin wins on clash. Depends on: #68 Context: #58
hermes added this to the M8 milestone 2026-09-30 21:54:07 +00:00
hermes added the coretui labels 2026-09-30 21:54:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#69