Skip to main content
The true power of ChatCLI lies in its ability to understand the context you are working in. The @ 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

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.

Special flags


@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.

@env: Environment Variables

Adds the current environment variables to the conversation context.
ChatCLI automatically detects and removes values of sensitive variables (such as API_KEY, TOKEN, PASSWORD), replacing them with [REDACTED].

Combining Commands

The real magic happens when you combine multiple context commands in a single prompt:

Next Steps

Agent Mode

Give ChatCLI “hands” — delegate tasks for it to execute.

Coder Mode

AI that reads, edits, and tests code in an automated loop.