Mentioning Files and Folders
Type @ to attach files or folders as context. ami reads the content and includes it in the conversation.
Examples
| Syntax | Description |
|---|
@src/components/Button.tsx | Attach a specific file |
@src/utils/ | Attach an entire folder |
@src/api.ts:10-50 | Attach specific line ranges |
@package.json | Useful 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.
| Method | How |
|---|
| Paste | Cmd+V to paste from clipboard |
| Drag & drop | Drop 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.