ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 eshin087

coach

/coach: 실시간 비용, 캐시, 컨텍스트 및 하위 에이전트 통계, SDLC 습관 확인 및 설계 강의 중요한 순간에 팁 하나.

번역 완료

이 mod 소개

코치

기능: 비용과 품질을 높이는 세션 이면의 수치를 보여주고, 일반적인 소프트웨어 수명주기(SDLC)와 비교하여 습관을 확인하며, 방금 수행한 작업과 관련하여 한 번에 하나의 architect-level 개념을 가르칩니다. 목표는 vibe-coding 기술을 실제 엔지니어링 작업에 적용하는 것입니다.

보는 곳:

  • 도크(또는 /coach)의 C는 패널을 전환합니다.
  ● Cache    92%   ━━━━━━━━━━━  reusing context well
  ● Context  41%   ━━━━━━━━━━━  room to spare
  ● Cost     $3.20             $0.27 per turn
  Habits   ✓ Plan  ✓ Branch  ✗ Tests  ✓ Commits  · PR
  Do next  Run the tests: 8 edits since the last run
  Tokens   120k fresh  4.1M cached  300k cache-write  52k out
  Model    claude-opus-5-5  effort high  subagents 4 runs · 31% of tokens
  Lesson   The test pyramid
           Many fast unit tests at the base, fewer integration tests…
  
```-
 **색상:** 녹색은 좋음, 노란색은 주의, 빨간색은 행동을 의미합니다. 토큰 행에서 캐시된 토큰은 녹색(저렴함), cache-writes 노란색 및 출력 청록색입니다.
  - **자세히**에는 강의의 "다음 팁** 및 링크 포함" 강의의 "다음 팁** 및 링크 포함" 노트(**다른 강의** 포함)와 Claude Code 전문가 팁이 추가됩니다.
- 캐시 및 컨텍스트 표시줄, 비용, 습관 및 "다음 작업"이 포함된 보라색 카드를 보려면 도크에서 **C**를 가리키세요.
- **한 차례에 한 가지 팁, 규칙이 실행될 때만** 채팅에서 희미한 `🎓 Coach · …` 행으로:
  - 메인에 바로 커밋됨
  - 큰 턴에서 50%에서 캐시 히트(가능한 원인 있음)
  - 75% 전체에 대한 컨텍스트
  - 테스트가 마지막으로 실행된 이후 5+ 편집
  - 턴 비용은 ~$2 이상
  - 계획 없이 구축하는 데 10+분 소요
  - 토큰의 절반 이상을 사용하는 하위 에이전트

  동일한 팁은 반복하기 전에 최소한 6 회전을 기다립니다.

**용어집:**
- **프롬프트 캐시:** 앱 re-sends는 매 턴 전체 대화를 보여줍니다. 캐시 적중은 접두사가 재사용되었으며 새로운 입력의 ~10%만큼 요금이 청구되었음을 의미합니다. 모델 스위치, CLAUDE.md 또는 메모리 편집, /compact 또는 유휴 간격(캐시 만료)에 대한 적중 중단이 발생합니다.
- **컨텍스트 채우기:** 대화에서 사용하는 모델 창의 양입니다. 풀러는 한계에 가까운 더 느리고, 더 비싸고, 더 낮은 품질을 의미합니다.
- **비용:** API 가격. 구독 시 이는 청구서가 아닌 귀하가 사용한 값이지만 5-hour 창을 얼마나 빨리 태우는지 추적합니다.

**작동 방식:** 모든 것은 앱이 이미 보고한 것(턴당 토큰 사용량, 세션 비용 및 컨텍스트, 편집, 테스트, 커밋 및 `gh pr create`와 같은 도구 호출)에서 비롯됩니다. 모델 호출이 없습니다.

**비용:** 없음.

**저장된 데이터:** 디스크에 없음. 해당 세션에 대한 통계가 실시간으로 제공됩니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add eshin087/claude-code-mods
claude plugin install coach
원문 / README

Coach

What it does: shows the numbers behind your sessions that drive cost and quality, checks your habits against a normal software lifecycle (SDLC), and teaches one architect-level concept at a time, tied to what you just did. The aim is to carry vibe-coding skill into real engineering work.

Where you see it:

  • C in the dock (or /coach) toggles the panel:

    ● Cache    92%   ━━━━━━━━━━━  reusing context well
    ● Context  41%   ━━━━━━━━━━━  room to spare
    ● Cost     $3.20             $0.27 per turn
    Habits   ✓ Plan  ✓ Branch  ✗ Tests  ✓ Commits  · PR
    Do next  Run the tests: 8 edits since the last run
    Tokens   120k fresh  4.1M cached  300k cache-write  52k out
    Model    claude-opus-5-5  effort high  subagents 4 runs · 31% of tokens
    Lesson   The test pyramid
             Many fast unit tests at the base, fewer integration tests…
    
    • Colors: green is good, yellow means watch it, red means act. In the token row, cached tokens are green (cheap), cache-writes yellow and output cyan.
    • More adds the lesson's "try next" and "at work" notes (with Another lesson) and a Claude Code pro tip (with Next tip and links).
  • Hover C in the dock for a violet card with the cache and context bars, cost, habits and "do next".

  • One tip after a turn, only when a rule fires, as a dim 🎓 Coach · … row in the chat:

    • committed straight to main
    • cache hit under 50% on a big turn (with the likely cause)
    • context over 75% full
    • 5+ edits since tests last ran
    • a turn costing over ~$2
    • 10+ minutes of building with no plan
    • subagents using over half the tokens

    The same tip waits at least 6 turns before repeating.

Glossary:

  • Prompt cache: the app re-sends the whole conversation every turn. A cache hit means that prefix was reused and billed at ~10% of fresh input. Hits break on model switches, CLAUDE.md or memory edits, /compact, or idle gaps (the cache expires).
  • Context fill: how much of the model's window the conversation uses. Fuller means slower, pricier, and lower quality near the limit.
  • Cost: API prices. On a subscription this is the value you used, not a bill, but it tracks how fast you burn your 5-hour window.

How it works: everything comes from what the app already reports (token usage per turn, session cost and context, tool calls such as edits, tests, commits and gh pr create). No model calls.

Cost: none.

Data saved: none on disk. Stats live for the session.

비슷한 프로젝트