skill-refresh
CommunityTerminate orphaned Claude Code processes quickly
Authorbenbrastmckie
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps you terminate orphaned Claude Code processes and clean up the ~/.claude/ directory to reclaim system resources and maintain a tidy work environment.
Core Features & Use Cases
- Process cleanup: Identify and terminate Claude Code processes that have no controlling terminal or are orphaned.
- Directory cleanup: Remove accumulated temporary files in ~/.claude/ while preserving important or recently modified data.
- Safe operation: Never kills active sessions or the current process; supports dry-run and force modes for safety.
Quick Start
To refresh Claude Code resources, run the script to terminate orphaned processes and clean up the directory. Example basic commands:
- Dry-run: .claude/scripts/claude-refresh.sh --dry-run
- Force cleanup: .claude/scripts/claude-refresh.sh --force
- Cleanup status: .claude/scripts/claude-cleanup.sh
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: skill-refresh Download link: https://github.com/benbrastmckie/.dotfiles/archive/main.zip#skill-refresh Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.