kimi-code
kimi-code copied to clipboard
web: /skill does not list all non-built-in session skills in slash menu
Problem
In the web UI, typing /skill in the composer only shows skills whose names contain the substring skill.
In the CLI/TUI, non-built-in session skills are rendered as /skill:<name>, so typing /skill lists every non-built-in session skill. This makes the web slash menu appear to have fewer available skills than the CLI/TUI.
Expected behavior
Non-built-in session skills should be displayed as /skill:<name> in the web slash menu, while built-in skills should continue to display as /<name>.
Typing /skill should list all non-built-in session skills.
Actual behavior
Non-built-in session skills are displayed as /<name>, so /skill only matches skills whose names happen to include skill.
Related PR
Fixed by #1060.