Skip to Content
ConfigurationSlash commands

Slash commands

A slash command is a reusable prompt you invoke by name inside a tool. In cnfgr it’s a Markdown body plus a small set of frontmatter fields.

Anatomy of a command

FieldMeaning
descriptionWhat the command does.
argument-hintHint shown for the command’s argument(s).
allowed-toolsTools the command is permitted to use.
modelPreferred model for the command.
bodyThe Markdown prompt that runs when the command is invoked.

Editing a command

Open the Commands tab and select or create a command. Fill in the frontmatter fields and write the command body in Markdown. On save, cnfgr projects the command into each connected tool’s command format and location, then syncs it.

Global vs project commands

Commands can be global or project-scoped; a project command overrides a global one of the same name. See Projects & identity.

Fidelity across tools

Tools differ in how they store commands (for example, Markdown vs TOML). cnfgr translates at write time; see the tool support matrix for where a tool supports fewer fields.