ai-diagnostic

ai-diagnostic is a skill for Claude Code from modu-ai/moai-cowork. It costs 151 tokens per session (2,556 once invoked), scanned A, original, Apache-2.0.

A diagnostic framework that examines a problem across technology, processes, people, and business causes.

In plain words
What is it for?
Use it to investigate errors, slow performance, bottlenecks, process problems, system issues, and other complex troubleshooting cases.
Why use it?
It looks beyond visible symptoms to organize possible root causes and rank suggested actions.

Skill for Claude Code

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

Part of the moai-coworker plugin — 32 skills shipped together

Good fit Use it to investigate errors, slow performance, bottlenecks, process problems, system issues, and other complex troubleshooting cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modu-ai/moai-cowork/ai-diagnostic
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.

Any agent
npx skills add modu-ai/moai-cowork --skill ai-diagnostic
Clone the repo
git clone --depth 1 https://github.com/modu-ai/moai-cowork

Made for: Claude Code.

Or install moai-coworker, the plugin that ships this one along with the rest of its 32 skills.

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 ai-diagnostic

README.md
[![agentmods](https://agentmods.dev/badge/skills/modu-ai/moai-cowork/ai-diagnostic/github.svg)](https://agentmods.dev/skills/modu-ai/moai-cowork/ai-diagnostic)
Your own site
<a href="https://agentmods.dev/skills/modu-ai/moai-cowork/ai-diagnostic"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-cowork/ai-diagnostic/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.

agentmods 80×15 button for ai-diagnostic

Your own site · 80×15
<a href="https://agentmods.dev/skills/modu-ai/moai-cowork/ai-diagnostic"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-cowork/ai-diagnostic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00151 $0.02556
Opus 5.5 $0.00060 $0.01022
Sonnet 5.5 $0.00030 $0.00511
Haiku 4.5 $0.00015 $0.00256

Measured 1mo ago against content hash b3cde891599a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-diagnostic 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 1mo 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.

plugins/moai-coworker/skills/ai-diagnostic/SKILL.md · 193 lines

How it starts

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

ai-diagnostic

기술·프로세스·사람·비즈니스 관점에서 문제를 살피는 진단 스킬입니다. 실제 병렬 실행은 현재 호스트가 지원하고 해당 작업에 필요할 때만 사용합니다.

개요

증상과 가능한 원인을 구분하고 확인 방법을 정하는 진단 틀을 제공합니다. 근본 원인은 로그·측정·당사자 확인 등으로 검증한 경우에만 확정합니다. 관련 자료가 없는 관점은 추정하지 않습니다.

핵심 기능

  • 다차원 진단: 문제와 관련된 기술, 프로세스, 사람, 비즈니스 관점 조사
  • 원인 검증: 필요한 경우 5 Whys, Fishbone Diagram 등의 기법 활용
  • 가설 기반 진단: 검증 가능한 가설 수립과 우선순위 부여
  • 실행 가능한 해결책: 근거 있는 우선순위와, 비용·효과 자료가 있을 때만 ROI 추정

트리거 키워드

  • 진단, diagnostic, 문제 분석, 트러블슈팅, 원인 분석
  • 근본 원인, 시스템 진단, 현황 점검, 문제 해결
  • 성능 저하, 오류 원인, 병목 파악, 이슈 분석

워크플로우

1단계: 문제 수집

증상과 컨텍스트를 체계적으로 수집합니다:

  • 증상 파악: 오류 메시지, 성능 지표, 사용자 불만
  • 영향도 파악: 영향받는 사용자 수, 비즈니스 영향, 긴급성
  • 타임라인: 문제 발생 시점, 변화 추이, 패턴
  • 환경 정보: 시스템 사양, 구성, 최근 변경사항

2단계: 가설 생성

증상을 바탕으로 검증 가능한 가설을 생성합니다:

  • 차원별 가설: 기술, 프로세스, 사람, 비즈니스 차원별 가능성
  • 우선순위 부여: 발생 가능성과 영향도 기반 정렬
  • 검증 방법 수립: 각 가설을 검증할 방법론 정의

3단계: 병렬 진단

관련된 차원을 조사합니다. 도구나 팀 자료에 접근할 수 없으면 확인할 항목으로 남깁니다:

차원 1: 기술 진단

  • 인프라: 서버, 네트워크, 데이터베이스, 서드파티 API
  • 코드: 버그, 성능 병목, 리소스 누수, 예외 처리
  • 아키텍처: 확장성, 가용성, 복잡도, 기술 부채
  • 보안: 취약점, 권한 관리, 데이터 보호

차원 2: 프로세스 진단

  • 워크플로우: 업무 프로세스, 승인 체계, 핸드오버
  • 자동화: 반복 작업 자동화 여부, CI/CD 파이프라인
  • 모니터링: 로그, 알림, 대응 절차
  • 문서화: Runbook, 장애 보고서, 지식 베이스

차원 3: 사람 진단

  • 역량: 기술 스택, 도메인 지식, 문제 해결 능력
  • 커뮤니케이션: 팀 협업, 정보 공유, 의사결정
  • 워크로드: 번아웃, 리소스 배분, 온콜 부담
  • 문화: 책임감, 학습 문화, 실패 허용

차원 4: 비즈니스 진단

  • KPI: 성과 지표, SLA, 목표 달성률
  • 비용: 인프라 비용, 개발 비용, 기회 비용
  • 고객: NPS, 이탈률, 불만 사항
  • 전략: 비즈니스 목표와 기술 목표 정렬성

4단계: 근본 원인 식별

필요한 기법으로 원인 가설을 구체화하고, 실제 자료로 반증·확인합니다:

  • 5 Whys: 원인을 더 묻되 반복 횟수만으로 근본 원인을 확정하지 않음
  • Fishbone Diagram: 원인을 카테고리별로 분류 (Man, Machine, Material, Method, Environment)
  • Iceberg Model: 수면 아래 잠재적 원인 탐색

5단계: 해결책 제안

근본 원인별 실행 가능한 해결책을 제시합니다:

  • 완화 조치: 현재 증상의 영향을 줄이는 방법
  • 원인 해결: 검증된 원인에 대한 수정 방법
  • 재발 예방: 관측·운영·검증 절차 개선
  • 우선순위: 영향, 긴급성, 실행 비용을 확인해 정렬

사용 예시

예시 1: 웹 서비스 응답 시간 저하 진단

증상:
- 지난 2주간 API 평균 응답 시간 200ms → 800ms로 악화
- 오후 2시~4시에 심각 (최대 3초)
- 사용자 불만 50건/일 접수

컨텍스트:
- 2주 전 신규 기능 배포 (검색 엔진 변경)
- AWS, RDS MySQL 사용
- 온콜 엔지니어 1명, 번아웃 위험

Read the full file on GitHub · 193 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +1 lines b3cde891599a
  2. 2mo ago Changed · -8 lines 5ab0125000f8
  3. 3mo ago First seen · 200 lines · 151 tokens per session scan A febd39a0976f

Subscribe to this mod's changes

ai-diagnostic is a skill published in the GitHub repository modu-ai/moai-cowork (320 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 151 tokens to every session and 2,556 once invoked, about $0.0006 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-30.

Related

ai-diagnostic compared with skills from other repositories

ai-diagnostic next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-diagnosticmodu-ai/moai-coworkSkill3201mo agoApache-2.0A151Claude Code
ci-log-interpretationshopwareLabs/ai-coding-toolsSkill48yesterdayMITA154Claude Code
perf-theory-gatherercomposio-community/awesome-claude-pluginsSkill2.0k27d agononeA20Claude Code
perf-code-pathscomposio-community/awesome-claude-pluginsSkill2.0k27d agononeA21Claude Code
perf-profilercomposio-community/awesome-claude-pluginsSkill2.0k27d agononeA25Claude Code
perf-theory-testercomposio-community/awesome-claude-pluginsSkill2.0k27d agononeA16Claude Code
github-actions-silent-failuresdryvist/claude-code-pluginsSkill315d agoApache-2.0A65Claude Code