find-plugin-file

Locate files in the Claude Code plugins cache by latest version.

102|10|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/closedloop-ai/claude-plugins --skill find-plugin-file
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-plugin-file
Source: https://github.com/closedloop-ai/claude-plugins/tree/main/plugins/code/skills/find-plugin-file
Command: npx skills add https://github.com/closedloop-ai/claude-plugins --skill find-plugin-file

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of hardcoding file paths within Claude Code plugins, which can break when plugin versions change. It provides a robust way to dynamically find necessary files.

Core Features & Use Cases

  • Dynamic Path Resolution: Locates tool scripts, skill files, or any plugin resource without needing to know the exact versioned path.
  • Version Agnostic: Automatically resolves to the latest installed version of a plugin.
  • Use Case: When a slash command needs to execute a Python script from a plugin, but the exact path within ~/.claude/plugins/cache/ is unknown due to versioning, this skill can find it.

Quick Start

Use the find_plugin_file.py script to locate the parse_args.py file within the code plugin.

Frequently Asked Questions about find-plugin-file

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

FAQPage Schema
How do I resolve file paths dynamically in Claude Code plugins when the version changes?

Dynamic file path resolution automatically locates resources within the plugins cache directory, resolving to the latest installed version to prevent hardcoded paths from breaking when plugin versions update.

Why does my hardcoded plugin file path break after a version update?

Hardcoded plugin file paths break because version updates change the directory structure within the plugins cache, requiring version-agnostic dynamic resolution to reliably locate tool scripts and skill files.

How to find a tool script inside the Claude Code plugins cache without knowing the exact version?

Use dynamic path resolution to locate tool scripts inside the plugins cache by targeting the plugin name, which automatically resolves the file path to the latest installed version directory.

Can I execute a Python script from a plugin if the exact path in the cache directory is unknown?

Yes, you can execute plugin Python scripts without knowing the exact cache path by applying dynamic file discovery to resolve the version-agnostic location of the required resource.

What is version-agnostic file path resolution for plugin orchestration?

Version-agnostic file path resolution is the process of dynamically discovering plugin resources like tool scripts and skill files without hardcoding version-specific directories, ensuring reliable plugin orchestration across updates.

Does dynamic plugin file resolution work for locating skill files and other plugin resources?

Dynamic plugin file resolution works for locating skill files, tool scripts, and other plugin resources within the cache directory by resolving the latest installed version dynamically.