caveman-stats

Hiển thị mức sử dụng token thực tế và khoản tiết kiệm ước tính cho phiên hiện tại. Đọc trực tiếp từ nhật ký phiên Claude Code — không ước tính bằng AI. Kích hoạt bằng lệnh /caveman-stats. Đầu ra được chèn bởi hook mode-tracker; bản thân mô hình không tính toán các con số.

npx skills add https://github.com/juliusbrussee/caveman --skill caveman-stats

In Claude Code, src/hooks/caveman-mode-tracker.js resolves src/hooks/caveman-stats.js next to itself and runs it on /caveman-stats. The hook does not block the prompt: it supplies the report through hookSpecificOutput.additionalContext with an instruction to print it verbatim inside a fenced code block. Do exactly that, and do not calculate, recompute or re-round the numbers yourself.

In Gemini CLI, direct the user to /stats model for current session token usage or /stats session for session statistics. Gemini custom commands are prompts; they cannot invoke the built-in command or read its live session metrics. Never read Claude Code transcripts as Gemini usage. In other hosts, use a native usage report if one is available; otherwise say that current session usage is unavailable. The Claude reader and its lifetime history apply only to Claude Code. Savings remain unknown in every host without a measured comparison.

The report shows recorded output and cache-read tokens, response counts, and mode attribution where available. Savings are unknown: the transcript has no measured comparison without Caveman. Do not infer saved tokens, percentages, dollars, rule overhead, or a net result from output counts or the current mode.

--all and --since 7d aggregate the latest recorded output count per session. --share reports observed usage with savings unknown. Historical est_saved_* fields are ignored; their original history rows remain on disk. The statusline shows the active mode without the retired savings badge.

Original/current memory-file pairs are reported by their measured byte sizes. Those file-size differences do not establish provider token or billing savings. See docs/HONEST-NUMBERS.md.

Thêm skills từ juliusbrussee

caveman
juliusbrussee
Chế độ giao tiếp siêu nén. Giảm ~75% lượng token dùng bằng cách nói như người tiền sử nhưng vẫn giữ độ chính xác kỹ thuật đầy đủ. Hỗ trợ các mức cường độ: lite, full (mặc định), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Dùng khi người dùng nói "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", hoặc gọi /caveman. Cũng tự động kích hoạt khi yêu cầu hiệu quả token.
communicationproductivity
caveman-commit
juliusbrussee
Trình tạo thông báo commit siêu nén. Loại bỏ nhiễu khỏi thông báo commit trong khi vẫn giữ nguyên ý định và lý do. Định dạng Conventional Commits. Tiêu đề ≤50 ký tự, phần thân chỉ khi "lý do" không rõ ràng. Sử dụng khi người dùng nói "write a commit", "commit message", "generate commit", "/commit", hoặc gọi /caveman-commit. Tự động kích hoạt khi có thay đổi đang chờ.
developmentcode-review
caveman-compress
juliusbrussee
Nén các tệp bộ nhớ ngôn ngữ tự nhiên (CLAUDE.md, todos, preferences) sang định dạng caveman để tiết kiệm token đầu vào. Giữ nguyên toàn bộ nội dung kỹ thuật, mã, URL và cấu trúc. Phiên bản nén ghi đè lên tệp gốc. Bản sao lưu có thể đọc được lưu dưới dạng FILE.original.md. Kích hoạt: /caveman-compress FILEPATH hoặc "compress memory file
developmentdocument
caveman-help
juliusbrussee
Thẻ tham khảo nhanh cho tất cả các chế độ, kỹ năng và lệnh của caveman. Hiển thị một lần, không phải chế độ liên tục. Kích hoạt: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
developmentdocumentproductivity
caveman-review
juliusbrussee
Nhận xét đánh giá mã siêu ngắn gọn. Loại bỏ nhiễu từ phản hồi PR trong khi vẫn giữ lại tín hiệu có thể hành động. Mỗi nhận xét là một dòng: vị trí, vấn đề, cách sửa. Sử dụng khi người dùng nói "xem xét PR này", "đánh giá mã", "xem xét diff", "/review", hoặc gọi /caveman-review. Tự động kích hoạt khi xem xét pull requests.
developmentcode-review
cavecrew
juliusbrussee
Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit), or `cavecrew-reviewer` (diff review) instead of doing the work inline or using vanilla `Explore`. Subagent output is caveman-compressed so the tool-result injected back into main context is ~60% smaller — main context lasts longer across long sessions. Trigger: "delegate to subagent", "use cavecrew", "spawn...
developmentcode-reviewapi
caveman-explore
juliusbrussee
Trình khám phá kho lưu trữ chỉ đọc. Sử dụng chủ động để thăm dò khi bắt đầu, định vị tệp đa nơi trên diện rộng, hoặc khi tìm kiếm trực tiếp thất bại và bạn cần xác định vị trí của một thứ gì đó. Bỏ qua khi vấn đề đã nêu rõ tệp hoặc ký hiệu chính xác, hoặc lượt trước đã trả về bằng chứng file:line hữu dụng. Chỉ trả về trích dẫn path:line gọn gàng; các thao tác đọc và grep của nó không bao giờ đi vào cuộc trò chuyện chính.
investigate-first
juliusbrussee
Chẩn đoán các lỗi không rõ ràng trước khi chỉnh sửa. Sử dụng cho các nguyên nhân chưa xác định, hành vi không liên tục, suy giảm hiệu suất, hoặc các cuộc điều tra cần các giả thuyết được xếp hạng theo bằng chứng.