Langsung ke konten
Skillpedia
Analisis & spreadsheet117k · #741

caveman-stats

Fungsinya

Skill ini melaporkan penggunaan token yang tercatat untuk sesi Claude Code saat ini. Skill ini ditujukan bagi orang yang ingin melihat seberapa banyak sesi AI mereka telah memakai token.

Kapan dipakai

  • ✓Saat Anda ingin melihat penggunaan token untuk sesi Claude Code saat ini.
  • ✓Saat Anda ingin total dari beberapa sesi dalam satu periode.
  • ✓Saat Anda ingin tahu mode mana yang aktif selama sebuah sesi.

Link skill

https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/caveman-stats/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/caveman-stats/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Tolong tampilkan penggunaan token untuk sesi Claude Code ini dan saya sedang berada di mode apa.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill menjalankan laporan statistik dan menampilkan angka yang tercatat persis seperti apa adanya. Skill tidak menambahkan perkiraan sendiri, dan mencatat bahwa penghematan tidak diketahui tanpa pembanding yang terukur.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

In Claude Code, src/hooks/caveman-mode-tracker.js runs src/hooks/caveman-stats.js on /caveman-stats and supplies its report through hookSpecificOutput.additionalContext. Print that report verbatim inside a fenced code block, as the hook instructs. Do not calculate or add 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.

Pertanyaan umum

Apakah ia memperkirakan berapa token yang saya hemat?

Tidak. Deskripsinya menyebutkan penghematan tidak diketahui, karena tidak ada pembanding terukur tanpa mode tersebut.

Apakah ini bekerja di luar Claude Code?

Hanya Claude Code yang dicakup secara rinci. Host lain diarahkan untuk memakai laporan penggunaan mereka sendiri.

Bisakah ia mencakup beberapa sesi?

Bisa. Opsi tersedia untuk semua sesi atau untuk periode tertentu, seperti tujuh hari terakhir.

Detail

Deskripsi asli dari pembuat

Show recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locate the host's native usage report. Trigger: /caveman-stats.

repo: JuliusBrussee/caveman

Popularitas

Bintang GitHub
117k
Peringkat
#741
Lisensi
Apache-2.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa