Skip to main content

Slash Commands and @ Syntax

Introduction​

TJ Codely provides a powerful shortcut command system. Through / slash commands and the @ syntax, you can quickly access various features and efficiently complete development tasks. These two features each have a different focus, and using them together can significantly improve your workflow efficiency.

Path: chat input → / → Manage skills / Manage extensions / Manage MCP servers. These commands open the matching type in Settings → Plugins. For references, type @ and select an available target from the menu.

Slash Commands /​

Slash commands are TJ Codely's preset shortcut command system, used for quickly performing common operations and managing system functions.

Core features:

  • Quick Access: No need to memorize complex commands—just type / to view the list of available commands
  • System Management: manage agents, skills, MCP servers, and other system components
  • Interactive Operations: Provides a friendly interactive command interface
  • Context Aware: Offers relevant command suggestions based on the current conversation context

@ Syntax​

The @ syntax is used to force the invocation of a specific Subagent (expert agent), directly delegating tasks to AI assistants in specialized fields.

Core features:

  • Expert Delegation: Directly specify the expert agent to handle the task
  • Bypass Decision: Skip the main agent's automatic selection and explicitly specify the executor
  • Efficient Execution: Reduce time spent understanding context and directly obtain professional advice
  • Flexible Control: Users can precisely control how tasks are executed

Slash Commands / User Guide​

Opening the Command Menu​

In the dialog box, type / and the system will automatically display a list of all available slash commands. You can find the following commands in the GUI:

Switch ModelView UsageManage skillManage commandManage extensionView Shortcuts
Manage MCP ServerManage subagentOpen SettingsExport ConversationView DocumentationSign Out Account

Above is a partial list of commands that appear in the GUI after entering a slash command.

CLI Common Slash Commands​

Next, we'll introduce several commonly used slash commands in the CLI.

Agent Management /agents​
/agents list
/agents info explore
/agents enable explore
/agents disable explore
/agents reload

Use /subagents without arguments to open the interactive subagent panel. Management subcommands belong to /agents; there is no dedicated agent-test subcommand.

Skill Management /skills​

Manage TJ Codely's Skills (reusable specialized capabilities).

/skills list                           # List all available skills
/skills enable <skill_name> # Enable a specified skill
/skills disable <skill_name> # Disable a specified skill
/skills reload # Reload skill configuration

Example:

/skills list
# View all available skills

/skills enable skill-creator
# Enable skill creator
MCP Management /mcp​

Manage Model Context Protocol (MCP) servers.

/mcp list                              # List all MCP servers
/mcp refresh # Refresh MCP servers and tools

Example:

/mcp list
# View connected MCP servers

/mcp refresh
# Refresh MCP servers and tools
Custom Commands /commands​

Manage user-defined custom commands.

/commands list                         # List all custom commands
/commands reload # Reload custom commands
Help and Feedback​
/help                                  # Display help information
/bug # Report a bug or provide feedback

@ Syntax User Guide​

Opening the Command Menu​

In the dialog box, type @ and the system will default to prompting you to select a target folder. If you have configured skills, subagents, or MCP servers, you can use @ to quickly find your configured content.

CLI Common @ Commands​

Next, we'll introduce several commonly used @ commands in the CLI.

  1. Reference paths such as @src/Game/Player.cs or @src/Game/ to include file content or directory information.

  2. Invoke Subagent. Use the @ symbol followed by the subagent's name at the very beginning of the prompt to explicitly direct the task to a specific subagent.

@<subagent_name> <your_task_description>
ScenarioUsageDescription
File context@src/Game/Player.cs / @src/Game/Reference file content or directory information
Read-only investigation@exploreFind files, patterns and code relationships
General multi-step work@general-purposeResearch complex questions and execute multi-step tasks
Implementation planning@planExplore code and propose an implementation plan; does not modify project files
Indexed Unity analysis@unity-insightRead-only asset, scene, prefab and reference analysis; requires Unity Insight to be enabled

Best Practices​

1. Choose the Appropriate Usage Method​

  • Use / Commands: When you need to manage system configuration, list available features, or perform management operations
  • Use @ Syntax: When you need to execute specialized tasks in specific domains
  • Use No Prefix: When the task is general and you want TJ Codely to automatically select the most appropriate handling method

2. Getting Started with Common Commands​

Remember common slash commands and subagent names to improve operational efficiency:

Common Slash Commands:

/agents list          # View available agents
/skills list # View available skills
/mcp list # View MCP servers
/help # Get help

Built-in agent examples:

@explore Find the authentication entry point and return file paths
@general-purpose Investigate the failing tests and implement a fix
@plan Propose an implementation plan for the inventory system
@unity-insight Find assets that reference Assets/Materials/Enemy.mat

Check /agents list first. Unity Insight is gated by its own setting; the repository's definition does not mean it is enabled in every session. Custom names require a corresponding user, project or extension definition.

3. View Available Resources​

When unsure which commands or subagents are available:

  • Type / to view all slash commands
  • Use /agents list to view all available subagents
  • Use /agents info <agent_name> to view detailed information about a specific subagent

4. Testing and Debugging​

  • Give an enabled agent a small task and inspect its file paths, findings and execution results
  • Use /agents reload to reload configuration to apply changes
  • Use /bug to report issues when encountering problems

5. Combine Usage​

You can combine / commands and @ syntax:

# First enable a subagent
/agents enable explore

# Then use it directly
@explore Find the project entry points and main modules; return supporting file paths

Notes​

@ Syntax Notes​

  • Position Requirement: Put a Subagent mention at the start of the prompt. CLI file mentions may appear elsewhere, preceded by whitespace.
  • Name Matching: Subagent names must match exactly (case-sensitive)
  • Availability Check: If a subagent is not enabled or does not exist, the main agent will attempt to complete the task itself
  • Recursive Protection: Subagents cannot invoke other subagents

Slash Command Notes​

  • Session Requirement: Some commands (such as /agents) need to be used in interactive CLI sessions
  • Permission Requirement: Some management operations may require appropriate permissions
  • Configuration Persistence: Changes made through command line may not persist and require modification of configuration files

Document Version: 2.0 Last Updated: March 25, 2026