./kombai/commands/ directory of your project, or add the path to your existing global or project-level commands directory via the Manage rules & commands modal.
Run custom commands
- Launch Kombai extension in your IDE.
- Type a slash
/in the chat input box to check the available commands. - Select the custom command you want to run.
- Add any other instructions you want to add to Kombai.
- Press Enter or click the button to run the command.
Add directory path
Kombai supports project-level as well as global commands. Project-level commands are specific to a project, while global commands are supported across all projects where you use Kombai. Here’s how to add a directory path:- Copy the path of the directory that contains your custom commands’ Markdown files.
- In Kombai, click the icon below the chat input box.
- Go to the Commands tab.
- Paste the path of the folder into the Project Commands Directory(for project-level commands) or User Commands Directory(for global commands) input field.
- Click the icon.
- Click the Close button.
Delete directory path
Here’s how to delete a directory path:- Launch Kombai extension in your IDE.
- Click the icon below the chat input box.
- Go to the Commands tab.
- Click the icon next to the directory path you want to delete. Alternatively, you can click the Remove All button to delete all saved directory paths.
- Click the Close button.
FAQs
How do I add custom commands from Spec Kit and OpenSpec?
How do I add custom commands from Spec Kit and OpenSpec?
Spec Kit and OpenSpec are tools that allow you to create custom commands. You can add the path to the generated commands folder via the Manage rules & commands modal.For example, if you have a
.cursor/commands folder created by OpenSpec, simply add that path to the modal. See “Add directory path” for instructions on how to add a directory.If you are using Spec Kit, you have to also add the path to the new specify-rules file, e.g., .cursor/rules/specify-rules.mdc. Refer to the “Add rule path” guide for instructions on how to add a rule path.