/interplug:validatefrom interplug
Use when verifying a plugin is correctly structured before testing or publishing — checks plugin.json schema, directory layout, hooks declaration, skill structure, and file permissions.
Ships in interplug. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Verify a Claude Code plugin follows structural requirements and conventions.
Given a plugin directory, check each item below. Report findings as PASS/WARN/FAIL.
.claude-plugin/plugin.json exists and is valid JSONname field present (lowercase, hyphens only)version field present (semver format)description field present and descriptive.claude-plugin/ besides manifestsskills/ at plugin root (not inside .claude-plugin/)commands/ at plugin rootSKILL.md with valid YAML frontmatter${CLAUDE_PLUGIN_ROOT} (not hardcoded)./hooks/ directory exists, hooks/hooks.json is valid JSONchmod +x)${CLAUDE_PLUGIN_ROOT} for paths.sh scripts have executable permission#!/usr/bin/env shebangs with missing interpreters# Validate JSON
jq . .claude-plugin/plugin.json
# Check for hardcoded paths
grep -r '/Users/\|/home/\|C:\\' .claude-plugin/ hooks/ --include='*.json'
# Check permissions
find . -name '*.sh' ! -perm -u+x
# Check unreferenced skills
diff <(jq -r '.skills[]' .claude-plugin/plugin.json | sed 's|^\./skills/||' | sort) <(ls skills/ | sort)
Plugin Validation: {plugin-name} v{version}
──────────────────────────────────────
Manifest: {N}/5 pass
Layout: {N}/5 pass
Paths: {N}/4 pass
Hooks: {N}/4 pass
Permissions: {N}/3 pass
──────────────────────────────────────
Overall: {PASS | WARN (N issues) | FAIL (N issues)}
Issues:
- [WARN] Unreferenced skill directory: old-skill/
- [FAIL] Hardcoded path in hooks.json: /Users/name/...
What SKILL.md sets; muted values are Claude Code's defaults
interplug@interagency-marketplace is listed by mistakeknot/interagency-marketplace — review the source before installing
npx claudepluginhub mistakeknot/interagency-marketplace --plugin interplug3 skills in this plugin
/create-pluginFull plugin lifecycle — create, structure, test, and release Claude Code plugins. For skill/command authoring specifically, use /interskill:skill. For official plugin structure reference, use /plugin-dev:plugin-structure./troubleshootUse when a Claude Code plugin is not working — plugin not loading, skill not triggering, command not appearing, MCP server not starting, or hooks not firing. Provides systematic debug steps.