Bug Report: Plugin fails to load with "Path escapes plugin directory: ./"
Summary
Plugin fails to load after installation with error:
Plugin visual-explainer has an invalid manifest file
Validation errors: skills: Invalid input
Root Cause
The plugin.json contains "skills": ["./"] which is rejected by the path safety validation.
Environment
- Claude Code: latest (as of 2026-05-16)
- Plugin: visual-explainer v0.7.1
- OS: macOS
Steps to Reproduce
- Install plugin from marketplace
- Error appears on session start
Fix
Change .claude-plugin/plugin.json line 10 from:
to:
Note: The skills field should be a string (not array) pointing to a directory with trailing slash, following the same pattern as superpowers plugin.
Reference
Similar working config from superpowers v5.1.0:
Bug Report: Plugin fails to load with "Path escapes plugin directory: ./"
Summary
Plugin fails to load after installation with error:
Root Cause
The
plugin.jsoncontains"skills": ["./"]which is rejected by the path safety validation.Environment
Steps to Reproduce
Fix
Change
.claude-plugin/plugin.jsonline 10 from:to:
Note: The
skillsfield should be a string (not array) pointing to a directory with trailing slash, following the same pattern as superpowers plugin.Reference
Similar working config from superpowers v5.1.0: