본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트117k · #741

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/caveman-stats/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬