Locates the installation path of Claude Code plugins to ensure scripts and resources are correctly referenced in markdown commands.
This skill addresses a known limitation in Claude Code where the ${CLAUDE_PLUGIN_ROOT} environment variable fails to expand in markdown command files. By generating a lightweight Python resolver script in the /tmp directory, it provides a reliable way to programmatically find plugin paths using exact or fuzzy matching against the installed_plugins.json manifest. It is essential for developers who need to invoke external scripts or access assets stored within their plugin directories without hardcoding paths or relying on broken environment variable expansion.
主要功能
01Supports exact and fuzzy matching for plugin names
02Ensures backwards compatibility by checking existing environment variables first
03Generates an ephemeral CPR (Claude Plugin Root) resolver script
04Prevents project pollution by storing the utility in the system temporary directory
05Operates without external dependencies like jq using native Python
063 GitHub stars
使用场景
01Referencing assets or configuration files stored within a plugin installation path
02Automating multi-plugin workflows where installation paths are dynamic
03Executing scripts located inside a plugin directory when environment variables fail to expand