@ mentions and context
Type @ in the chat input to attach specific context to your conversation. This helps Agent focus on the right files and information.
What can I reference with @?
- Files & Folders:
@auth.tsor@src/components/to include files or folders (type/after selecting a folder to navigate deeper) - Terminals:
@Terminalsto include terminal output as context - Chats:
@Chatsto reference context from a previous conversation - Git diffs:
@Commit (Diff of Working State)for uncommitted changes, or@Branch (Diff with Main)for your full branch diff - Browser:
@Browserto attach context from the built-in browser
When should I use @ mentions?
Use them when you know which files are relevant. For example, if you want Agent to update a component and its tests, mention both files.
If you're not sure which files matter, skip it — Agent finds relevant files through its own search.
Can I attach multiple items?
Yes. Type @ multiple times to attach several files, folders, or other context items. Each one gets added to the conversation.