neat-freak
Skill by KKKKhazix
Neat-freak reconciles project docs, rule files like CLAUDE.md and AGENTS.md, agent memory, and leftover workspace files with the current code and runtime. It is for the next session or the next person who takes over the project.
Install neat-freak
Built from the published package, never by AI.
git clone --depth 1 https://github.com/KKKKhazix/khazix-skills /tmp/khazix-skills && mkdir -p ~/.claude/skills && cp -r /tmp/khazix-skills/neat-freak ~/.claude/skills/neat-freakRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/KKKKhazix/khazix-skills /tmp/khazix-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/khazix-skills/neat-freak ~/.gemini/antigravity-cli/skills/neat-freakAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Neat-freak is an agent skill for closing out knowledge work after development. It checks project docs, rule files (CLAUDE.md, AGENTS.md, rules), authorized agent memory, and temporary files against what the code, configuration, and running services actually do. It lists the relevant files first, then finds stale or conflicting statements, and edits them in place instead of appending dated notes.
The skill also covers governance checks, such as whether rules written in a project are followed, and clean handoffs to a teammate or a fresh session. It only changes the current project by default, treats deletions as candidates that need user confirmation unless the user clearly authorizes cleanup, and ends with a short report. It is written for developers and teams who keep project knowledge in Agent-readable files.
Written from the project's SKILL.md and checked against it.
What it can do
- Knowledge closeoutAligns project docs, rule files and agent memory with the current code and runtime after development.
- Inventory auditRuns scripts/audit-inventory.sh to list rule file chains, Markdown files, symlinks, git status and root entries, read-only.
- Claim verificationChecks commands, ports, environment variables, interfaces and status claims like 'deployed' against real evidence.
- Stale reference searchSearches all knowledge files for old field names, routes, service names, commands and model names after a change.
- Rule compliance auditChecks whether conventions written in rule files, such as naming, required files and ignore rules, are actually followed.
- Minimal rule file creationCreates a short CLAUDE.md or AGENTS.md for projects that have code but no rule file, kept under 60 lines.
- Temporary file cleanupMerges still-valid content from plan, TODO and backup files into formal docs, then lists the leftovers as deletion candidates.
- Memory tidyingUpdates or merges stale memory entries on platforms that let the agent maintain its own memory, scoped to the project.
- Handoff preparationWrites verified current state, next steps and verification steps into docs that a successor will read.
- Closeout reportReturns a short report listing changes, items to confirm, deletion candidates and unverified points.
What you need
- Filesystem read access
- Bash to run scripts/audit-inventory.sh (manual checks otherwise)
- Git and rg (optional, improve verification)
Try asking
- neat-freak: sync the docs and memory after this development round
- docs 和代码对不上了,帮我对齐一下
- Audit whether the rules in CLAUDE.md are actually followed in this repo
Good to know
- Writes and destructive actions follow the active agent, workspace and user authorization rules.
- Deletions are listed as candidates for confirmation unless the user clearly asks for cleanup.
- Machine-generated memory is treated as read-only and is not edited by hand.
- Not meant for pure coding, refactoring or debugging tasks, or for tidying data or prose.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: neat-freak/SKILL.md, neat-freak/evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/src/router.ts, neat-freak/evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/src/server.ts, neat-freak/evals/fixtures/eval-10-vibe-project/project/server.js, neat-freak/evals/fixtures/eval-10-vibe-project/project/server_old.js, neat-freak/evals/fixtures/eval-11-unknown-platform/project/main.py, neat-freak/evals/fixtures/eval-2-memory-conflict/workspace/notesapp/src/auth.ts, neat-freak/evals/fixtures/eval-3-cold-start/workspace/analytics_dashboard/src/lib/supabase.js, neat-freak/evals/fixtures/eval-4-cross-project/workspace/auth-center/src/routes/device.ts. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
evals/evals.json11 KB -
evals/fixtures/eval-1-routine-dev-sync/agent-memory/taskflow/memory/MEMORY.md183 B -
evals/fixtures/eval-1-routine-dev-sync/agent-memory/taskflow/memory/project_api-design.md243 B -
evals/fixtures/eval-1-routine-dev-sync/agent-memory/taskflow/memory/project_deploy.md274 B
Show all 96 files
-
evals/fixtures/eval-1-routine-dev-sync/workspace/CLAUDE.md355 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/AGENTS.md9 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/CLAUDE.md479 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/README.md231 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/docs/architecture.md374 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/package.json311 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/src/router.ts888 B -
evals/fixtures/eval-1-routine-dev-sync/workspace/taskflow/src/server.ts474 B -
evals/fixtures/eval-10-vibe-project/project/PLAN.md229 B -
evals/fixtures/eval-10-vibe-project/project/README.md314 B -
evals/fixtures/eval-10-vibe-project/project/TODO-fix-bug.md245 B -
evals/fixtures/eval-10-vibe-project/project/data.json105 B -
evals/fixtures/eval-10-vibe-project/project/index.html873 B -
evals/fixtures/eval-10-vibe-project/project/notes/debug-notes.md176 B -
evals/fixtures/eval-10-vibe-project/project/package.json167 B -
evals/fixtures/eval-10-vibe-project/project/server.js1 KB -
evals/fixtures/eval-10-vibe-project/project/server_old.js298 B -
evals/fixtures/eval-11-unknown-platform/project/.agentx/memory.json394 B -
evals/fixtures/eval-11-unknown-platform/project/.agentx/session-log.jsonl177 B -
evals/fixtures/eval-11-unknown-platform/project/AGENTS.md352 B -
evals/fixtures/eval-11-unknown-platform/project/main.py771 B -
evals/fixtures/eval-11-unknown-platform/project/requirements.txt13 B -
evals/fixtures/eval-2-memory-conflict/agent-memory/notesapp/memory/MEMORY.md353 B -
evals/fixtures/eval-2-memory-conflict/agent-memory/notesapp/memory/feedback_auth-clerk.md212 B -
evals/fixtures/eval-2-memory-conflict/agent-memory/notesapp/memory/feedback_auth-nextauth.md189 B
And 66 more files on GitHub.
Alternatives to neat-freak
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
neat-freak: common questions
When does neat-freak trigger?
It triggers when the user names neat-freak, 洁癖 or /neat, or shows clear intent to close out project knowledge, such as syncing docs after development or fixing conflicting CLAUDE.md or memory.
Will neat-freak delete my files?
Not by default. It lists deletion candidates with reasons and waits for confirmation, unless the user clearly asks to clean up the workspace and the files have no unique content.
Does it edit auto-generated memory?
No. Machine-generated memory is marked read-only and stale content is reported, and corrections go only through the platform's public entry points.
How do I install neat-freak?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is neat-freak free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is neat-freak safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to neat-freak?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
