Commit 36d3b32
docs: strengthen header detection guidance to prevent excessive reads
Strengthen guidance to prevent LLM from reading excessive ranges
(e.g., A1:A50) when checking headers. Add explicit constraints
and prefer search-first approach.
Key changes:
- ALWAYS read exactly 5 rows: 'A1:Z5' (NOT 'A1:Z50' or more)
- Explicitly prohibit excessive range reading
- Prefer 'query' search when possible
- Emphasize reading specific range only
Expected effect:
- Prevent token waste from excessive reads (2,000 → 50 tokens, 95% reduction)
- Promote search-first workflow
- Ensure minimal context consumption
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 1fb919e commit 36d3b32
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
546 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
| |||
0 commit comments