# CleanMyCodex Audit

> Read-only storage inspection and scoped Git history diagnostics for a selected local workspace. No cleanup, archives, or conversation access.

CleanMyCodex Audit is a free AI agent skill on Agensi by 김재훈, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [김재훈](https://www.agensi.io/creators/creator-1318)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cleanmycodex-audit
- Tags: productivity, storage, git, read-only

## About this skill

### Inspect before deciding what to preserve
CleanMyCodex Audit reports storage estimates for a specific local AI workspace and optionally checks Git history coverage. It does not clean up files.

### What it does
- Groups estimated logical and allocated sizes by immediate child.
- Skips protected paths and does not follow symbolic links.
- Reports local Git changes, ignored-file counts and stashes.
- Only with authorization, queries an existing Git remote and compares local branches and HEAD against available remote branch history.

### Safety and limits
No deletion, compression, restoration, chat export, background jobs, Git fetch/push, or repository configuration changes. Cache names are review candidates, not a promise that deletion is safe.

Sizes are estimates, not reclaimable space. Protected or unreadable entries make the report incomplete. Git coverage does not prove backups of LFS payloads, submodules, local tags, ignored/untracked files, databases, services, or cloud chats. Existing external Git authentication helpers may have their own side effects.

### Requirements and validation
Local shell/filesystem access, Python 3.11+, and Git for repository checks. The same 23 synthetic tests passed on Linux with Python 3.12.14 and macOS with Python 3.14.7; Python 3.11 was not tested. Windows is unsupported. Agensi connection alone does not provide access to a laptop. Live Agensi MCP delivery has not yet been validated.

Free read-only adaptation of the MIT-licensed [CleanMyCodex](https://github.com/SnoopyKim/CleanMyCodex). Original cleanup features are not included.

## Requires

- Python
- Optional: Git

Python 3.11+ and local shell/filesystem access required. Git is optional for Git checks. macOS/Linux only.

## Known limitations

macOS and Linux only. Requires Python 3.11+; tested on Python 3.12.14 and 3.14.7, not 3.11. Sizes are estimates, not reclaimable space. Protected or unreadable entries make scans incomplete. Git history coverage excludes LFS payloads, submodules, tags, ignored/untracked files and external services. No cleanup. Live Agensi MCP delivery has not been validated.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the CleanMyCodex Audit skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Will this skill automatically delete files to save space?

No. It performs no cleanup, compression or restoration. It labels review candidates without claiming they are safe to delete. Running it writes and removes only its temporary script outside the selected project; existing Git authentication helpers may have their own side effects.

### What are the system requirements for running a workspace audit?

Local shell/filesystem access and Python 3.11+ are required. Git is needed for repository checks. The same 23 synthetic tests passed on Linux with Python 3.12.14 and macOS with Python 3.14.7; Python 3.11 was not tested. Windows is unsupported. Agensi connection alone does not provide laptop access.

### What does the Git history check establish?

It reports local changes, ignored-file counts and stashes. With authorization, it queries an existing remote and checks local branches and HEAD against available remote branch history. This is not a complete backup proof: LFS payloads, submodules, local tags, ignored/untracked files, databases and external services are outside its coverage. It does not fetch or push.

### What kind of visibility does the report provide into storage usage?

It groups estimated logical and allocated bytes by immediate child of the selected workspace. Protected paths are skipped and symbolic links are not followed. Cache names are review candidates only. Estimates do not equal reclaimable disk space, and protected or unreadable entries make results incomplete.

### Can I use this skill on multiple projects or repositories?

Yes. This free MIT-licensed skill can inspect different local workspaces, but each run must have an explicit authorized target. It does not automatically scan all folders or schedule background runs.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
