Claude Setup Audit — Security skill for Claude Code
A Claude Code plugin that audits your whole setup — settings, permissions, hooks, MCP servers, skills, CLAUDE.md, memory — against the current docs and your own transcripts, and returns a ranked list.
How to install Claude Setup Audit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open senzelden/claude-setup-audit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Setup Audit does
A Claude Code plugin that audits your whole setup — settings, permissions, hooks, MCP servers, skills, CLAUDE.md, memory — against the current docs and your own transcripts, and returns a ranked list of security, cost and context fixes. Read-only by default; applies nothing without approval.
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 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
- Claudit Sec — Security audit tool for Claude Desktop and Claude Code on macOS — single-command visibility into MCP servers 115 ★
README
Setup Audit for Claude Code
An evidence-backed auditor for your **whole** Claude Code setup. It reads your user and per-project settings, permissions, hooks, MCP servers, skills, plugins, CLAUDE.md files, memory, and usage and transcript data, and compares them with the **current** official docs. You get a short, ranked list of fixes for:
- Security: risky standing permissions, secrets baked into rules, missing deny rules, broken hooks, sandbox gaps.
- Cost & context: your measured per-session context baseline, oversized CLAUDE.md files, unused MCP servers, skill-listing overflow, model and compaction settings, and prompt-cache health (hit ratio, 1-hour vs 5-minute cache writes, and mid-session cache rewrites classified by cause: idle gap, model switch, compaction).
- Learning from repeated mistakes: recurring friction and corrections across sessions and projects, turned into the lightest mechanism that stops them (memory → rule → hook → skill), and re-measured on the next run.
- Agent readiness (opt-in:
focus=readiness): whether Claude can set up, run, verify and understand each repo cheaply. See Agent readiness below.
Proposals are applied only when you approve them, with backups and verification.
Install
/plugin marketplace add senzelden/claude-setup-audit
/plugin install setup-audit@claude-setup-audit
Use
Ask naturally ("audit my Claude Code setup", "why is Claude Code so expensive?") or invoke it directly:
/setup-audit:setup-audit focus=security depth=quick mode=audit
| Option | Values | Default |
|---|---|---|
focus |
security, cost, learning, readiness, or weights such as cost:2,readiness:1 |
equal; readiness opt-in |
depth |
quick (local snapshot only) · full (plus docs diff and what's new) |
full |
scope |
global · project · all |
all |
mode |
audit (read-only) · propose (report + diffs, then ask) · apply |
propose |
| ` |
Related Skills
Aisecscan
Static security scanner for Claude Code configuration — settings, permissions, hooks, MCP servers, agents/suba
Agent Config Audit
Audit AI agent configuration files for security risks: risky permissions in .claude settings, secrets and unpi
Claude Code Security Setup
A secure Claude Code setup from Trail of Bits that provides opinionated defaults, documentation, and workflows
Compliance Audit Skill
A Claude skill that audits your codebase for GDPR and EU AI Act compliance and returns a ranked list of fixes.
Security Actions
GitHub Actions for AI agent and supply chain security checks: audit agent configs (Claude Code settings, MCP s
Cost Audit
Per-project Claude Code cost from local transcripts (token usage x API list prices). Read-only; cross-platform
Related Agents
Claude Code Infra
Use PROACTIVELY and automatically — do not wait to be asked — to configure Claude Code itself: sub-agents, ski
Claude Code Currency
Claude Code setup currency expert. Researches the latest official Claude Code config practices (subagents, set
Clauditor
Audits a Claude Code setup (CLAUDE.md, settings.json, skills, agents, hooks, headless claude -p usage) against