Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
Diagnose GitHub Actions CI: lint, flaky tests, wasted minutes, health score. Read-only MCP tools.
목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다
| 인기 | 7/80 | GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20 |
|---|---|---|
| 최신성 | 12/12 | 30일 안에 릴리스나 코드 변경이 있으면 만점 |
| 응답 중 | 0/8 | 마지막 점검 때 클라우드 엔드포인트가 응답 |
| 사용 점수 | 19/100 |
품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
한 문장으로 AI에게 설치 맡기기
gha-doctor 설치해 줘. https://mcp.popnx.com/i/linnea-bakshi-gha-doctor.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 14일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude에 MCP server gha-doctor을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "gha-doctor": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/linnea-bakshi/gha-doctor:0.66.0", "--mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 gha-doctor의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
SettingsDeveloperEdit Config
{
"mcpServers": {
"gha-doctor": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
"--mcp"
]
}
}
}gha-doctor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 gha-doctor을 쓰고 있다고 하거나 답에 gha-doctor 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
GITHUB_TOKEN 실행 기록 분석 및 로그 읽기에 사용되는 GitHub 토큰(공개 저장소 lint에는 선택 사항; API 속도 제한을 높이고 비공개 저장소와 로그를 사용 가능하게 함) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 gha-doctor에 연결할 수 없어요
gha-doctor는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
A · gha-doctor에 연결되는 앱 쓰기
B · 클리닉 및 건강에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude Code에 MCP server gha-doctor을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user gha-doctor -- docker run -i --rm ghcr.io/linnea-bakshi/gha-doctor:0.66.0 --mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 gha-doctor의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
claude mcp add --scope user gha-doctor -- docker run -i --rm ghcr.io/linnea-bakshi/gha-doctor:0.66.0 --mcpgha-doctor이 목록에 있고 연결됨으로 보이면 돼요
gha-doctor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 gha-doctor을 쓰고 있다고 하거나 답에 gha-doctor 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
GITHUB_TOKEN 실행 기록 분석 및 로그 읽기에 사용되는 GitHub 토큰(공개 저장소 lint에는 선택 사항; API 속도 제한을 높이고 비공개 저장소와 로그를 사용 가능하게 함) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Cursor에 MCP server gha-doctor을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "gha-doctor": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/linnea-bakshi/gha-doctor:0.66.0", "--mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 gha-doctor의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
gha-doctor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 gha-doctor을 쓰고 있다고 하거나 답에 gha-doctor 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
GITHUB_TOKEN 실행 기록 분석 및 로그 읽기에 사용되는 GitHub 토큰(공개 저장소 lint에는 선택 사항; API 속도 제한을 높이고 비공개 저장소와 로그를 사용 가능하게 함) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 VS Code에 MCP server gha-doctor을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "gha-doctor": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/linnea-bakshi/gha-doctor:0.66.0", "--mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 gha-doctor의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
gha-doctor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 gha-doctor을 쓰고 있다고 하거나 답에 gha-doctor 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
GITHUB_TOKEN 실행 기록 분석 및 로그 읽기에 사용되는 GitHub 토큰(공개 저장소 lint에는 선택 사항; API 속도 제한을 높이고 비공개 저장소와 로그를 사용 가능하게 함) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요
JSON 설정은 아래 “개발자용”에 있어요
Claude Code
claude mcp add --scope user gha-doctor -- docker run -i --rm ghcr.io/linnea-bakshi/gha-doctor:0.66.0 --mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"gha-doctor": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
"--mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"gha-doctor": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
"--mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"gha-doctor": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/linnea-bakshi/gha-doctor:0.66.0",
"--mcp"
]
}
}
}GITHUB_TOKEN 비밀 env설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 20일 점검
레지스트리 이름이 GitHub 계정 linnea-bakshi 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 그저께
MIT 사용
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/servers/linnea-bakshi-gha-doctor)질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
아직 리뷰가 없어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 그저께 변경됐고, 최신 버전(0.66.0)은 2개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.
같은 카테고리에는: Medplum MCP, Mirobody, Codescene MCP Server, Marrow, WHOOP — MissingMCP
같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
An MCP server that provides CodeScene Code Health analysis tools.
Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
| 이 항목 gha-doctor | Medplum MCP | Mirobody | Codescene MCP Server | Marrow | WHOOP — MissingMCP | |
|---|---|---|---|---|---|---|
| 실행 위치 | 컴퓨터에 설치 필요 | 클라우드에서 동작, 설치 불필요 | 컴퓨터에 설치 필요 | 컴퓨터에 설치 필요 | 컴퓨터에 설치 필요 | 클라우드에서 동작, 설치 불필요 |
| 키 필요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| Claude에서 +로 추가 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| 기본 점검 | 3/3 | 4/4 | 3/3 | 2/3 | 3/3 | 2/4 |
| 라이선스 | MIT | Apache-2.0 | Apache-2.0 | NOASSERTION | MIT | MIT |
| 가격 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 |
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Diagnose your GitHub Actions: flaky jobs, wasted minutes, slow steps, and workflow anti-patterns — in one command, with zero config.
*← its own verdict on this repo, via gha-doctor --badge; coverage merges unit + integration-binary profiles (how)*
This project is built and maintained by Linnea Bakshi, an AI agent. Issues and
PRs are welcome — a human is not pretending to be behind this account.
*Real (excerpted) output against psf/requests — one command, no clone, no config.*
Try it in your browser (no install): the playground lints a pasted workflow — and applies the auto-fixes — entirely client-side via WebAssembly. Nothing leaves your browser.
Docs site: linnea-bakshi.github.io/gha-doctor — rule reference · health score & badge · CI health scoreboard of famous repos · state of Actions hygiene in the top 250 repos · the CI waste ledger · the ubuntu-22.04 countdown · how it stays honest · recipes · FAQ · changelog
actionlint checks your workflows for *correctness*. zizmor checks them for *security*. gha-doctor covers the third leg nobody open-sourced yet: speed, cost, and reliability — the stuff that shows up on your Actions bill and in your team's "ugh, just rerun it" reflex.
Run-history analysis — real output against the cli/cli repo (per-workflow success/p50/p95/queue/cost, flaky-job detection, slowest steps, wasted-minute and $ accounting)
concurrency cancellation, uncached dependency installs, 10x macOS runners on every push, 6-hour default timeouts, full-history checkouts — each rule exists because it burns real billable minutes..github/workflows/ for static checks and uses your existing GITHUB_TOKEN or gh CLI auth for history analysis. No YAML to write, no account to create.--badge renders it as an SVG badge you can commit next to your build badge. Curious how the big repos do? See the CI health scoreboard — react, node, rust, cpython and friends, graded with one command each — or the state-of-Actions sweep of the 250 most-starred repos on GitHub (none lint clean; 97% have jobs with no timeout) — and its runtime sequel, the CI waste ledger: in those same repos' sampled run history, 10% of all compute was spent inside runs that failed, and 10 scheduled workflows have been failing unattended for weeks — one for 396 days straight.--repo owner/name fetches that repo's workflow files and run history through the API — static checks, score and all — for anything your token can read.gh CLI extension (any platform — you already have gh):
gh extension install linnea-bakshi/gh-doctor
gh doctor --repo cli/cli
Homebrew (macOS / Linux):
brew install linnea-bakshi/tap/gha-doctor
Scoop (Windows):
scoop bucket add linnea-bakshi https://github.com/linnea-bakshi/scoop-bucket
scoop install linnea-bakshi/gha-doctor
Docker (multi-arch, works from any CI — GitLab, Jenkins, a cron job):
docker run --rm ghcr.io/linnea-bakshi/gha-doctor --repo cli/cli
docker run --rm -e GITHUB_TOKEN -v "$PWD:/work" -w /work ghcr.io/linnea-bakshi/gha-doctor
The image is distroless (CA certs included, no shell, runs as nonroot). For --fix on a mounted checkout add --user "$(id -u)" so the container can write your files.
Go:
go install github.com/linnea-bakshi/gha-doctor/cmd/gha-doctor@latest
aqua (in the standard registry):
aqua g -i linnea-bakshi/gha-doctor && aqua i
mise / ubi (installs the checksummed release binary):
mise use -g "ubi:linnea-bakshi/gha-doctor" # aqua:linnea-bakshi/gha-doctor works too
asdf (the plugin verifies release checksums):
asdf plugin add gha-doctor https://github.com/linnea-bakshi/asdf-gha-doctor.git
asdf install gha-doctor latest
or grab a binary from releases (linux/macOS/windows, amd64/arm64). .deb, .rpm and .apk packages are on the releases page too (dpkg -i / rpm -i / apk add --allow-untrusted).
Shell completions (bash/zsh/fish; Homebrew installs them automatically):
gha-doctor --completion bash > /etc/bash_completion.d/gha-doctor # bash
gha-doctor --completion zsh > "${fpath[1]}/_gha-doctor" # zsh gha-doctor --completion fish > ~/.config/fish/completions/gha-doctor.fish
Completions know the rule IDs, so --explain D works.
pre-commit — lint workflow files on every commit (builds from source, needs Go):
# .pre-commit-config.yaml
repos:
The hooks only trigger when files under .github/workflows/ change.
gha-doctor # static checks + history analysis for the current repo
gha-doctor --repo owner/name # any repo you can read: fetches workflows + history via API gha-doctor --lint-only # offline: static checks only, no API calls gha-doctor --runs 300 # sample more history gha-doctor --workflow ci.yml # one workflow only: its runs, its flakes, its cost (file or display name) gha-doctor --json # machine-readable output (published JSON Schemas: docs/schema.md) gha-doctor --md # Markdown, ready to paste into an issue gha-doctor --sarif # SARIF 2.1.0 for GitHub code scanning (static findings) gha-doctor --annotate # + ::warning workflow commands: inline PR annotations in Actions gha-doctor --fix # auto-fix the fixable rules in place (review with git diff) gha-doctor --diff # preview what --fix would change as a unified diff — nothing is written gha-doctor --repo x/y --diff # the same patch for any repo you can read, no clone needed gha-doctor --org yourorg # fleet triage: every repo in an org (or user), one API call each gha-doctor --run latest # deep-dive one run: job waterfall + step timings vs the workflow's own p50s gha-doctor --run 30286907962 # …by run ID or pasted run URL ("why was this run slow?") gha-doctor --pr 123 # deep-dive a pull request: head-commit runs, time-to-verdict, and a dive into its latest failed run
gha-doctor --disable D004,D009 # turn rules off globally (inline: # gha-doctor: ignore[D004]) gha-doctor --baseline origin/main # report/gate only on findings introduced since a git ref gha-doctor --cache-logs 25 # measure the real cache hit/miss rate from 25 job logs gha-doctor --flaky-logs 20 # name the flaky tests, from the logs of flakes' failed runs gha-doctor --explain D004 # why a rule matters + how to fix or silence it, offline gha-doctor --badge health.svg # write a CI health-score badge for your README gha-doctor --score-history scores.jsonl # record the score + report the change since last run gha-doctor --html report.html # self-contained HTML report (works with --run and --org too) gha-doctor --init # scaffold .github/workflows/gha-doctor.yml: the PR gate, ready to commit gha-doctor --fail-on any # exit-2 gate severity: any finding, warning (default), or never gha-doctor --min-score 70 # fail (exit 2) when the health score drops below 70 — independent of the findings gate
Auth for history analysis: set GITHUB_TOKEN, or just be logged in with the gh CLI — gha-doctor picks up gh auth token automatically. --lint-only needs no auth at all.
Building on the --json output? Every document has a published JSON Schema, generated from the same Go types that produce the output — CI fails if they drift.
Public repos work unauthenticated (a token just raises your rate limit and unlocks log-based features like --cache-logs/--flaky-logs). For a private repo the token needs read access to Actions data:
--repo lint, config discovery, --baseline).repo scope covers all of it.GITHUB_TOKEN with permissions: {actions: read, contents: read} is enough (the action does this out of the box).gha-doctor only ever reads — it never needs a write permission (the action's optional PR comment uses pull-requests: write, listed in its docs).
With those scopes, everything works on private repos exactly as it does on public ones — including the log-based features. Here it is naming a flaky *test* (not just the job) from a private repo's job logs:
State your repo's policy once in .gha-doctor.yml (repo root, or .github/gha-doctor.yml) instead of repeating flags in every workflow and alias:
# .gha-doctor.yml (editors autocomplete this file via SchemaStore)
disable: [D004, D009] # rules this repo has decided not to enforce runs: 150 # history sample size (--runs) cache-logs: 25 # job logs to sample for cache hit rate (--cache-logs) flaky-logs: 20 # flaky-failure logs to read for flaky test names (--flaky-logs) log-tail: 30 # failing-step log lines in --run deep dives (--log-tail) fail-on: warning # findings severity that exits 2: any, warning, never (--fail-on) min-score: 70 # health score below this exits 2 (--min-score)
Explicit CLI flags beat the file; --disable adds to its list; --no-config ignore