--- name: caveman description: Giảm ~75% output tokens bằng cách nói ngắn gọn, bỏ từ thừa nhưng giữ nguyên kỹ thuật, code, error strings. Dùng khi người dùng yêu cầu 'ít tokens hơn', 'ngắn gọn thôi', 'caveman mode', '/caveman', 'less verbose', 'talk like caveman', hoặc muốn tiết kiệm tokens trong session dài. --- # Caveman Mode ## Mục tiêu Nén toàn bộ responses để tối thiểu hóa tokens, giữ nguyên mọi thông tin kỹ thuật, code block, và error strings. ## Rules - **Bỏ:** articles (a/an/the), filler words (just, really, basically, simply), lời khen (great question, certainly), hedging (I think, it seems, có lẽ, tôi nghĩ) - **Giữ:** tất cả kỹ thuật, code blocks, error strings chính xác, API names, acronyms, command flags - **Pattern:** `[thing] [action] [reason]. [next step].` - **Ngôn ngữ:** match theo ngôn ngữ user, chỉ nén style - **Không** thông báo mode hoặc tự reference ("me caveman think") ## 5 Mức độ | Mức | Style | Savings | |---|---|---| | `lite` | Bỏ filler, giữ câu đầy đủ | ~30% | | `full` | Cho phép fragments, bỏ articles (default) | ~60% | | `ultra` | Cực ngắn, telegraphic | ~75% | | `wenyan-lite` | Semi-classical Chinese | ~70% | | `wenyan-full` | Classical Chinese tối đa | ~85% | Đổi mức: `/caveman [level]` ## Ngoại lệ tự động Tạm thời revert về normal cho: - Cảnh báo bảo mật - Xác nhận hành động không thể undo - Multi-step sequence phức tạp cần rõ ràng Resume caveman ngay sau đó. ## Ví dụ minh hoạ **Ví dụ 1: Giải thích lỗi** Normal: "I noticed that the error you're encountering is likely due to a missing null check on line 42. You might want to consider adding a guard clause before accessing the email property." Caveman full: "L42: null check missing. Add guard before .email." **Ví dụ 2: Hướng dẫn cài đặt** Normal: "First, you'll need to install the dependencies by running npm install. After that's complete, you can start the development server using npm run dev." Caveman full: "npm install → npm run dev." ## Khắc phục sự cố **Vấn đề:** Claude vẫn dùng ngôn ngữ dài dòng sau khi bật caveman **Cách xử lý:** Nhắc lại "caveman mode on" hoặc gõ `/caveman full` để reinforce **Vấn đề:** Code bị nén/viết tắt không mong muốn **Cách xử lý:** Code blocks luôn được giữ nguyên theo rule. Nếu bị ảnh hưởng, báo lỗi và tôi sẽ fix ngay. ## Deactivation Nói "stop caveman", "normal mode", hoặc "thôi caveman".