diagnose

Diagnose Claude Code plugin skill load, trigger, and runtime failures.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/iVintik/claude-plugin-ops --skill diagnose-ivintik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose
Source: https://github.com/iVintik/claude-plugin-ops/tree/main/skills/diagnose
Command: npx skills add https://github.com/iVintik/claude-plugin-ops --skill diagnose-ivintik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill diagnoses why a Claude Code plugin or one of its skills fails to load, does not trigger when expected, errors at runtime, or behaves unexpectedly, turning vague user reports into concrete defect findings and actionable fixes.

Core Features & Use Cases

  • Manifest and Structure Validation: Verify .claude-plugin/plugin.json, required directories, and referenced files exist and are well-formed.
  • Skill and Description Quality Checks: Validate YAML frontmatter, detect weak or missing trigger phrases, spot bare variables outside code blocks, and identify description-driven trigger failures.
  • Hooks, Agents, and Runtime Context: Confirm hooks configuration and executables, check agent tool lists, inspect install status and remote repo issues, and detect conflicting plugins.
  • Use Case: When a user reports "this skill should have fired" or a hook silently fails, run this Skill to locate the defect, assign severity, and recommend precise code or configuration changes.

Quick Start

Diagnose the plugin in the current directory for load, trigger, and hook problems and include --skill SKILL-NAME to focus the investigation.

Frequently Asked Questions about diagnose

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

FAQPage Schema
Why does my Claude Code plugin skill fail to trigger when expected?

Plugin skills fail to trigger due to weak or missing trigger phrases, malformed YAML frontmatter, or description-driven trigger failures. Diagnosing the issue involves validating the skill frontmatter, checking directory structure, and verifying the manifest to produce concrete defect findings and actionable fixes.

How do I debug hooks that fail silently in a Claude Code plugin?

To debug silently failing hooks, check the hooks configuration and executables, inspect install status, and detect conflicting plugins. A diagnostic pass confirms hook configurations and produces a prioritized defect report with precise code or configuration changes.

How do I validate a plugin manifest and directory structure for load errors?

Validating a plugin manifest involves verifying that .claude-plugin/plugin.json, required directories, and referenced files exist and are well-formed. This structure validation catches load errors and identifies missing components before runtime execution.

Can I diagnose a specific skill within a Claude Code plugin repository?

Yes, you can focus the investigation on a specific skill by applying the diagnostic to local or repository-based plugins. The process validates YAML frontmatter, detects weak trigger phrases, and checks agent tool lists to isolate the defect.

What causes MCP tools to be unavailable in a Claude Code plugin?

MCP tools become unavailable due to incorrect hooks configuration, remote repo issues, or conflicting plugins. Diagnosing the runtime context inspects install status, checks agent tool lists, and detects conflicts to restore tool availability.

How do I fix bare variables outside code blocks in plugin skill descriptions?

Bare variables outside code blocks cause description-driven trigger failures. Fixing them requires validating YAML frontmatter, spotting the bare variables, and applying concrete code or configuration changes recommended by a defect report.