uninstall-plugin

uninstall-plugin is a skill for Claude Code, Codex from jmagly/aiwg. It costs 20 tokens per session (1,106 once invoked), scanned A, original, MIT.

A cleanup tool that removes an installed Claude Code marketplace plugin, including its deployed files, and unregisters it from the local plugin registry.

In plain words
What is it for?
Use it to uninstall a named plugin, preview its removal, or remove the plugin while keeping selected artifacts.
Why use it?
It removes leftover plugin files and registration entries instead of requiring manual cleanup. A dry-run option can show what would be removed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to uninstall a named plugin, preview its removal, or remove the plugin while keeping selected artifacts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmagly/aiwg/uninstall-plugin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jmagly/aiwg --skill uninstall-plugin
Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uninstall-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmagly/aiwg/uninstall-plugin.svg)](https://agentmods.dev/skills/jmagly/aiwg/uninstall-plugin)
Your own site
<a href="https://agentmods.dev/skills/jmagly/aiwg/uninstall-plugin"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/uninstall-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01106
Opus 5 $0.00010 $0.00553
Sonnet 5 $0.00004 $0.00221
Haiku 4.5 $0.00002 $0.00111

Measured 2d ago against content hash b20eb0e90e09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

uninstall-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agentic/code/addons/aiwg-utils/skills/uninstall-plugin/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Uninstall Plugin

You remove a previously installed Claude Code marketplace plugin. In AIWG vocabulary, the plugin is the delivery wrapper; the deployed files are its extension, addon, or framework payload. You remove deployed files and unregister the wrapper from the local plugin registry.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "get rid of the voice plugin" → uninstall voice@aiwg
  • "I don't need the marketing kit anymore" → uninstall marketing@aiwg
  • "clean up the SDLC agents" → uninstall sdlc@aiwg
  • "remove everything from that plugin" → uninstall with cleanup

Trigger Patterns Reference

Pattern Example Action
Uninstall plugin "uninstall plugin voice@aiwg" Run aiwg uninstall-plugin voice@aiwg
Remove plugin "remove plugin marketing@aiwg" Run aiwg uninstall-plugin marketing@aiwg
Plugin uninstall "plugin uninstall sdlc@aiwg" Run aiwg uninstall-plugin sdlc@aiwg
Dry run "what would removing the voice plugin delete?" Run aiwg uninstall-plugin voice@aiwg --dry-run
Keep artifacts "remove the plugin but keep my .aiwg/ files" Run aiwg uninstall-plugin sdlc@aiwg --keep-artifacts

Behavior

When triggered:

  1. Extract intent:

    • Which plugin is being removed?
    • Is this a dry run (preview) or should changes be applied?
    • Should project artifacts in .aiwg/ be preserved? (default: yes, always preserve)
  2. Run the appropriate command:

    # Uninstall a plugin
    aiwg uninstall-plugin sdlc@aiwg
    aiwg uninstall-plugin voice@aiwg
    aiwg uninstall-plugin marketing@aiwg
    
    # Preview what would be removed
    aiwg uninstall-plugin sdlc@aiwg --dry-run
    
    # Keep .aiwg/ project artifacts even if plugin-owned (default behavior)
    aiwg uninstall-plugin sdlc@aiwg --keep-artifacts
    
  3. Report the result — list what was removed (agents, commands, skills, rules) and confirm the marketplace wrapper is deregistered.

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 126 lines · 20 tokens per session scan A b20eb0e90e09

Subscribe to this mod's changes

uninstall-plugin is a skill published in the GitHub repository jmagly/aiwg (209 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 1,106 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

memstack-automation-n8n-workflow-builder

Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual workflow design with node mapping, data transformations, and error handling for n8n. Do NOT use for standalone webhook endpoints or cron jobs.

cwinvestments/memstack · 68 tokens

memstack-automation-cron-scheduler

Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs production-grade scheduled jobs with overlap prevention, monitoring, and structured logging. Do NOT use for n8n workflows or event-driven webhooks.

cwinvestments/memstack · 67 tokens

session-save

Save the current session state (decisions, modified files, current status, and next steps) to a handoff file for later resume.

FlorianBruniaux/claude-code-ultimate-guide · 31 tokens

overheard

Find commitments the user made in the last two weeks and did not follow through on. A promises audit.

ghostwright/phantom · 24 tokens

atelier-orchestrator

Skill routing and workflow orchestration. Selects Inline Plan or Spec-backed Plan, routes to the correct workflow skill, and manages transitions between phases. Use when starting any conversation or task to determine which planning mode and skill apply.

martinffx/atelier · 52 tokens

tokenhabit

A coaching tool that finds habits in past coding-agent conversations that waste tokens, the text units used to process requests and responses, and suggests ways to reduce that waste.

epoko77-ai/tokenhabit · 371 tokens