doctor-slash-command

Diagnose and fix Claude Code installation health, context, hooks, and permissions.

7|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mkusaka/ccskills --skill doctor-slash-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doctor-slash-command
Source: https://github.com/mkusaka/ccskills/tree/main/skills/doctor-slash-command
Command: npx skills add https://github.com/mkusaka/ccskills --skill doctor-slash-command

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive diagnostic workflow to audit and fix various aspects of Claude Code installation, including unused context, memory files, hooks, version currency, and permission prompts.

Core Features & Use Cases

  • Diagnostic Workflow: Audits installation health, unused context, memory files, hooks, version currency, and permission prompts.
  • Context Optimization: Identifies and suggests removal of unused skills, MCP servers, and plugins to save context.
  • Version Currency Check: Ensures the installed Claude Code is up-to-date.
  • Quick Start: Run the 'doctor' command to initiate the health-check process.

Quick Start

Run the command '/doctor' to begin the health-check on your Claude Code setup.

Frequently Asked Questions about doctor-slash-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a health check on my Claude Code installation?

Run a health check on your Claude Code installation by executing the '/doctor' command, which initiates a diagnostic workflow to audit context usage, memory files, hooks, version currency, and permission prompts for efficiency optimization.

What is context optimization in Claude Code and how does it work?

Context optimization in Claude Code identifies and suggests the removal of unused skills, MCP servers, and plugins to save context space and improve overall operational efficiency during your development sessions.

How do I check if my Claude Code version is up to date?

Check your Claude Code version currency by running the diagnostic health check, which verifies your installation is up-to-date and flags any version-related issues requiring an update.

Do I need to configure Claude Code settings before running a diagnostic?

You need access to your Claude Code settings and configuration files before running a diagnostic, as the health check requires permissions to read and modify installation files to resolve identified issues.

Why does my Claude Code session keep prompting for permissions?

Claude Code permission prompts may be triggered by misconfigured hooks or settings; running a diagnostic health check audits these permission prompts and helps identify and fix the underlying configuration issues.

Can I remove unused MCP servers and plugins from my Claude Code setup?

You can remove unused MCP servers and plugins from your Claude Code setup by running the diagnostic health check, which identifies unused elements and suggests their removal to optimize context usage.