# How do I point AI at a specific file or skill?

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Chat. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/chat_mention_files_skills/

## Overview

No need to describe “go read file X” or “use skill Y”: point directly to them in the input box so their contents travel with that message. This skips extra lookup and read round trips and prevents AI from picking a similarly named skill by mistake.

- **@ to mention files**: Files generated or imported in the current conversation's workspace, plus files in local folders or network storage selected for this conversation.
- **@ to pick an SSH server (Pro)**: SSH servers you have allowed AI to access; selecting one makes it the target for this message.
- **@ to summon collaborator assistants & existing subagents**: When subagent collaboration is enabled, you can directly mention another configured assistant to join in, or mention an existing subagent in the current chat to assign follow-up work.
- **/ to specify skills**: Skills enabled on the current assistant.

## How to use

- **Mention files (multi-select supported)**: Type **@** at the end of the input box to list mentionable files (network storage lists only its root directory), and continue typing the filename to filter. The popup supports **multi-select mode** — check multiple files and batch-insert them as `@filename` in one tap, with a live display of selected count and remaining quota (already-mentioned items are grayed out automatically). Up to 8 files can be attached per message; any single file longer than ~24,000 characters sends only its opening portion, with a total cap of ~60,000 characters per message. Documents such as PDF and Word have their text extracted first; non-text files such as images are not attached via `@`. Cube Agent Web now also supports `@` multi-select mentions for conversation files and shared files.
- **Pick an SSH server (Pro)**: Type **@** as well, filter by server name or address, and pick it — it appears in the input box as `@servername`. Before sending, the app verifies the server is still available; commands run by AI still follow your SSH approval rules (ask or auto-run), and the Web workbench works the same way.
- **Specify skills**: Type **/** at the start of the input box or after a space, then filter by words from a skill's name or description and pick it; you can also tap **+ → Skills** to open the full list for searching and multi-select. You can also enable a **Skills** button in the toolbar via toolbar settings. Up to 3 skills can be attached per message; selected skills appear above the input box and can be removed with `×`. The list only shows skills enabled for the current assistant — tap **Manage skills for this assistant** at the bottom of the list to enable more.
- After sending, a line such as “Referenced files: …” or “Using skills: …” appears below the message. Tap it to check whether each item was attached in full, truncated to its opening portion, or reused from earlier context.

## Best practices

- Mentioned files and skill bodies are saved on the message as they were when sent and carried verbatim on later turns, making prompt cache hits easier. Subsequent changes to the file or skill do not affect already-sent messages; mention it again if you need the updated version. If the same content was already attached earlier in the chat, AI is simply reminded to reuse it without consuming duplicate context.
- Mention only the files truly needed for the current turn; for long documents, letting AI read sections on demand saves context.
- If a skill body is especially long, only its opening portion is sent and AI reads the rest on demand. Changing the skills enabled for an assistant causes the prompt cache to rebuild once on the next request.
- `@` mentions are not available in Incognito Chat or AI Provider Management sessions. How reliably AI uses referenced files and skills still depends on the model's instruction-following ability.
