Skip to content

Bug: Plugin fails to load - 'Path escapes plugin directory: ./' #59

Description

@syxc

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

  1. Install plugin from marketplace
  2. Error appears on session start

Fix

Change .claude-plugin/plugin.json line 10 from:

"skills": ["./"]

to:

"skills": "./commands/"

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:

"skills": "./skills/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions