caveman-stats
하는 일
이 스킬은 현재 Claude Code 세션에 기록된 토큰 사용량을 보고합니다. AI 세션에서 얼마나 사용했는지 보고 싶은 사람을 위한 것입니다.
사용하는 경우
- ✓현재 Claude Code 세션의 토큰 사용량을 보고 싶을 때.
- ✓일정 기간 동안 여러 세션의 합계를 보고 싶을 때.
- ✓세션 중 어떤 모드가 활성화되어 있었는지 알고 싶을 때.
스킬 링크
https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/caveman-stats/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 Claude Code 세션의 토큰 사용량과 제가 어떤 모드에 있었는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 통계 보고서를 실행하고 기록된 숫자를 그대로 출력합니다. 자체 추정치를 더하지 않으며, 모드 없이 측정된 비교가 없으므로 절약량은 알 수 없다고 밝힙니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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.
자주 묻는 질문
토큰을 얼마나 아꼈는지 추정하나요?
아닙니다. 설명에 따르면 측정된 비교가 없으므로 절약량은 알 수 없습니다.
Claude Code 밖에서도 작동하나요?
Claude Code만 자세히 다룹니다. 다른 호스트에는 자체 사용량 보고서를 사용하라고 안내합니다.
여러 세션을 볼 수 있나요?
네. 모든 세션이나 최근 7일 같은 기간을 고르는 옵션이 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 117k
- 순위
- #741
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
cavecrew
117k에이전트가 검색, 작은 수정, 변경 검토를 간결한 하위 에이전트에 맡길 시점을 골라 주 대화의 공간을 아끼도록 돕습니다.
caveman-compress
117kCLAUDE.md나 할 일 목록 같은 메모 파일을 입력 토큰을 줄이기 위해 짧은 caveman 스타일로 줄이도록 에이전트를 돕습니다.
caveman
117k에이전트가 기술적 사실은 모두 유지하면서 군더더기를 뺀 짧고 직접적인 스타일로 답하도록 돕습니다.
megacave
117k코드와 기술 용어는 정확히 유지하면서, 매우 짧은 고전 중국어 스타일로 답하도록 에이전트를 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.