Workspace Storage Guard — Git skill for Claude Code
A shared low-disk-space guard for Hermes Agent, Claude Code, GitHub Copilot CLI, and Codex.
How to install Workspace Storage Guard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open TonPC64/workspace-storage-guard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Workspace Storage Guard does
A shared low-disk-space guard for Hermes Agent, Claude Code, GitHub Copilot CLI, and Codex.
Alternatives in Git
- Skill Copilot Provider — GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 2.8k ★
- MCP Memory Service — GitHub Repo stars MCP server providing semantic memory and persistent storage for Claude Memory service MCP 1.5k ★
- Memorix — Open-source cross-agent memory layer for coding agents via MCP 392 ★
README
Workspace Storage Guard
Workspace Storage Guard is a local MCP server and command-line tool for software developers on macOS and Linux. It reports free space, ranks workspace directories by size, and reclaims allowlisted build output such as Cargo debug artifacts, Next.js caches, and `node_modules`. Optional cleanup covers developer caches and unused container resources on Rancher Desktop, Colima, Docker Desktop, Podman, and Kiri.
How it helps
- See what's taking space. Check free space on your workspace volume and find large directories from your agent or terminal.
- Reclaim space for development. Clean configured, eligible build outputs when space runs low. You can also opt in to developer cache and container cleanup.
- Keep an eye on storage. Configure agent hooks or a macOS LaunchAgent to check in the background and optionally notify you.
- Choose the cleanup scope. Workspace cleanup uses your local allowlists and checks whether paths are safe to clean. Generated files may need to be rebuilt afterward.
How it works
flowchart LR
A[Agent via MCP
or terminal] --> B[Check or scan storage]
A --> C[Request cleanup]
D[Configured hooks
or LaunchAgent] --> C
C --> E{Free space below
the minimum?}
E -- Yes --> F[Clean eligible
allowlisted output]
F --> G[Optionally clean caches
and container resources]
G --> H[Aim for the
free-space target]
E -- No --> I[No normal cleanup needed]
The minimum triggers normal cleanup, and the target controls when it stops trying new candidates. Cleanup can finish below the target if there is nothing else eligible or it runs out of time. Forced cleanup can process eligible workspace output regardless of free space. [See the cleanup flow](docs/usage.md#how-cleanup-works)
Install from PyPI
Install uv and create your local config. Then run the published MCP server with `uvx` in Hermes Agent, Claude Code, GitHub Copilot CLI, or Codex. [Setup
Related Skills
Hermes IDE
One console for every coding agent. Claude Code, Codex, Copilot, OpenCode and any CLI run in their own termina
Herdr Kit
Ready-to-use Herdr Desktop workspace: live git column per space (serie graph with mouse, MR, CI, tests), agent
The 3 Clis
Three agent-CLI harnesses (GitHub Copilot CLI, OpenAI Codex CLI, Claude Code) that take a framework pack over
Apfs Skill
A Claude Code skill that teaches agents to use APFS: copy-on-write git worktrees with warm caches, instant dir
Agentic Showcase Aggregator
Interactive library aggregating showcases, galleries, use-cases, and reusable solutions from Claude, Codex, He
Agent Team Memory
团队 Agent Memory 共享系统 — 把 Claude Code/Codex/Trae/Hermes 的记忆汇聚到 Git, 含 CLI/Web 可视化/四工具桥接/auto-commit skill/CI 校验
Related Agents
Tauri Security Reviewer
Use when reviewing changes that touch the sandbox boundary or credential handling — path_guard.rs, workspace_p
Backend Format Expert
Domain advisor for AI CLI transcript formats (Claude, Codex, Pi, Hermes, agy), SQLite stores, Protobuf wire fo
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode