smithery/marcusgoll

deep-cleanup

Clean up stale deep loop files. Use when user asks to 'clean up', 'remove .deep directories'. Removes old session artifacts.

Installation

$ npx skills add smithery/marcusgoll --skill deep-cleanup

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/marcusgoll · top by installs.

npx skills add smithery/marcusgoll

Browse all from smithery/marcusgoll

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version11.0.0
Allowed toolsBash
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,232 B
  • docs SUMMARY.md 47 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Deep Cleanup

Manually clean up stale files from deep loop sessions.

What This Does

  1. Removes stale .deep/ directories older than 7 days
  2. Removes stale plan files from ~/.claude/plans/
  3. Cleans up orphaned lock files
  4. Resets stuck escalation files

Usage

# Remove .deep directories older than 7 days
find . -maxdepth 1 -name ".deep*" -type d -mtime +7 -exec rm -rf {} \;

# Remove stale plans
find ~/.claude/plans -name "*.md" -mtime +7 -delete

# Remove lock files
rm -f .deep/agent.lock

# Remove escalation files
rm -f .deep/NEEDS_USER

When to Use

  • After abandoned deep loops
  • When session-start hook reports stale directories
  • Before starting a fresh project
  • To clear accumulated temp files

Manual Cleanup Commands

Reset Everything

rm -rf .deep

Keep State but Clear Issues

echo '[]' > .deep/issues.json

Force Exit Stuck Loop

touch .deep/FORCE_EXIT

Skip Verification

echo "Manual cleanup" > .deep/FORCE_COMPLETE