CodeEraser — AI skill for Claude Code
An eraser against LLM-induced code & document entropy — clone/duplication/deadcode/structure judgment (Haskell core, Rust frontend) with Claude Code guard hooks, MCP, CI gates and a Tauri GUI.
How to install CodeEraser
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open skymanbp/CodeEraser and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What CodeEraser does
An eraser against LLM-induced code & document entropy — clone/duplication/deadcode/structure judgment (Haskell core, Rust frontend) with Claude Code guard hooks, MCP, CI gates and a Tauri GUI.
Alternatives in AI
- Agency Agents — A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject 148k ★
- Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
- Desktop Cc Gui — Multi-engine AI coding desktop client (Tauri) 4.4k ★
README
CodeEraser
[](https://github.com/skymanbp/CodeEraser/actions/workflows/ci.yml) [](https://crates.io/crates/codeeraser) [](https://www.npmjs.com/package/codeeraser) [](LICENSE) [](https://codeeraser.dev)
English | **[中文](README.zh.md)**
An eraser against LLM-induced code & document entropy.
LLMs drift toward stacking and patching over long-lived work: the same function implemented twice, the same fact written in three places, updates that arrive as appends, files that only ever grow. CodeEraser fights that drift at the moment of writing — a Rust CLI + Tauri GUI in front of a Haskell judgment core, shipped as a Claude Code plugin with PreToolUse/Stop interception, a read-only MCP report surface, pre-commit, and CI exit codes.
What CodeEraser does
- It refuses a duplicate before it exists. A write that would introduce an exact T1/T2 clone — duplication the content being replaced did not already carry — is denied at PreToolUse; the interception happens at writing time, not in a report you read afterwards, and a denied move is told the ordering that passes.
- It refuses a file past its hard line. A write that leaves a file over 750 lines — or over the line that file's
[[rules.class]]declares — is denied the same way. - It finds documentation written twice. Repeated paragraphs, comments and docstrings anywhere in the tree, with
--checkturning the finding into a CI exit code. - It finds the clones that editing disguised. Near-miss blocks are matched by tree edit distance over syntax, so a renamed and re-o
Related Skills
Windows DNS Policy Manager
Browser-based GUI for Windows Server DNS — policies, zones, records, DNSSEC, DNS over HTTPS, and blocklists. N
Bebok
Desktop GUI Headless Local-first AI coding agent in Rust (axum, tokio, rmcp, portable-pty) behind HTTP + SSE,
Secure Agent Starter
Clone, run, your AI agent is protected. A reference payment agent (shopping/x402/finance) with the Sentinel gu
Deadcode Reaper Skill
扫出并清除「自称已废」的墓碑 skill、AI 幽灵碎片与死代码,统计释放的 Token 与磁盘。· An agent skill that reaps tombstoned skills, agent leftover
Haskell Agent
My first Claude powered AI agent with Haskell!
Fallow Skills
Agent skills for fallow, codebase intelligence for TypeScript and JavaScript. Teaches AI agents how to find un
Related Agents
Gardener
Entropy scanner — detects doc-code drift, unused exports, architecture violations, and code duplication
Tauri Rust Expert
Use this agent when working with Tauri applications, Rust backend development, Tauri plugins, cross-platform d
Rust Backend Architect
Primary reviewer for the Rust/Tauri backend — domain modeling, error handling, module boundaries (L0–L3 layers