18-profile-cleanup

Audit Claude Code profiles and remove duplicate skills, orphaned plugins, and stale configurations.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/rhpds/claude-code-courseware --skill 18-profile-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 18-profile-cleanup
Source: https://github.com/rhpds/claude-code-courseware/tree/main/lola/ccc/skills/18-profile-cleanup
Command: npx skills add https://github.com/rhpds/claude-code-courseware --skill 18-profile-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps remove clutter from Claude Code profiles by identifying duplicate skills, orphaned plugins, redundant agents, stale MCP configurations, and unnecessary context usage.

Core Features & Use Cases

  • Profile Auditing: Analyze skills, agents, plugins, MCP servers, settings, and memory files to identify cleanup opportunities.
  • Guided Cleanup: Review safe removal options for broken symlinks, duplicate resources, orphaned plugin files, and oversized context consumers.
  • Context Optimization: Measure profile footprint and reduce startup overhead so Claude Code sessions have more available working context.

Quick Start

Use the profile cleanup skill to audit my Claude Code configuration and recommend safe cleanup actions.

Frequently Asked Questions about 18-profile-cleanup

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

FAQPage Schema
How do I clean my Claude Code profile to remove duplicate skills and orphaned plugins?

Profile cleanup audits your Claude Code configuration to identify duplicate skills, orphaned plugins, and redundant agents, then reviews safe removal options and confirms before deleting. This process validates resources and reports cleanup impact.

How does context optimization work during a Claude Code profile audit?

Context optimization measures your profile footprint to identify oversized context consumers and unnecessary files. Reducing startup overhead frees up working context so Claude Code sessions run with more available memory.

What is the best way to review stale MCP configurations in Claude Code?

The best way to review stale MCP configurations is through a guided profile audit that analyzes your servers and settings. This identifies broken symlinks and orphaned files, recommending safe removal options before executing destructive actions.

Can I audit agent organization and memory files without accidentally deleting needed resources?

Yes, profile audits analyze agents and memory files to identify cleanup opportunities while requiring user confirmation before destructive actions. Validation checks ensure safe removal options are reviewed before any resources are deleted.

When should I run a profile cleanup to optimize my Claude Code environment?

You should run profile cleanup when session startup overhead increases or available working context decreases. Auditing removes unnecessary configuration files, duplicate skills, and orphaned resources, reducing the profile footprint for faster sessions.