Skip to content

@ Mentions

@ Mentions let you bring files, folders, and terminal output directly into the conversation context — no copy-pasting needed.

Image

Type @ in the chat input to open the mentions menu.

Syntax: @/path/to/file or @"/path with spaces/file.ts"

Kodik includes the full contents of the file in context. Paths are relative to the workspace root.

Syntax: @/path/to/folder

Kodik includes the listing of the folder. Folder mentions are treated separately from file mentions (internal tag @folder:): clicking one in the panel opens the folder in the file explorer rather than opening a file.

A line range can be appended to any file mention:

  • Single line: @/src/index.ts#L42
  • Range: @/src/index.ts#L10-L50

The #L... suffix tells the agent which part of the file is most relevant, and is also used for navigation (the file opens at that line).

Syntax: @terminal:<terminal name>

Attaches the output of the running terminal with the given name. Kodik captures up to 200 of the most recent lines from the terminal scrollback. If no terminal with that name is found, or its buffer is empty, this is indicated explicitly in context.

Examples: @terminal:bash, @terminal:npm run dev

Image

When you send a message, Kodik processes all mentions and builds a <user_mentions> section in the context. File and folder mentions are passed as paths relative to the workspace root. Files blocked by .kodikignore are excluded from context.

Terminal mentions are delivered in a separate <terminal_context> section and are not mixed with file mentions.

I'm getting an error in @/src/api/users.ts#L34-L56
Here is the config: @/vite.config.ts
Build output: @terminal:npm run build
Check the whole structure: @/src/components
  1. Type @ in the chat input.
  2. Select a mention type from the menu, or keep typing the path.
  3. Send your message as usual.

Kodik automatically processes the mentions and includes the referenced content before calling the model.