caveman-stats

โดย juliusbrussee

แสดงการใช้งานโทเค็นจริงและประมาณการประหยัดสำหรับเซสชันปัจจุบัน อ่านโดยตรงจากบันทึกเซสชันของ Claude Code — ไม่มีการประมาณด้วย AI เรียกใช้ด้วย /caveman-stats ผลลัพธ์ถูกแทรกโดย mode-tracker hook; ตัวโมเดลไม่ได้คำนวณตัวเลขเอง

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.

Skills เพิ่มเติมจาก juliusbrussee

caveman
juliusbrussee
โหมดสื่อสารแบบบีบอัดสูง ลดการใช้โทเค็นประมาณ 75% โดยพูดแบบมนุษย์ถ้ำ แต่ยังคงความถูกต้องทางเทคนิคครบถ้วน รองรับระดับความเข้มข้น: lite, full (ค่าเริ่มต้น), ultra, wenyan-lite, wenyan-full, wenyan-ultra ใช้เมื่อผู้ใช้พูดว่า "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief" หรือเรียกใช้ /caveman และจะทำงานอัตโนมัติเมื่อมีการขอประสิทธิภาพการใช้โทเค็น
communicationproductivity
caveman-commit
juliusbrussee
เครื่องมือสร้างข้อความคอมมิตที่บีบอัดอย่างยิ่ง ลดความรกในข้อความคอมมิตขณะคงเจตนาและเหตุผลไว้ รูปแบบ Conventional Commits หัวข้อไม่เกิน 50 ตัวอักษร เนื้อหาเฉพาะเมื่อ "เหตุผล" ไม่ชัดเจน ใช้เมื่อผู้ใช้พูดว่า "write a commit", "commit message", "generate commit", "/commit" หรือเรียก /caveman-commit ทำงานอัตโนมัติเมื่อมีการจัดเตรียมการเปลี่ยนแปลง
developmentcode-review
caveman-compress
juliusbrussee
บีบอัดไฟล์หน่วยความจำภาษาธรรมชาติ (CLAUDE.md, todos, preferences) ให้เป็นรูปแบบ caveman เพื่อประหยัดโทเค็นอินพุต คงไว้ซึ่งเนื้อหาทางเทคนิค โค้ด URL และโครงสร้างทั้งหมด เวอร์ชันที่บีบอัดจะเขียนทับไฟล์ต้นฉบับ สำเนาสำรองที่มนุษย์อ่านได้จะถูกบันทึกเป็น FILE.original.md ทริกเกอร์: /caveman-compress FILEPATH หรือ "compress memory file
developmentdocument
caveman-help
juliusbrussee
บัตรอ้างอิงด่วนสำหรับโหมด ทักษะ และคำสั่งทั้งหมดของ caveman แสดงผลครั้งเดียว ไม่ใช่โหมดถาวร คำสั่งเรียก: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman
developmentdocumentproductivity
caveman-review
juliusbrussee
ความคิดเห็นรีวิวโค้ดแบบบีบอัดสูง ลดสัญญาณรบกวนจากฟีดแบ็ก PR ขณะคงสัญญาณที่นำไปปฏิบัติได้ไว้ แต่ละความคิดเห็นคือหนึ่งบรรทัด: ตำแหน่ง ปัญหา วิธีแก้ไข ใช้เมื่อผู้ใช้พูดว่า "review this PR", "code review", "review the diff", "/review" หรือเรียกใช้ /caveman-review ทำงานอัตโนมัติเมื่อรีวิว pull requests
developmentcode-review
cavecrew
juliusbrussee
We need to translate the given English text into Thai. The text describes a decision guide for delegating to caveman-style subagents. It mentions specific names: cavecrew-investigator, cavecrew-builder, cavecrew-reviewer, and cavecrew. These names should be preserved as is. Also preserve "Explore" (capitalized) and the trigger phrases. The translation should be natural Thai, keeping technical terms like "subagent", "tool-result", "context", "inline", "diff review", etc. The instruction says to preserve URLs, numbers, technical terms. No extra commentary. Just output the translation. Let me translate paragraph by paragraph. First sentence: "Decision guide for delegating to caveman-style subagents." -> "คู่มือการตัดสินใจสำหรับการมอบหมายงานให้กับซับเอเจนต์สไตล์ถ้ำมนุษย์" (caveman-style might be "สไตล์ถ้ำมนุษย์" but careful: "caveman" is a term, but we preserve "caveman-style" as is? The
developmentcode-reviewapi
caveman-explore
juliusbrussee
เครื่องมือสำรวจพื้นที่เก็บข้อมูลแบบอ่านอย่างเดียว ใช้เชิงรุกสำหรับการสำรวจเบื้องต้น การค้นหาข้ามไฟล์ในวงกว้าง หรือเมื่อการค้นหาตรงล้มเหลวและจำเป็นต้องระบุตำแหน่งของสิ่งนั้น ข้ามไปเมื่อประเด็นระบุไฟล์หรือสัญลักษณ์ที่แน่นอนอยู่แล้ว หรือรอบก่อนหน้าให้หลักฐาน file:line ที่ใช้งานได้แล้ว ส่งคืนเฉพาะการอ้างอิง path:line แบบกระชับ การอ่านและการ grep ไม่เคยเข้าไปในบทสนทนาหลัก
investigate-first
juliusbrussee
วินิจฉัยความล้มเหลวที่ไม่ชัดเจนก่อนแก้ไข ใช้สำหรับสาเหตุที่ไม่ทราบ พฤติกรรมที่ไม่สม่ำเสมอ การถดถอยของประสิทธิภาพ หรือการสืบสวนที่ต้องการสมมติฐานที่จัดอันดับตามหลักฐาน