utils:find-claude-plugin-root

Locate Claude plugin installation directories using a temporary Python resolver.

4|1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/aaronbassett/aaronbassett-marketplace --skill utils-find-claude-plugin-root
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: utils:find-claude-plugin-root
Source: https://github.com/aaronbassett/aaronbassett-marketplace/tree/main/plugins/utils/skills/find-claude-plugin-root
Command: npx skills add https://github.com/aaronbassett/aaronbassett-marketplace --skill utils-find-claude-plugin-root

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill generates a temporary Python resolver to locate a Claude plugin installation directory when the CLAUDE_PLUGIN_ROOT environment variable does not expand in markdown or when plugin paths are not easily discoverable.

Core Features & Use Cases

  • Environment-aware plugin path discovery: checks CLAUDE_PLUGIN_ROOT first, then ~/.claude/plugins/installed_plugins.json, with exact and fuzzy matching to identify the correct path.
  • Output for automation: prints the absolute plugin path to stdout for direct use in shell scripts.
  • Use Case: locate the readme-and-co or other plugin directories to run their scripts or inspect their resources without manual search.

Quick Start

Run the skill to generate the resolver, then resolve a plugin path and execute a script, e.g. PLUGIN_ROOT=$(python3 /tmp/cpr.py <plugin-name>) and then python "$PLUGIN_ROOT/scripts/detect_project_info.py".

Frequently Asked Questions about utils:find-claude-plugin-root

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the installation path of a Claude CLI plugin?

To find a Claude plugin installation path, this skill generates a temporary Python resolver that checks the CLAUDE_PLUGIN_ROOT environment variable and the installed_plugins.json file, outputting the absolute directory path.

Why does the CLAUDE_PLUGIN_ROOT variable not expand in my markdown files?

The CLAUDE_PLUGIN_ROOT variable may not expand in markdown due to environment parsing limitations. This skill bypasses the issue by generating a Python resolver to directly locate the plugin directory and print its absolute path.

How do I locate a specific Claude plugin directory for running its scripts?

You can locate a specific Claude plugin directory by running the generated Python resolver with the plugin name. It uses exact and fuzzy matching to find the correct path and outputs it for direct use in shell commands.

Can I resolve Claude plugin paths using only Python 3?

Yes, you can resolve Claude plugin paths using only Python 3. The generated resolver is self-contained, requires no external dependencies, and is written to a temporary file to inspect your local Claude environment.

What is the best way to automate finding plugin paths across different Claude environments?

The best way to automate finding plugin paths across Claude environments is using a resolver that checks both CLAUDE_PLUGIN_ROOT and installed_plugins.json. This skill generates that resolver to output absolute paths for shell scripts.