Repository navigation
feat: slash commands across all surfaces (#60) - #69
Merged
Merged
Conversation
Host-handled commands in openclaw's registry shapes: /reset (both session mechanisms: channel session map; webchat acks — each message is its own session today), /status, /skills, /help (+ /new and /commands aliases). Intercepted once in startChannels and once in chat.send; commands.list now returns real openclaw-shaped entries. The skill bridge: user-invocable: true skills (frontmatter now preserved) surface as /<name> and force-inject their body with args. Unknown slash commands answer politely instead of confusing the agent.
This was referenced Jun 11, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the plan posted on #60 after the audit. Built-ins /reset (+/new), /status, /skills, /help (+/commands) in openclaw's registry shapes — host-handled, zero tokens, intercepted once in startChannels (Nostr/Telegram) and once in chat.send (webchat/TUI). commands.list now serves real openclaw-shaped entries (advances #46 — the openclaw TUI can render them). The skill bridge:
user-invocable: truefrontmatter is now preserved and such skills surface as /, force-injecting their body with args (partial #47 finding 5). /reset clears the channel session map; on the webchat path each message is its own session today so it acks honestly. Unknown commands answer '/help' guidance instead of reaching the agent. Also hardens the flaky NIP-04 wrong-key test that reddened CI on the v0.0.14 merge (unauthenticated CBC: assert garbage-or-throw, never plaintext). Tests 146/146.