Scott Berrevoets 3/20/2026

Claude can load files "lazily" or "greedily"

Read Original

This article details the difference between two file-loading methods in Claude/Claude Code: markdown linking ([My File](myfile.md)) which loads files lazily (only when Claude deems it necessary), and the @-syntax (@path/to/file) which greedily and unconditionally inlines the file into the prompt. It highlights the portability of markdown links and the immediate nature of @-syntax, providing a technical comparison for users optimizing context management.

Claude can load files "lazily" or "greedily"

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet