-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Claude Code and other agentic assistants allow users to define new slash commands in natural language stored in files like AGENTS.md.
There are two options for implementing this feature:
-
Make custom slash commands be persona-specific. This would mean that every persona needs to provide its own way of reading
AGENTS.md, providing slash command completions, and handling slash commands routed to it like@Jupyternaut /custom-slash-command. -
Implement this capability inside
jupyter_ai_chat_commands. Perhaps, this package could detect the default persona in the current chat by calling something insidejupyter_ai_router. This would allowjupyter_ai_chat_commandsto call the persona directly to generate a list of slash commands defined inAGENTS.md, and automatically provide completions for those slash commands through the UI. This would require a newget_custom_slash_commands()method onBasePersona.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status