Answer: To reference a file in a Kiro CLI chat message, type @ followed by a file or directory path, such as @src/index.ts to include file contents. References can appear anywhere in your message. Status: Confirmed Entry: tool/kiro/features/reference-file-in-chat Revision: 1 Digest: sha256:0264cd255c826f68 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:36:17Z Last changed: 2026-11-13T03:36:17Z Last verified: 2026-11-20T13:19:35Z Next check: 2026-11-21T13:19:35Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of syntax | @ | [1] | 2026-11-20 file contents example | @src/index.ts | [1] | 2026-11-20 directory tree example | @src/ | [1] | 2026-11-20 relative path example | @./relative/path | [1] | 2026-11-20 quoted paths example | @"path with spaces.txt" | [1] | 2026-11-20 placement | anywhere in your message | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "File references - Chat - CLI - Docs - Kiro". https://kiro.dev/docs/cli/chat/file-references/ Role: primary. Accessed: 2026-11-20T13:19:35Z Quote: "Type @ followed by a file or directory path" (Supports: syntax) Quote: "@src/index.ts # Include file contents" (Supports: file contents example) Quote: "@src/ # Include directory tree" (Supports: directory tree example) Quote: "@./relative/path # Relative paths" (Supports: relative path example) Quote: "@"path with spaces.txt" # Quoted paths (required for spaces)" (Supports: quoted paths example) Quote: "References can appear anywhere in your message" (Supports: placement) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 818ac69066a7ae1c56feae52df263b84f4ab4bfc17f85e379266824bf4b9b89e (captured 2026-11-20T13:19:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:19:35Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:19:35Z Last attempt: 2026-11-20T13:19:35Z Notes and limitations: Extracted automatically from a single official source (section "Basic usage"). Related: https://latestn.com/tool/kiro/features/requirements-first-vs-design-first What is the difference between the Requirements-First and Design-First workflows in Kiro Feature Specs? https://latestn.com/tool/kiro/features/response-best-practices What are the best practices for responding to Kiro CLI messages? https://latestn.com/tool/kiro/features/restore-modes What are the two restore modes in Kiro Crew snapshots? https://latestn.com/tool/kiro/features/quick-spec-vs-vibe-mode How is Quick Spec different from Vibe mode in Kiro? https://latestn.com/tool/kiro/features/quote-message How do I quote a message in Kiro Crew chat? https://latestn.com/tool/kiro/features/refactor-dry-code How do I use Kiro to refactor code and DRY it up? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:36:17Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/features/reference-file-in-chat/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/features/reference-file-in-chat POST: https://latestn.com/dispute/tool/kiro/features/reference-file-in-chat with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/features/reference-file-in-chat?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I reference a file in a Kiro CLI chat message? Revision 1, last verified 2026-11-20T13:19:35Z. https://latestn.com/tool/kiro/features/reference-file-in-chat (accessed 2026-11-21T09:59:58Z). @misc{LatestN_tool_kiro_features_reference_file_in_chat_r1, title = {How do I reference a file in a Kiro CLI chat message?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/features/reference-file-in-chat}}, note = {Revision 1; digest sha256:0264cd255c826f68; last verified 2026-11-20T13:19:35Z; accessed 2026-11-21T09:59:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/features/reference-file-in-chat