@ commands collect information from your system and attach it to the prompt, enabling precise and relevant responses.
@file: Code Context
The most essential command for developers. Sends file contents or the structure of entire directories for analysis.
Processing modes
- full
- summary
- chunked
- smart
Scenario: Deep analysis of a file or small component.Sends the complete content of all files, respecting a size limit.
Set the mode using the
--mode flag. Example: @file --mode=smart ./src@command: Bridge to the Terminal
Execute any shell command and use its output as context, and even add your question — without copy and paste, just use the > (GREATER THAN) sign.
| Without ChatCLI (before) | With ChatCLI (now) |
|---|---|
| Run command, redirect to file, open, copy, paste into browser | A single command with integrated context |
Special flags
| Flag | Description |
|---|---|
@command -i | Interactive mode — for commands like vim or ssh |
@command --ai | Sends the output directly to the AI, without an additional question |
@command --ai <command> > <your question or additional context> | Sends the output directly to the AI, with an additional question/context |
@git: Repository Context
Attaches the status (git status -s), branch, diffs of modified files, and the 5 most recent commits. Perfect for generating commit messages or summarizing changes.