Skip to content

jamesfishwick/plugin-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-filter

Selectively load skills from marketplace plugins to reduce context window usage in Claude Code.

Problem

Marketplace plugins are all-or-nothing -- install a plugin with 17 skills, and all 17 load into every session's system prompt. If you only use 5, the other 12 waste context tokens.

Solution

plugin-filter creates a local wrapper plugin that symlinks only the skills you want from a marketplace plugin. Marketplace updates flow through automatically since symlinks point to the marketplace repo, not a cached copy.

Usage

/plugin-filter                          # List filterable plugins
/plugin-filter example-skills           # Select which skills to keep
/plugin-filter example-skills --restore # Undo filtering, restore full plugin

How It Works

  1. Reads the marketplace plugin's skills directory
  2. Presents a numbered list for selection
  3. Creates a local wrapper plugin with symlinks to selected skills
  4. Swaps the registry entry so only selected skills load
  5. Stores filter state for re-filtering or restoring later

Installation

Install from marketplace or locally:

# Local install
claude plugin add /path/to/plugin-filter

Requirements

  • Claude Code with plugin support
  • Marketplace plugins installed via plugin system

About

Selectively load skills from Claude Code marketplace plugins to reduce context pollution

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors