midnight-plugin-utils:find-claude-plugin-root
OfficialInstantly locate installed Claude plugins
Authordevrelaicom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Locating where a Claude Code plugin is installed can be fragile because markdown command files do not expand the CLAUDE_PLUGIN_ROOT environment variable and plugin installation paths are stored in a user-specific installed_plugins.json file. This Skill provides a reliable way to resolve a plugin's installation directory for use in scripts, CI steps, or manual troubleshooting.
Core Features & Use Cases
- Environment-aware resolution: Checks CLAUDE_PLUGIN_ROOT first for backward compatibility and falls back to inspecting ~/.claude/plugins/installed_plugins.json.
- Robust matching: Performs case-insensitive substring matching and fuzzy matching against installed plugin names and owner/name keys.
- Diagnostics and automation: Validates installPath directories, supports a verbose mode that prints match details and similarity scores, and prints the absolute path for command substitution.
- Use Cases: Run plugin scripts that require the plugin root, automate license population or project detection across installed plugins, or debug plugin resolution in CI pipelines.
Quick Start
Run the skill to create a resolver at /tmp/cpr.py and then use it to print the installation path for a plugin by name.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: midnight-plugin-utils:find-claude-plugin-root Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#midnight-plugin-utils-find-claude-plugin-root Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.