Skip to content

fix(skills): route "add a skill" to skill-creator - #453

Open
VascoSch92 wants to merge 1 commit into
mainfrom
fix/skill-creator-add-trigger
Open

fix(skills): route "add a skill" to skill-creator#453
VascoSch92 wants to merge 1 commit into
mainfrom
fix/skill-creator-add-trigger

Conversation

@VascoSch92

@VascoSch92 VascoSch92 commented Aug 5, 2026

Copy link
Copy Markdown
Member

Problem

Per #454, saying "add a skill" did not trigger the intended skill. The request routed toward add-skill (which imports an existing skill from a GitHub URL and installs it locally under .agents/skills/) instead of skill-creator (which is the authoring skill).

Root cause is a trigger-vocabulary collision:

  • skill-creator's description matched create/write but not the word add.
  • add-skill is named add-skill and claimed add a skill in its description.

So the user's exact verb ("add") pulled the request to the wrong skill.

Fixes #454.

Change (minimal — two frontmatter descriptions only)

  • skill-creator: add "add a skill" / "make a new skill" to its triggers, and a one-line note to prefer it (over add-skill) when authoring from scratch.
  • add-skill: scope its description to importing from a GitHub URL and point create-from-scratch requests at skill-creator, so the two no longer compete for "add a skill".

No logic, script, or file-layout changes.

Note / out of scope

The issue also expected new skills to land globally (e.g. .openhands/) rather than locally. That is an Agent Canvas placement concern, not a trigger-routing one, and is intentionally left out of this minimal fix.

Refs #454

Saying 'add a skill' matched add-skill (GitHub import) instead of
skill-creator (authoring), because 'add' was absent from skill-creator's
triggers and present in add-skill's. Add the 'add a skill' synonym to
skill-creator and scope add-skill to URL-based imports so they no longer
collide.

Refs OpenHands/OpenHands#16320
@github-actions github-actions Bot added the type: fix A bug fix label Aug 5, 2026
@VascoSch92
VascoSch92 requested a review from neubig August 5, 2026 06:31
@VascoSch92 VascoSch92 linked an issue Aug 5, 2026 that may be closed by this pull request
@all-hands-bot

Copy link
Copy Markdown
Contributor

👋 This PR needs a couple of things fixed before OpenHands can review it:

  • the PR description's HUMAN: section needs at least 20 characters describing what you tested, not just the template placeholder

Push an update once this is addressed and this check re-runs automatically.

This is an automated check - no AI was used to generate this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Saying "add a skill" didn't trigger the add-skill skill

2 participants