Context Clean — Development skill for Claude Code
Remove local context files — clean up a directory or all context files in the project.
How to install Context Clean
Installs to ~/.claude/skills/joshtune-mx-workflow-context-clean/SKILL.md
mkdir -p ~/.claude/skills/joshtune-mx-workflow-context-clean && curl -fsSL https://raw.githubusercontent.com/joshtune/mx-workflow/HEAD/commands/context-clean.md -o ~/.claude/skills/joshtune-mx-workflow-context-clean/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Context Clean does
description: "Remove local context files — clean up a directory or all context files in the project" argument-hint: "[path | --all]" allowed-tools: ["Bash", "Glob", "Read"]
Context Clean
Remove `.claude/context.local.md` files created by `/mx:context-prime`.
**Input**: $ARGUMENTS
Instructions
Step 1: Determine Scope
Parse `$ARGUMENTS`:
--all— remove every.claude/context.local.mdin the project— remove the context file in the specified directory
Alternatives in Development
- Worktree Cleanup — Remove worktrees and branches that have been merged: $ARGUMENTS 23.4k ★
- Remove Comments — Remove Obvious Comments 2.8k ★
- Claude Instructions For Local Skill Loading — This file tells Claude how to load skills locally 845 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Sc Cleanup
Systematically clean up code, remove dead code, and optimize project structure
Clean Imports
Remove unused imports and organise import ordering across changed files
Scourgify
Scrub the code clean — remove debug cruft
Tidy Up
Clean all Boomi development artifacts while preserving directory structure
Remove From Context
Remove outdated or incorrect information from the context pool
Herdr Agent Panel
herdr plugin: per-agent side panel with context usage, connectors, skills (update/remove via npx skills), sand
Related Agents
Tp Dead Code Finder
Use this when the user asks to find or remove dead / unused code ("clean up this file", "find unused exports",
Events Engineer
Use for the Orchestrator event pipeline. Claude Code hooks (install and remove in a project's .claude/settings
Shep Clean Arch Auditor
Read-only clean architecture auditor for shep. Scans a specified directory for dependency-rule violations, mag