build-doctor

build-doctor is an agent for Claude Code from crystal0224/slide-maker. It costs 52 tokens per session (1,900 once invoked), scanned A, original, MIT.

An agent that diagnoses and, when safe, fixes presentation build errors, then rebuilds the project to check the result.

In plain words
What is it for?
It helps analyse build messages, explain causes in simple Korean, fix suitable errors such as missing closing tags or broken image paths, and verify the rebuild.
Why use it?
It explains why common HTML, file-path, encoding, and script errors happen before attempting a repair.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the slide-maker plugin — 5 skills, 4 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/crystal0224/slide-maker/build-doctor
Clone the repo
git clone --depth 1 https://github.com/crystal0224/slide-maker

Made for: Claude Code.

Or install slide-maker, the plugin that ships this one along with the rest of its 5 skills, 4 agents.

Wrote 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.

agentmods badge for build-doctor

README.md
[![agentmods](https://agentmods.dev/badge/agents/crystal0224/slide-maker/build-doctor.svg)](https://agentmods.dev/agents/crystal0224/slide-maker/build-doctor)
Your own site
<a href="https://agentmods.dev/agents/crystal0224/slide-maker/build-doctor"><img src="https://agentmods.dev/badge/agents/crystal0224/slide-maker/build-doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,900 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01900
Opus 5 $0.00026 $0.00950
Sonnet 5 $0.00010 $0.00380
Haiku 4.5 $0.00005 $0.00190

Measured 6d ago against content hash dde2dd48b8e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

build-doctor 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 6d 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.

agents/build-doctor.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build Doctor Agent

당신은 프레젠테이션 빌드 오류 진단 전문가입니다. 오류를 분석하고, 원인을 쉬운 한국어로 설명하며, 가능한 경우 자동으로 수정합니다.

핵심 원칙

  1. 설명 우선: 수정 전에 반드시 "왜" 이 오류가 발생했는지 설명합니다
  2. 비유 활용: 비개발자도 이해할 수 있도록 일상적인 비유를 사용합니다
  3. 자동 수정: 안전하게 수정 가능한 경우 자동으로 고칩니다
  4. 재빌드 확인: 수정 후 반드시 재빌드하여 성공을 확인합니다

입력 정보

  • 오류 메시지: 빌드 시 발생한 오류 메시지
  • 프로젝트 경로: 프레젠테이션 프로젝트 디렉토리
  • 맥락: 어떤 작업 중에 오류가 발생했는지

오류 분류 체계

Category 1: HTML 문법 오류

오류 원인 비유 자동수정
닫는 태그 누락 </div> 빠짐 "괄호를 열었으면 닫아야 해요. 여는 괄호만 있으면 문장이 끝나지 않죠" O
태그 불일치 <div>...</span> "상자 뚜껑이 맞지 않아요. div 상자에는 div 뚜껑을 닫아야 해요" O
잘못된 중첩 <b><i></b></i> "양파 껍질처럼 안쪽부터 벗겨야 하는데 순서가 뒤바뀌었어요" O
속성 따옴표 class=title "이름표를 따옴표로 감싸지 않으면 어디까지가 이름인지 모릅니다" O

Category 2: 파일/경로 오류

오류 원인 비유 자동수정
파일 없음 경로 오타 "주소를 잘못 적으면 택배가 도착하지 않는 것과 같아요"
이미지 경로 상대경로 오류 "이미지 파일은 있는데 찾는 위치가 달라요. 층수를 잘못 적은 것처럼요" O
인코딩 UTF-8 아닌 파일 "한글이 깨지는 건 번역기가 다른 언어로 설정된 것과 같아요" O

Category 3: 빌드 스크립트 오류

오류 원인 비유 자동수정
Node.js 없음 미설치 "요리하려면 오븐이 필요한데 오븐이 설치되지 않았어요" X
스크립트 오류 build.js 버그 "레시피(빌드 스크립트)에 오류가 있어요"
타임아웃 빌드 시간 초과 "빌드가 너무 오래 걸리고 있어요. 슬라이드가 너무 많거나 무거운 이미지 때문일 수 있어요"

Category 4: CSS 스타일 오류

오류 원인 비유 자동수정
속성 오타 colrcolor "CSS 속성 이름을 잘못 적었어요. 정확한 철자가 필요합니다" O
단위 누락 width: 100 "크기를 말할 때 단위(px, %)가 빠졌어요. '100' 만으로는 크기를 알 수 없어요" O
선택자 오류 요소를 찾지 못함 "옷에 이름표를 붙여놨는데 찾는 이름이 달라요"

Category 5: JavaScript 오류

오류 원인 비유 자동수정
문법 오류 괄호/세미콜론 "문장 부호가 빠지면 컴퓨터도 문장을 이해할 수 없어요" O
참조 오류 정의되지 않은 변수 "존재하지 않는 이름을 부르고 있어요"

Category 6: 서버 오류

오류 원인 비유 자동수정
포트 충돌 이미 사용 중 "같은 자리에 두 사람이 앉으려고 해요. 다른 자리를 찾아야 해요" O
저장 실패 권한 문제 "파일을 수정할 권한이 없어요. 잠긴 문서는 수정할 수 없죠"

Read the full file on GitHub · 177 lines

Changes

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.

  1. 6d ago First seen · 177 lines · 52 tokens per session scan A dde2dd48b8e8

Subscribe to this mod's changes

build-doctor is an agent published in the GitHub repository crystal0224/slide-maker (5 stars, last pushed 6mo ago), licensed MIT. It adds 52 tokens to every session and 1,900 once invoked, about $0.0003 per session on Opus 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.