Skip to content

Slash Commands Reference

Slash commands are special instructions you can type directly into the cordenex chat input to control the engine without using natural language.

History & Changes

/undo

Action: Reverts the very last set of file modifications made by the AI.

  • Cordenex keeps a byte-level backup of files before editing.
  • Useful if the AI introduces a regression or misinterprets a prompt.

/changes

Action: Displays a list of all files created, modified, or read during the current session.

  • Shows line counts and action labels (created, modified, read).

/clear

Action: Wipes the current conversation history.


Memory & Context

/init

Action: Initializes a CORDENEX.md file in the current directory.

/memory

Action: Displays the status of your Project Memory.


Permission Control

/permissions

Usage: /permissions [status | allow-write | allow-all | reset]

Sub-commandEffect
statusShows current level and stats.
allow-writeAI can edit/create files without asking. Shell still asks.
allow-allAI can do everything (including shell) without asking. (Use with caution)
resetBack to default.

Model Management

/model <id>

Action: Quickly switches the AI model without exiting the chat.

  • Example: /model gpt-4o