remove-plugin
Use this skill to remove a universal agent plugin's artifacts — delete the generated vendor manifests for Claude Code, Cursor, or Codex, clear a stale or shadowing manifest left by an older build, or take the whole plugin out of a project. Trigger on "delete the generated manifests", "remove the vendor manifests", "clean the plugin build output", "drop Codex support", "get rid of this plugin", or "stop shipping this plugin".
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- remove-plugin
- description
- Use this skill to remove a universal agent plugin's artifacts — delete the generated vendor manifests for Claude Code, Cursor, or Codex, clear a stale or shadowing manifest left by an older build, or take the whole plugin out of a project. Trigger on "delete the generated manifests", "remove the vendor manifests", "clean the plugin build output", "drop Codex support", "get rid of this plugin", or "stop shipping this plugin".
02 资源文件 1
- 参考文档README.md1.5 KB
03 SKILL.md 正文
Remove a plugin's artifacts
Three different removals live here, and they are not equally reversible. Establish which one is being asked for before deleting anything.
| Ask | What it removes | Reversible by |
|---|---|---|
| clean the build output | derived vendor manifests | plugin build |
| drop a vendor | one vendor's manifest, and its declaration | re-adding the vendor, then plugin build |
| remove the plugin | the canonical manifest and every component | nothing — confirm first |
Clean the build output
Derived manifests are build artifacts. The build removes and rewrites them itself:
npx universal-plugin plugin build --clean
--clean deletes exactly what the manifest declares and nothing it does not, which is why it is the
supported route. To remove a derived manifest without rebuilding, delete that one path with the
user's own file tooling — .claude-plugin/plugin.json, .cursor-plugin/plugin.json, or
.codex-plugin/plugin.json. Name the path you are deleting before you delete it, and never widen
the deletion to the directory.
Never delete root
plugin.json. It is the canonical source of truth and the manifest Copilot CLI reads, so removing it takes out both the source and a live target at once.copilot-clihas no generated manifest to clean — nothing to delete is the correct state for it.
Clear a stale or shadowing manifest
Two paths are worth checking whenever a plugin behaves as though it were an older version of itself:
.github/plugin/plugin.json— written by older builds. It sits below root in Copilot CLI's search order, so it was never read, and it is no longer generated. Safe to delete..plugin/plugin.json— this one outranks root in that search order. If it exists, Copilot CLI is reading it instead of the canonical manifest, and nothing regenerates it. Delete it, then rebuild and confirm Copilot CLI picks up root.
Copilot CLI's search order is .plugin/plugin.json → plugin.json → .github/plugin/plugin.json →
.claude-plugin/plugin.json, first match wins.
Drop a vendor
Removing a vendor is a manifest edit first and a deletion second — deleting only the file leaves the
vendor declared, and the next build writes it straight back. That edit belongs to
/universal-plugin:init-universal-plugin (pnpm install: pnpm-universal-plugin-init-universal-plugin)'s update route; come back here for the file.
Remove the whole plugin
Irreversible. Confirm with the user before proceeding, and say specifically what goes:
- root
plugin.json - every derived manifest
- the component directories the manifest names (
skills/,commands/,agents/,hooks/, …) — these hold authored content, not build output, so name them individually and get agreement on each
If the package's package.json files array was wired to ship the plugin (plugin init --npm),
that entry is now dead weight; remove it in the same change.
If the plugin was published, deleting the source does not unpublish it. Say so — consumers keep resolving the last published version until it is deprecated at the registry, which is not something this skill does.
Rules
- Confirm before any irreversible delete. Cleaning build output is not irreversible; removing authored components is.
- Never delete root
plugin.jsonas cleanup. Only as a deliberate, confirmed removal of the whole plugin. - Prefer
plugin build --cleanoverrm— it removes exactly what the manifest declares, and nothing it does not. - A vendor left declared in
plugin.jsoncomes back on the next build. Edit the manifest, or the deletion is temporary.
Related skills
| Task | Skill |
|---|---|
| Remove a vendor from what the plugin declares | init-universal-plugin, update route |
| Confirm what is stale, shadowing, or unbuilt before deleting | doctor-universal-plugin |
| Take a published plugin out of a marketplace listing | publish-plugin |
04 同仓库更多 Skills
upgrade-plugin
Use this skill when upgrading pinned `npx universal-plugin@<version>` calls across a project to a newer version.
migrate-plugin
Move a repository-root or sibling-workspace universal agent plugin into its npm package so the package distributes its manifest, vendor manifests, skills, and agents, and bundle the package's CLI with tsdown so it runs from an installed plugin directory with no node_modules. Use this skill when packaging an existing plugin for npm, relocating a top-level or plugins/<name> plugin into a package, fixing a package that omits plugin assets, or making a plugin's bundled CLI self-contained, even if the user says only 'ship this plugin through npm', 'move the plugin into the package', or 'the CLI can't find its dependencies when installed as a plugin.'
marketplace
Use this skill to run a repository's own plugin marketplace — generate the catalogs Claude Code, Codex, GitHub Copilot CLI, and Cursor read, list a plugin that lives elsewhere (an npm package, a GitHub repo, or `<plugin>@<marketplace>`), change one listed entry in place, check every catalog against the schema its runtime loads, and write the README install section. Trigger on "set up a local marketplace", "let users install this from my repo", "generate marketplace catalogs", "add a plugin to the marketplace", "list this npm package in my marketplace", "switch this entry to a url source", "bump the ref on this entry", "change the category of a marketplace entry", "make this repo installable", "add install instructions to the README", or "check my marketplace catalogs".
<skill-name>
Use this skill when <trigger>. <One-line summary.>
adopt-upx
Use this skill when the user wants to make their skills use upx — the fast local-first package runner shipped as @repobuddy/upx. Trigger on phrases like "make my skills use upx", "adopt the upx runner", "speed up npx calls", "switch to upx", or "rewrite npx pins to upx". Rewrites `npx <pkg>@<version>` references to a caret range on `upx` (`^<major>`, or `^0.<minor>` for a 0.x pin) across one skill, a named set, or every skill in the project.
subagent-driven-development
Use this skill when committing changes in this repository, even if the user does not explicitly mention the required pre-commit checks.