Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add closedloop-ai/claude-plugins --skill find-plugin-filegit clone --depth 1 https://github.com/closedloop-ai/claude-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/closedloop-ai/claude-plugins/find-plugin-file)<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/find-plugin-file"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/find-plugin-file/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/find-plugin-file"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/find-plugin-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00767 |
| Opus 5.5 | $0.00028 | $0.00307 |
| Sonnet 5.5 | $0.00014 | $0.00153 |
| Haiku 4.5 | $0.00007 | $0.00077 |
Grade B, and why
find-plugin-file scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
This skill provides a utility to dynamically locate files within the Claude Code plugins cache directory. Instead of hardcoding plugin-cache paths, use this skill to find files in `~/.claude/plugins/cache/closedloop-ai/` How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Find Plugin File
Overview
This skill provides a utility to dynamically locate files within the Claude Code plugins cache directory. Instead of hardcoding plugin-cache paths, use this skill to find files in ~/.claude/plugins/cache/closedloop-ai/ with automatic latest-version resolution.
Quick Start
To find a file in the plugins cache, run the find_plugin_file.py script:
python3 scripts/find_plugin_file.py <file_pattern>
Usage Examples
Find by filename
# Find parse_args.py in any plugin (returns first match)
python3 scripts/find_plugin_file.py parse_args.py
# Find all SKILL.md files across all plugins
python3 scripts/find_plugin_file.py SKILL.md --all
Find by path pattern
# Find a specific file using path pattern
python3 scripts/find_plugin_file.py plan/parse_args.py
# Find tools in a specific subdirectory
python3 scripts/find_plugin_file.py tools/python/plan/parse_args.py
Restrict to specific plugin
# Search only in code plugin
python3 scripts/find_plugin_file.py parse_args.py --plugin code
List available plugins
python3 scripts/find_plugin_file.py --list-plugins
Integration with Slash Commands
To use in a slash command that needs to reference plugin tools, use a two-step approach:
# Step 1: Locate the find_plugin_file.py script (handles multiple plugin versions)
FIND_SCRIPT=`ls ~/.claude/plugins/cache/closedloop-ai/code/*/skills/find-plugin-file/scripts/find_plugin_file.py 2>/dev/null | sort -V | tail -1`
# Step 2: Use the script to find the target file, then derive TOOLS_PATH
TARGET_FILE=`python3 "$FIND_SCRIPT" plan/parse_args.py`
TOOLS_PATH=`dirname \`dirname "$TARGET_FILE"\``
# Step 3: Run with correct PYTHONPATH
PYTHONPATH="$TOOLS_PATH:$PYTHONPATH" python3 "$TARGET_FILE" --help
Important:
- Use backticks (
`) instead of$()for command substitution — Claude Code's Bash tool escapes$()syntax. - The glob pattern
code/*/skills/...can match multiple version directories. Always usels ... | sort -V | tail -1to select the latest version.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 94 lines · 70 tokens per session scan B 2b36347ae9a2
find-plugin-file is a skill published in the GitHub repository closedloop-ai/claude-plugins (123 stars, last pushed today), licensed Apache-2.0. It adds 70 tokens to every session and 767 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.
Other skills, from other repositories
simplify-code
Parallel 4-agent cleanup of recent code changes.
first-task
Run the first task chat that setup hands off.
initiate-setup
Run the first-run setup chat in the Hermes desktop app.
himalaya
Himalaya CLI: IMAP/SMTP email from terminal.
apple-reminders
Apple Reminders via remindctl: add, list, complete.
content-hash-cache-pattern
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.