joshtune

Context Clean — Development skill for Claude Code

Development community

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

Terminal
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.md in the project
  • — remove the context file in the specified directory

Alternatives in Development

Full documentation available on GitHub

View Source Repository