optimize

Analyzes plugin repositories to flag oversized files, duplicates, and weak skill descriptions.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/iVintik/claude-plugin-ops --skill optimize-ivintik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/iVintik/claude-plugin-ops/tree/main/skills/optimize
Command: npx skills add https://github.com/iVintik/claude-plugin-ops --skill optimize-ivintik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces plugin bloat and improves clarity by identifying oversized knowledge files, duplicate or outdated content, and weak or stalling skill descriptions so plugins trigger correctly and stay within size constraints.

Core Features & Use Cases

  • Measure and flag knowledge files that exceed configurable size thresholds and report total knowledge footprint.
  • Detect duplicates and dead references, condense verbose sections, and split or remove oversized documents.
  • Evaluate skill descriptions and instructions for trigger quality and clarity, fix broken references, and align cross-skill conventions.
  • Use Case: Trim a plugin whose knowledge directory is approaching size limits, condense redundant docs, and sharpen skill descriptions to improve trigger reliability without losing essential context.

Quick Start

Ask the optimize skill to analyze the current plugin directory and report suggested reductions and description improvements without applying changes by saying /plugin-ops:optimize . --dry-run

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I reduce Claude Code plugin file size and clean up oversized knowledge directories?

To reduce Claude Code plugin file size, you can optimize knowledge directories by measuring file footprints, flagging files exceeding configured thresholds, and condensing verbose sections. This process removes bloat and keeps plugins within size limits.

How do I detect duplicate content and dead references in a Claude Code plugin repository?

You can detect duplicate content and dead references in a plugin repository by running an optimization analysis. This process flags stale references and redundant docs, allowing you to condense or remove outdated content without losing essential context.

Can I preview plugin optimization changes before applying them using a dry run?

Yes, you can preview plugin optimization changes before applying them by using the --dry-run option. This reports suggested file reductions and skill description improvements without modifying the actual plugin directory.

How do I sharpen Claude Code skill descriptions to improve trigger reliability?

To sharpen Claude Code skill descriptions and improve trigger reliability, you evaluate existing instructions for clarity and trigger quality. This fixes weak descriptions and aligns cross-skill conventions so plugins trigger correctly.

What is the best way to refactor a Claude Code plugin approaching knowledge size limits?

The best way to refactor a Claude Code plugin approaching knowledge size limits is to measure the total knowledge footprint, split or remove oversized documents, and condense redundant docs. This ensures the plugin stays within constraints.