Skip to main content

Mentioning Files and Folders

Type @ to attach files or folders as context. ami reads the content and includes it in the conversation.

Examples

SyntaxDescription
@src/components/Button.tsxAttach a specific file
@src/utils/Attach an entire folder
@src/api.ts:10-50Attach specific line ranges
@package.jsonUseful for showing dependencies
File autocomplete appears after typing 4+ characters. Press Tab to accept suggestions. You can also drag files from your file explorer directly into the chat.
Attach relevant files upfront. If you know which files matter, mention them in your first message. It saves ami from searching.

Attaching Images

Attach screenshots, diagrams, or mockups to your messages.
MethodHow
PasteCmd+V to paste from clipboard
Drag & dropDrop images directly onto the chat
Mention@path/to/image.png to attach by path
Supported formats: PNG, JPEG, GIF, WebP Maximum size: 30MB
Use screenshots to show ami exactly what you’re seeing: error messages, UI bugs, design references.

Referencing Git Commits

Click @ Context to search for and select a git commit. This is useful for reviewing recent changes or understanding what was modified.