Back to Skills

doctor

verified

[QUALITY] OrchestKit doctor for health diagnostics. Use when checking plugin health or troubleshooting issues.

View on GitHub

Marketplace

orchestkit

yonatangross/skillforge-claude-plugin

Plugin

ork-workflows

development

Repository

yonatangross/skillforge-claude-plugin
55stars

plugins/ork-workflows/skills/doctor/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/yonatangross/skillforge-claude-plugin/blob/main/plugins/ork-workflows/skills/doctor/SKILL.md -a claude-code --skill doctor

Installation paths:

Claude
.claude/skills/doctor/
Powered by add-skill CLI

Instructions

# OrchestKit Health Diagnostics

## Overview

The `/ork:doctor` command performs comprehensive health checks on your OrchestKit installation. It auto-detects installed plugins and validates 10 categories:

1. **Installed Plugins** - Detects which ork-* plugins are active
2. **Skills Validation** - Frontmatter, references, token budget (dynamic count)
3. **Agents Validation** - Frontmatter, tool refs, skill refs (dynamic count)
4. **Hook Health** - Registration, bundles, async patterns (from ork-core)
5. **Permission Rules** - Detects unreachable rules (CC 2.1.3 feature)
6. **Schema Compliance** - Validates JSON files against schemas
7. **Coordination System** - Checks lock health and registry integrity
8. **Context Budget** - Monitors token usage against budget
9. **Memory System** - Graph, Mem0, Fabric health (3-tier)
10. **Claude Code Version** - Validates CC >= 2.1.16

## When to Use

- After installing or updating OrchestKit
- When hooks aren't firing as expected
- Before deploying to a team environment
- When debugging coordination issues
- After running `npm run build`

## Quick Start

```bash
/ork:doctor           # Standard health check
/ork:doctor -v        # Verbose output
/ork:doctor --json    # Machine-readable for CI
```

## CLI Options

| Flag | Description |
|------|-------------|
| `-v`, `--verbose` | Detailed output per check |
| `--json` | JSON output for CI integration |
| `--category=X` | Run only specific category |

## Health Check Categories

### 0. Installed Plugins Detection

Auto-detects which OrchestKit plugins are installed:

```bash
# Detection logic:
# - Scans for .claude-plugin/plugin.json in plugin paths
# - Identifies ork, ork-core, ork-frontend, etc.
# - Counts skills/agents per installed plugin
```

**Output:**
```
Installed Plugins: 3
- ork-core: 15 skills, 0 agents, 22 hook entries
- ork-frontend: 18 skills, 2 agents
- ork-memory-graph: 5 skills, 0 agents
Combined: 38 skills, 2 agents
```

**Full ork plugin output:**
```
Installe

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
9354 chars