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
Remove From Context
Remove outdated or incorrect information from the context pool
Env
Manage Vercel environment variables. Commands include list, pull, add, remove, and diff. Use to sync environme
Logout
Sign out — remove the local stagent cloud token
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",
Shep Clean Arch Auditor
Read-only clean architecture auditor for shep. Scans a specified directory for dependency-rule violations, mag
Step Get Story
Step agent that pulls a story from Planka and creates local documents. Use in pipelines to fetch card details