dont-be-greedy
✓當使用者上傳或引用資料檔案(CSV、JSON、XLSX、TXT、LOG)或任何 檔案大於 100KB,立即使用 script/estimate_size.py 估算令牌成本。 如果 >30k 標記,則對檔案進行分塊並總結每個區塊。如果較小,請進行快速檢查。 返回安全預覽和摘要,而不詢問使用者要做什麼。
SKILL.md
Prevents context overflow by enforcing size-aware data loading. Large files can exceed context windows and crash agent workflows. This skill measures files before loading, chunks oversized data, and returns compact summaries with safe previews so downstream processing can continue without context exhaustion.
| < 10,000 | Run quick inspection, load directly | | 10,000 - 30,000 | Run quick inspection, consider filtering | | > 30,000 | Chunk and summarize before loading |
Return overall summary + per-chunk summaries + safe preview of first rows.
當使用者上傳或引用資料檔案(CSV、JSON、XLSX、TXT、LOG)或任何 檔案大於 100KB,立即使用 script/estimate_size.py 估算令牌成本。 如果 >30k 標記,則對檔案進行分塊並總結每個區塊。如果較小,請進行快速檢查。 返回安全預覽和摘要,而不詢問使用者要做什麼。 來源:elliotjlt/claude-skill-potions。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/elliotjlt/claude-skill-potions --skill dont-be-greedy- 分類
- #文件處理
- 認證
- ✓
- 收錄時間
- 2026-02-11
- 更新時間
- 2026-02-18
快速解答
什麼是 dont-be-greedy?
當使用者上傳或引用資料檔案(CSV、JSON、XLSX、TXT、LOG)或任何 檔案大於 100KB,立即使用 script/estimate_size.py 估算令牌成本。 如果 >30k 標記,則對檔案進行分塊並總結每個區塊。如果較小,請進行快速檢查。 返回安全預覽和摘要,而不詢問使用者要做什麼。 來源:elliotjlt/claude-skill-potions。
如何安裝 dont-be-greedy?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/elliotjlt/claude-skill-potions --skill dont-be-greedy 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/elliotjlt/claude-skill-potions
詳情
- 分類
- #文件處理
- 來源
- skills.sh
- 收錄時間
- 2026-02-11