plugin-improver

A meta-plugin that audits, tunes, and evolves your other plugins — and curates your whole skill+plugin inventory — endlessly improvable, never regressing, never bloating context.
Start here
What it is
plugin-improver is a single plugin that runs on both Claude Code and Codex from one shared skills/ tree. It gives plugin authors a disciplined loop for making plugins better: score a plugin's health, sharpen the descriptions that decide when its skills fire, repair its lifecycle hooks, run bounded improvement passes that are gated against regression, and widen the lens to the entire inventory to catch sprawl, collisions, and version drift. Two new skills round out the lifecycle: scaffolding a fresh dual-harness plugin, and packaging one for release to both marketplaces.
Every skill body, manifest, and doc here is written to be true on both harnesses — the same SKILL.md drives Claude Code (which reads SKILL.md) and Codex (which reads SKILL.md plus a Codex-only agents/openai.yaml).
Skills
| Skill | What it does |
|---|
plugin-audit | Scores a plugin against a 100-point rubric — manifest integrity, skill quality, trigger precision, context economy, hooks health, distribution readiness — and saves a baseline. |
plugin-tune-triggers | Sharpens skill descriptions and trigger phrases so each skill fires exactly when it should, backed by a should/shouldn't-trigger matrix. |
plugin-hooks | Adds, repairs, or reviews lifecycle hooks with correct per-event stdin/stdout contracts and a per-harness capability table for silent failures. |
plugin-improve | The improvement loop: baseline → ≤3 highest-leverage fixes → regression checklist → re-score → version bump → ledger. Reports "stable" instead of churning. |
skill-curator | Inventory-wide curation: skill sprawl, trigger collisions, near-dupes, dead skills, duplicate installs, and source-vs-cache version drift across both harnesses, with an archive-never-delete decision ledger. |
plugin-scaffold | Creates a NEW dual-harness plugin from scratch — canonical layout, both manifests with agreeing versions, a starter skill, and per-harness install steps. |
plugin-release | Packages and publishes an existing plugin to both marketplaces — version/changelog checks, marketplace entries for each harness, tag suggestion, and a post-publish install-refresh reminder. |
Design principles
- Improvement without regression. Every pass is gated by a checklist and must re-score at or above its baseline. A pass that finds nothing worth changing reports "stable" rather than inventing churn.
- Improvement without bloat. Descriptions and skill bodies carry explicit context budgets; every added sentence must change agent behavior, and detail is pushed to
references/ for progressive disclosure.
- Per-plugin memory. Each target plugin gets a
LEDGER.md (decisions, with provenance) and a .plugin-improver/baseline.json (last score), so successive passes compound instead of relitigating.
Requirements and compatibility
- Claude Code or Codex with plugin support for agent-driven skills
- Python 3 for the bundled diagnostics, which use the standard library; CI uses a current
3.x interpreter and this repository does not pin a minimum Python release
- A POSIX shell and
rsync for the optional local sync helper; the claude CLI enables its automatic Claude Code marketplace steps
The current source manifests both declare 1.4.0. Source version, installed
cache version, and the version loaded by an open host session can differ.
Codex consumes the shared skills plus agents/openai.yaml; Claude Code also has
the commands/ slash-command adapters. This repository's own Codex manifest
declares skills, not an MCP server or lifecycle hooks.
Install
plugin-improver installs on either harness — or both — from this one repository.
Claude Code
This repo is a single-plugin marketplace (.claude-plugin/marketplace.json). Add it, then install the plugin:
/plugin marketplace add RasputinKaiser/plugin-improver
/plugin install plugin-improver@plugin-improver
You can also point the marketplace at a local clone: