Slash Commands

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

CommandDescription
/helpShow all available commands
/clearReset the conversation (keeps session ID)
/compactManually trigger context compaction
/model <id>Switch model mid-session
/planEnter Plan Mode
/exit-planExit Plan Mode and execute
/costShow token usage and cost for the session
/login / /logoutManage auth
/skillsList active skills
/mcpList connected MCP servers
/agentsList dispatchable sub-agents
/permissionsShow / edit permission mode
/resume <id>Resume a prior session
/shareGenerate a shareable session URL
/feedbackSend 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

LocationScope
~/.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.

  • Skills — Skills are loaded automatically; slash commands are typed explicitly
  • Settings — Override the command directory location