Clean up sub-agent sessions and expired backup files that have been terminated and have not been updated for 48 hours, free up disk space and update index files synchronously.
Data sourced from ClawHub. View on ClawSkills
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install cleanup-sessionsOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install cleanup-sessionsβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/cleanup-sessions/π‘Extract and place the folder at the path above, then restart your agent.
Category
π οΈGeneral ToolsPlatforms
What Cleanup Sessions can do for your AI workflow
Clean up sub-agent sessions directly from your Claude conversation
Works across Claude, Cursor, OpenClaw β install once, use everywhere
One-command installation β no complex setup required
Combine with other skills to build powerful multi-step AI workflows
Try these prompts with your AI agent after installing Cleanup Sessions
Help me get started with Cleanup Sessions
Explains what Cleanup Sessions does, walks through the setup, and runs a quick demo based on your current project
Use Cleanup Sessions to clean up sub-agent sessions and expired backup files that have been...
Invokes Cleanup Sessions with the right parameters and returns the result directly in the conversation
What can I do with Cleanup Sessions in my general tools workflow?
Lists the top use cases for Cleanup Sessions, with example commands for each scenario
Guides & tutorials for AI skills
The 7 AI Skills Every Software Developer Should Have Installed in 2026
After testing dozens of developer-focused AI skills, these are the seven that have proven genuinely useful across different tech stacks and workflows β not just impressive demos, but tools that hold up under daily use.
MCP Skills vs Native Claude Tools: What's the Difference and When to Use Each
Claude comes with built-in capabilities, but MCP skills extend it in ways the base model can't. Here's a clear breakdown of what each type of tool is good for, with real examples of when to reach for a skill versus relying on Claude's native abilities.
Cleanup Sessions extends your AI assistant with the ability to clean up sub-agent sessions and expired backup files that have been terminated and have not been updated for 48 hours, free up disk space and update index files synchronously. Rather than leaving your conversation to handle this manually, you can ask your Claude agent directly β and it will take care of the task end-to-end, using Cleanup Sessions as its underlying capability.
Cleanup Sessions works across Claude, Cursor, OpenClaw through the Model Context Protocol (MCP) β an open standard that lets AI clients share tools and skills without lock-in. Because MCP is platform-agnostic by design, you install Cleanup Sessions once and it becomes available across all your AI clients. Whether you're working in Claude for focused sessions or Cursor for integrated workflows, the skill behaves consistently.
Getting started with Cleanup Sessions takes about two minutes. Place the skill at `~/.claude/skills/cleanup-sessions/` (personal, all projects) or `.claude/skills/cleanup-sessions/` (project-specific), then restart your AI client. From that point, typing `/cleanup-sessions` in any conversation activates it, or the AI will use it on its own when it detects a relevant request.
Cleanup Sessions has 98 installs and is part of the growing General Tools skill ecosystem on DiscoverAISkills. Like all skills on DiscoverAISkills, it is free to install and use. The broader AI skills ecosystem continues to expand as developers contribute new capabilities across categories like developer tools, data analysis, writing, automation, and more.
Place the skill folder at ~/.claude/skills/cleanup-sessions/ for personal use (all projects), or .claude/skills/cleanup-sessions/ for project-specific use. Restart your AI client, then invoke with /cleanup-sessions or let the AI discover it automatically.
Cleanup Sessions supports Claude, Cursor, OpenClaw. It integrates seamlessly with these AI platforms to extend their capabilities.
Cleanup Sessions is free to install. Check the repository for licensing information.
Clean up sub-agent sessions and expired backup files that have been terminated and have not been updated for 48 hours, free up disk space and update index files synchronously.
Live Sessions Dashboard
Live dashboard viewer for OpenClaw sessions (CLI + web) that shows color-coded states, token/cost totals, and shareable HTML panels. Requires local OpenClaw...
Cleanup Reporter
Scan your machine for large directories, duplicate files, and stale resume files.
Cleanup Dashboards
Audit and consolidate HubSpot reporting dashboards. Identifies unused, duplicate, or outdated dashboards. Must be performed manually β no dashboard API is av...
Automate my general tools tasks using Cleanup Sessions
Identifies repetitive steps in your workflow and sets up Cleanup Sessions to handle them automatically
Cleanup Sessions is categorized under General Tools. These skills help AI agents perform specialized tasks in this domain.
Cleanup Deals
Standardize deal pipelines, remove test deals, and address deals with missing amounts or close dates. Coordinates with Salesforce sync if applicable.