Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add msbaek/msbaek-claude-plugins/plugin install msbaek-tddWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/tdd-profile)<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/tdd-profile"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/tdd-profile/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/tdd-profile"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/tdd-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00116 | $0.01022 |
| Opus 5.5 | $0.00046 | $0.00409 |
| Sonnet 5.5 | $0.00023 | $0.00204 |
| Haiku 4.5 | $0.00012 | $0.00102 |
Grade A, and why
tdd-profile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
TDD Profile Skill
bin/tdd-profile.py를 실행하고 그 출력을 해석해서 병목 3개 이내와 model/effort
조정안을 보고한다. 숫자는 스크립트가 산출하고, 판단은 이 스킬이 한다.
GOAL
- 성공 = 사용자가 "다음 세션에서 무엇을 바꿀지" 3개 이내로 안다
- 입력: 세션 JSONL 경로, transcript 디렉터리, 또는 인자 없음(현재 cwd)
- 출력: 아래 OUTPUT FORMAT의 보고 1개 (터미널 30줄 이내)
CONSTRAINTS
- 스크립트 출력에 없는 수치를 지어내지 않는다. 해석은 출력의 숫자를 인용해서 한다
in(total)은 "턴 수 × 컨텍스트 크기"의 합이다. 이 값이 크다고 "많이 읽었다"고 말하지 않는다 — 새로 읽은 양은cache+, 긴 이유는turns- 메인 wall-clock은 에이전트 실행 대기를 포함하지 않는다(에이전트 행이 따로 있다). 둘을 더해서 단계 시간으로 말한다
- 모델 제안은 스크립트의 휴리스틱(
out/turn,tools/turn, edits)을 근거로 하되, 코드 편집 에이전트(tdd-red/green/blue)를 haiku로 변경하자고 하지 않는다 — 편집 품질 하락 위험이 절감분보다 크다 - hunk-reviewer가 에이전트 목록에 보이면 hook 차단 이전 세션인지 확인하고 보고한다
(
hooks/block-hunk-reviewer.sh, v1.17.0 이후는 차단됨)
절차
- 실행 — 인자를 그대로 넘긴다:
transcript 디렉터리가 없다는 오류면 사용자에게 세션 JSONL 경로를 요청한다 (python3 "${CLAUDE_PLUGIN_ROOT}/bin/tdd-profile.py" [인자]~/.claude/projects/<cwd를 '-'로 치환한 slug>/) - 출력의 네 절을 읽는다: 단계 표 → Agents → Heaviest turns → Recommendation
- 병목 판정 순서:
- 에이전트 합산 시간 1위 타입 (Agents by type) — 호출 빈도를 줄일 수 있는가
- 단계별 wall + 에이전트 wall 합 1위 — 그 단계의
turns가 큰가(왕복 과다),cache+가 큰가(반복 읽기·캐시 만료) - Heaviest turns의
cache+300k 이상이 같은 단계에 집중되어 있는가 → 1h 캐시 TTL 만료 또는 컨텍스트 압축 후 재적재 신호
- model/effort: Recommendation 절의 단계별 제안과 "실제 사용" 절을 대조해 다른 곳만 말한다 (이미 일치하면 "유지")
OUTPUT FORMAT
## TDD 세션 프로파일 — <session-id 앞 8자리>
메인 <wall> / <turns>턴 / 에이전트 <n>개 <agent wall>
병목
1. <단계 또는 에이전트> — <숫자 인용> → <조치 한 줄>
2. ...
3. ...
model / effort
| 단계 | 실제 | 제안 | 근거 |
(다른 곳만, 최대 5행)
다음 세션에서 바꿀 것 (1~3개)
FAILURE CONDITIONS
- 스크립트를 실행하지 않고 추정으로 보고
- 병목이 4개 이상이거나 조치 없는 병목
in(total)을 "읽은 양"으로 해석- 코드 편집 에이전트에 haiku 제안
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed 7af92d410146
- 3mo ago First seen · 74 lines · 116 tokens per session scan A 5112d5026dc1
tdd-profile is a skill published in the GitHub repository msbaek/msbaek-claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 1,022 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
tdd-profile compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-profilemsbaek/msbaek-claude-plugins | Skill | 8 | 1mo ago | MIT | A | 116 | Claude Code |
| engram-testing-coverageGentleman-Programming/engram | Skill | 8.4k | 10d ago | MIT | A | 25 | Claude Code, Codex |
| iterative-developmentalinaqi/maggy | Skill | 712 | 8d ago | MIT | A | 24 | Claude Code |
| tddglebis/claude-skills | Skill | 419 | today | MIT | A | 92 | Claude Code |
| mobiai-mobile-tddArisGuimera/MobiAI-Core | Skill | 496 | 4d ago | MIT | A | 38 | Claude Code |
| nw-ddd-eventsourcingnWave-ai/nWave | Skill | 638 | 15d ago | MIT | A | 38 | Claude Code |
| nw-leanux-methodologynWave-ai/nWave | Skill | 638 | 15d ago | MIT | A | 37 | Claude Code |