Add Codex and Claude chat commands with command and skill filters - #98
Open
llmreseacher wants to merge 2 commits into
Open
Add Codex and Claude chat commands with command and skill filters#98llmreseacher wants to merge 2 commits into
llmreseacher wants to merge 2 commits into
Conversation
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.
What changed
Codex and Claude Code slash commands now have GUI counterparts in the current MonoCode chat.
/statusshows the session's model, permissions, project and context above the composer, while the transcript and input stay visible. The picker adds remembered All / Agent commands / Skills filters and/agent:namefor explicit command selection when a skill has the same name.Supported actions cover status/context, model selection, permissions, model-advertised fast/effort settings, compaction, planning, diff, stop and help. They use the current session's existing callbacks.
/cli:nameis a compatibility alias with the same chat behavior.Closes #97.
Why
The existing Codex/Claude slash picker exposes skills and MonoCode shortcuts without a way to select agent commands. Users need command controls that retain the graphical conversation and act on that conversation's settings and history.
This is not full CLI command parity. Catalog entries without a chat implementation are labeled Not supported in chat; invoking one shows an error and preserves the draft. Commands do not spawn a terminal, fork provider history, or turn unsupported command text into a model prompt.
/plan <request>intentionally submits a planning turn, and/compactuses provider-owned compaction. Status displays MonoCode's current session data; account rate limits remain in the existing usage footer.UI
/statusin an existing conversation, with a pending attachment preserved (real SessionPane and composer in the mocked browser fixture):See supported commands and behavior. Run
npm run devand open/tests/agent-commands.htmlfor the browser fixture.Validation
npm run checkpassed on macOS: 125 Vitest files / 1,293 tests, TypeScript, Rust formatting, Clippy with warnings denied, and 205 Rust tests.Checklist
npm run check