Slash Commands
Slash commands are typed shortcuts that trigger built-in or user-defined behavior in an interactive Syntic session. Type / at the start of a line and the autocomplete menu opens.
Built-In Commands
| Command | Description |
|---|---|
/help | Show all available commands |
/clear | Reset the conversation (keeps session ID) |
/compact | Manually trigger context compaction |
/model <id> | Switch model mid-session |
/plan | Enter Plan Mode |
/exit-plan | Exit Plan Mode and execute |
/cost | Show token usage and cost for the session |
/login / /logout | Manage auth |
/skills | List active skills |
/mcp | List connected MCP servers |
/agents | List dispatchable sub-agents |
/permissions | Show / edit permission mode |
/resume <id> | Resume a prior session |
/share | Generate a shareable session URL |
/feedback | Send feedback to Syntic |
Custom Slash Commands
Drop a markdown file into ~/.syntic/commands/<name>.md (global) or .syntic/commands/<name>.md (project):
---
description: Open a PR for the current branch with a generated summary
---
Look at the current branch's commits since main, draft a concise PR title and body, then open the PR using `gh pr create`. Use the test plan format from CONTRIBUTING.md.Now /open-pr is available in any session.
Command Arguments
Custom commands support $ARGUMENTS (raw) and $1, $2 (positional):
~/.syntic/commands/blame.md
---
description: Explain who changed lines and why for $1
---
Run `git blame $1`, group commits by author, summarize what each author did and link the commit hashes.Usage: /blame src/auth.ts
Project vs Global
| Location | Scope |
|---|---|
~/.syntic/commands/ | Available everywhere |
<repo>/.syntic/commands/ | Available only in this repo |
Project commands override global ones with the same name.
Sharing Commands
Commit .syntic/commands/ to the repo. Every contributor gets the same commands automatically.