mine-pluginslisted
Install: claude install-skill richfrem/agent-plugins-skills
## Dependencies
This skill requires **Python 3.8+** and standard library only. No external packages needed.
**To install this skill's dependencies:**
```bash
pip-compile ./requirements.in
pip install -r ./requirements.txt
```
See `./requirements.txt` for the dependency lockfile (currently empty — standard library only).
---
# Mine Plugins
Run the full analysis pipeline on a plugin or collection of plugins. This is the one-shot command for the virtuous cycle.
## What This Command Does
1. **Inventory** — Enumerate and classify every file in the target
2. **Analyze** — Deep structural and content analysis using the `analyze-plugin` skill
3. **Extract** — Identify all design patterns (known and novel)
4. **Synthesize** — Generate improvement recommendations using the `synthesize-learnings` skill
5. **Report** — Produce a comprehensive analysis report
## Usage
```
/mine-plugins <path-to-plugin-or-directory>
```
### Examples
```
# Analyze a single plugin
/mine-plugins claude-knowledgework-plugins/sales
# Analyze an entire collection
/mine-plugins claude-knowledgework-plugins/
# Analyze our own plugins
/mine-plugins plugins/legacy\ system
```
## Execution Steps
### Step 1: Determine Scope
Check if `$ARGUMENTS` points to:
- A **single plugin** (contains `.claude-plugin/plugin.json` or `skills/` directory) → Single Plugin Mode
- A **directory of plugins** (contains multiple subdirectories with plugins) → Comparative Mode
- A **single skill** (contains `SKILL.md`) → Si