Guides · Updated November 26, 2026

How to uninstall an agent skill, and what it leaves

By Tineessa Nelson, Use This Skill

To uninstall an agent skill, delete its folder: ~/.claude/skills/<name> or .claude/skills/<name> in Claude Code, ~/.agents/skills/<name> or the repository's .agents/skills/<name> in Codex. A skill that came in a plugin is removed with claude plugin uninstall. Deleting the folder does not undo what the skill installed: 253 of 1,973 public skills we read mention a package or tool install.

So there are two jobs. The first is quick: remove the folder, or switch the skill off if you may want it back. The second is to check whether the skill set anything up outside its own folder while you used it.

What can a skill leave behind after you delete it?

On November 26, 2026 we cloned all 47 GitHub repositories in this directory's November 23 crawl and read every file in every skill folder by script, looking for instructions that put something on your computer outside the folder. These are mentions, not proof that the skill ran them on your machine: a skill that says "run pip install pypdf" only installs it if the agent follows that step.

What the skill mentions Skills Repositories
A Python install (pip install, uv add, pipx install, uv tool install) 184 12
A global npm, pnpm, yarn or bun install (-g) 52 18
brew install 37 10
A system package manager (apt-get, dnf, yum, apk, pacman) 29 7
cargo install, go install or gem install 13 4
A download piped straight into a shell (curl ... | bash) 13 6
Any of the above 253 24
None of the above, and no settings, hook or scheduler mention 1,697 39

Source: Use This Skill directory (data/skills.json, crawl of November 23, 2026, 1,974 skills); 1,973 skill folders read on November 26 (one, sap-fiori-building-blocks, is no longer at its path). Matches are text patterns in any file of the folder, so a mention inside a code example counts. Local installs inside a project (`npm install` without -g), which stay in that project's node_modules, were counted separately: 61 skills.

Most of these installs are ordinary and expected. K-Dense-AI's scientific skills account for 126 of the 184 Python installs, because a skill for a chemistry or genomics library needs that library. Six of Anthropic's own 20 skills mention an install too; pdf and xlsx mention Python packages. Of the 253 skills, the weekly scan of November 23 found 211 clear, 29 worth a review and 13 flagged. All 13 flagged skills in the directory are in this group, because the flag is for a download piped into a shell, which is also an install.

1,102 of the 1,973 skills are a single SKILL.md file with nothing else. For a skill like that, deleting the folder is the whole job.

Which skills change your agent's settings or schedule jobs?

A few skills go further than installing a tool: they add a hook to your agent's settings or register a job that keeps running. These we read by hand. Four examples from the directory, all clear or review-level in the scan:

Skill What it sets up How to undo it
hallmark (nutlope/hallmark) A script adds a lint hook to .claude/settings.json, or ~/.claude/settings.json with --global, that runs a file inside the skill's folder Run its install-hook.mjs --remove before deleting the folder, or the hook points at a file that no longer exists
git-guardrails-claude-code (mattpocock/skills) Copies a hook script into .claude/hooks/ or ~/.claude/hooks/ and adds a PreToolUse hook to the matching settings file Remove the hook entry from settings and delete the copied script
block-no-verify-hook (wshobson/agents) A PreToolUse hook in the project's .claude/settings.json Remove the hook entry from settings
second-take (flashfrogluo/second-take) A script installs a macOS launchd job in ~/Library/LaunchAgents/ that runs every six hours, with data in ~/.local/share/second-take-metrics Run its uninstall-schedule.sh (add --purge to delete the data too)

The pattern to look for is a hook, a settings file, a shell profile (~/.zshrc, ~/.bashrc), a crontab or launchctl line, or an MCP server added to your agent's configuration. Each of these lives outside the skill folder and survives its deletion. If a skill ships its own remove script, as hallmark and second-take do, run it first, while the folder is still there.

How do I uninstall a skill in Claude Code?

Delete the skill's folder. Claude Code loads personal skills from ~/.claude/skills/<name>/ and project skills from .claude/skills/<name>/, and its documentation says it watches those folders, so a removed skill drops out of the current session without a restart (bare mode is the exception). For a project skill that your team shares, commit the deletion so it goes for everyone.

If the skill came from a plugin, it lives in the plugin, not in your skills folder. Claude Code's plugin CLI reference gives:

claude plugin disable <plugin> --scope user      # off, but kept
claude plugin uninstall <plugin> --scope user    # removed

The scope can be user, project or local. When you uninstall a plugin from the last scope where it is installed, the reference says Claude Code also deletes its stored options and secrets and its data folder, ~/.claude/plugins/data/<id>/, unless you pass --keep-data. Removing a whole marketplace with claude plugin marketplace remove <name> uninstalls the plugins that came from it. Inside a session, /plugin opens the same controls.

To keep a skill but switch it off, Claude Code's skills page documents a skillOverrides setting: an entry of "<skill-name>": "off" hides that skill. Its own example uses "doctor": "off" for a bundled skill.

How do I remove or disable a skill in Codex and Gemini CLI?

Agent Where skills live Remove Turn off but keep
Claude Code ~/.claude/skills/, .claude/skills/, plugins Delete the folder; claude plugin uninstall for plugin skills skillOverrides entry set to "off"; claude plugin disable
Codex $HOME/.agents/skills, .agents/skills from the working folder up to the repository root, /etc/codex/skills Delete the folder [[skills.config]] with the skill's path and enabled = false in ~/.codex/config.toml, then restart Codex
Gemini CLI ~/.gemini/skills/ or ~/.agents/skills/, .gemini/skills/ or .agents/skills/ in the workspace gemini skills uninstall <name> /skills disable <name> in a session; /skills enable <name> to undo

Checked on each agent's official documentation on November 26, 2026 (sources below).

Two details matter. Codex and Gemini CLI both read .agents/skills/, so one folder can serve both, and deleting it removes the skill from both. And in Codex, a [[skills.config]] entry can name a skill by path, which matches one SKILL.md, or by name, which matches every skill with that name; the documentation says the last matching entry wins. For Cursor and other agents, see do agent skills work in Codex, Cursor and Gemini CLI?

In what order should I remove a skill?

  1. Read what it set up. Open its SKILL.md and any scripts/ folder, or paste its GitHub link into the live skill check, which lists install commands, piped downloads and settings changes with the file and line.
  2. Run its own remove step, if it has one, while the folder still exists.
  3. Remove what it added outside the folder: hook entries in your agent's settings, an MCP server it registered, a line in your shell profile, a scheduled job.
  4. Delete the folder, or uninstall the plugin it came in.
  5. Decide about the packages. A library a skill installed may now be used by your own code, so remove it only if you know nothing else needs it.

If you only want to stop the agent from picking the skill on its own, you do not need to remove it at all: disable-model-invocation: true in its front matter makes it run only when you type /skill-name (what disable-model-invocation does). And if you are removing a skill because a newer version behaves differently, updating it may be what you want instead.

How we got these numbers

We cloned the 47 repositories at depth 1 on November 26, 2026 and walked every file in each skill folder, skipping .git and node_modules, reading text files under 2 MB. Each file was matched against fixed patterns for the install commands and settings, hook, shell-profile and scheduler paths listed above. The counts are of skills with at least one match, not of commands. The settings and scheduler patterns also match unrelated text (a minified JavaScript library, a malware detection rule), so for those we report examples we read by hand rather than a count. Scan statuses are from the November 23 scan in data/scan.json. We did not install or uninstall any of these skills for this page. How to install a skill in the first place is in installing a skill from GitHub, and plugins are compared with skills in Claude Code plugin vs skill.

Questions

Do I need to restart Claude Code after deleting a skill?

Usually not. Claude Code's skills documentation says it watches the personal, project and --add-dir skill folders and picks up an added, edited or removed skill without a restart, except in bare mode. Codex's documentation says it detects skill changes automatically and to restart it if a change does not appear, and to restart after any change to config.toml.

Is there a way to turn a skill off without deleting it?

Yes, in three of the agents we checked. Claude Code has a skillOverrides setting, where an entry such as "deploy": "off" hides that skill. Codex takes a [[skills.config]] entry with the skill's path and enabled = false in ~/.codex/config.toml. Gemini CLI has /skills disable <name> in a session, and /skills enable <name> to bring it back.

Does disable-model-invocation turn a skill off?

No. disable-model-invocation: true stops the agent from choosing the skill on its own, but you can still run it with /skill-name. It is a way to make a skill manual, not to remove it. Our guide to disable-model-invocation explains the difference.

How do I find out what a skill installed on my computer?

Read its SKILL.md and any scripts for install commands (pip install, npm install -g, brew install, apt-get install, cargo install, or a curl command piped into a shell) and for writes to settings files, hooks or scheduled jobs. Pasting the skill's GitHub link into the live skill check at usethisskill.com/scan lists the risky lines with their file and line number.