Claude Tune — Security skill for Claude Code
Audit and tune your Claude Code setup — hooks, skills, plugins, MCPs, memory, processes, disk.
How to install Claude Tune
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open commodore65/claude-tune and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Tune does
Audit and tune your Claude Code setup — hooks, skills, plugins, MCPs, memory, processes, disk.
Alternatives in Security
- Trail Of Bits Claude-code-config — Opinionated production defaults from a top security firm: sandboxing, permissions, hooks, skills, MCP server c 1.6k ★
- Install — Install the Damage Control security hooks system 456 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
README
claude-tune

**Audit and tune your Claude Code setup** — hooks, skills, plugins, MCPs, memory, processes, disk.
Safety-railed, three modes, snapshot-and-rollback on every mutation.
What it does
claude-tune is a Claude Code skill that walks your installation through 12 audit phases and surfaces:
- 🔴 Silently broken hooks — scripts the harness "runs" but that exit early because they rely on removed env vars from Claude Code 1.x
- 🟠 Unused skills, plugins, MCP servers, and agents — categorized HEAVY / ACTIVE / COLD / DEAD with a session-log observation window
- 🟠 Stale memory files — dead references, filename/content mismatches, past-due dates
- 🔴 Orphan Claude/MCP processes — left behind by crashed terminals, classified as "mine vs orphan"
- 🟢 Disk cruft in
~/.claude/— telemetry failed-batch buildups, old claude-tune backups - 🔴 Dead project entries in
~/.claude.json— paths that no longer exist on disk - 🟠 Contradictions in global or project
CLAUDE.md— narrow generalizations, static lists inside dynamic-discovery blocks - 🟠 Bloated MCP servers — globally-scoped but rarely used; proposes an on-demand loading pattern
For each finding it produces a severity-ranked table and, if you approve, applies provably-safe cleanups. Every mutation emits a `ROLLBACK:` command alongside.
Install
git clone https://github.com/commodore65/claude-tune ~/.claude/skills/claude-tune
Open a new Claude Code session and say one of:
claude-tuneaudit my claude codetune claude codeclean up claude setupbroken hooksunused skillsorphan claude processes
The first thing the skill does is ask which mode to run.
Three modes
| Mode | Description | When to use | | ---------
Related Skills
Claude Setup Audit
A Claude Code plugin that audits your whole setup — settings, permissions, hooks, MCP servers, skills, CLAUDE.
Setup Audit
Full setup health audit — versions, harmony, Coach coverage, disk, AGENTS.md, ecosystem
Claude Code Security Setup
A secure Claude Code setup from Trail of Bits that provides opinionated defaults, documentation, and workflows
DeepSafe Scan — Preflight Security Scanner For AI Coding Agents
Full-featured preflight security scanner across 5 dimensions: Posture (config), Skill (skills & MCP), Memory (
Lab Instrument Mcps
Open-source MCP servers that let AI agents operate real lab instruments, with safety limits, read-only modes,
AI Agent Harness Monitor CLI
Java CLI tool designed to increase awareness about local AI-agent harness tool files like skills, rules, guida
Related Agents
Claude Code Currency
Claude Code setup currency expert. Researches the latest official Claude Code config practices (subagents, set
Clawlint Reviewer
Use this agent to audit a repo's Claude Code setup (CLAUDE.md, AGENTS.md, skills, hooks, settings) with clawli
Audit YouTube
YouTube Ads evidence and controls specialist. Returns schema-valid findings for video campaign setup, hooks an