Aiclean — Security skill for Claude Code
Audit and clean up a Claude Code setup against Anthropic's current prompt-engineering guidance.
How to install Aiclean
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open visualic/aiclean and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Aiclean does
Audit and clean up a Claude Code setup against Anthropic's current prompt-engineering guidance. Finds stale scaffolding, oversized skills, dead dependencies and never-used skills. Reports first, archives rather than deletes.
Alternatives in Security
- Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
- Octoboss Clean Contexts — You are the Octoboss — a cross-tentacle orchestrator 1.4k ★
- Pocketpaw — Your AI agent in 30 seconds 775 ★
README
aiclean
Audit and clean up a Claude Code setup against Anthropic's current prompt-engineering guidance.
Most `~/.claude` directories drift the same way. They accumulate instructions written to patch weaknesses the models no longer have, plus skills installed once and never used. Both cost tokens on every session, and some of it actively degrades output — the guidance is explicit that older, over-prescriptive skills "can degrade output quality."
This skill finds it and asks before touching anything.
Install
Claude Code
/plugin marketplace add visualic/aiclean
/plugin install aiclean@visualic
Codex CLI and other harnesses
git clone https://github.com/visualic/aiclean.git ~/aiclean
cd ~/aiclean && ./install.sh
Links the skill into every harness home it finds (`~/.codex`, `~/.agents`, `~/.cursor`, `~/.gemini`, `~/.hermes`). Because it links rather than copies, `git pull` updates all of them at once. `./install.sh --list` shows what it would touch; `./install.sh --uninstall` removes it cleanly.
Use
Open a session and ask:
내 클로드 설정 점검해줘
or run `/aiclean` in Claude Code.
It gathers evidence, reports findings, and waits. Nothing is changed without your say-so, nothing is deleted — approved removals are moved to `~/.claude/skills-archive/` with the reason written down, so restoring is one `mv`.
What it checks
**CLAUDE.md** — instructions that current guidance says to remove (generic self-verification, "use subagents liberally", manual chain-of-thought, hard thresholds like "ANY task with 3+ steps", duplicate memory systems) and the ones most files are missing (response length, written-document length, task scope, correction narration, evidence behind progress claims).
**Skills and agents** — `SKILL.md` bodies large enough to cost tens of thousands of tokens per invocation; skills with no `description:`, which the router cannot see and which therefore can never be invoked; inert custom frontmatter keys; custom skills sha
Related Skills
Cache Audit
A Claude Code skill that audits your setup against the 6 prompt caching rules from Anthropic's engineering tea
Audit Deadcode
Comprehensive dead code audit — finds all unused files, functions, classes, and variables by walking the call
Claude Clean Context
Keep Claude Code's always-loaded context lean: deterministic memory guard-rail distiller + skills audit. Never
Session Audit
Self-audit pass over CLAUDE.md rules and memory files. Surfaces stale rules, undocumented workarounds, and con
Skillkill
Audit and undoably clean up stale local agent skills
Memory Checkup
Audit and repair an AI agent's memory corpus for consistency: stale numbers, dangling references, dead daily f
Related Agents
Docs Freshness Checker
Read-only audit of the current repo's MkDocs docs for freshness: multi-language parity (docs/en vs docs/de), d
Doc Janitor
Use this agent to clean up stale documentation artifacts before merging a branch. Finds plan files, session su
Thread Janitor
Auto-clean stale cortex threads. Finds threads with no updates in 7+ days, resolves completed work, merges dup