tool
Claude Code config checker
Drop CLAUDE.md, .claude/settings.json, settings.local.json and .mcp.json, or a whole .claude/ folder. It lists inline secrets, home-directory paths, over-broad permissions, broken hooks, duplicate skills and unpinned MCP servers by severity, with a one-line fix for each.
Choose files
Your files never leave this device: everything is read in this tab, inside a Web Worker; you can verify this in the Network tab. The only requests that send data are Cloudflare’s cookieless page-view counts (/cdn-cgi/rum); they carry no file content. The report never shows a secret’s value, only its type and where it is.
Drop the files or your repository folder here
Best is to choose the repository’s root folder: then it can also check that hook scripts exist and that settings.local.json stays out of git. Only the relevant files are read (CLAUDE.md, .mcp.json, .claude/, .gitignore, .git/index, scripts); for everything else only the name is listed. The demo is synthetic: a made-up repository with deliberate mistakes.
Or paste the text
Which file is it?
Loaded files
Summary
Findings
None of the rules found anything in these files. That does not mean the setup is clean; what it does not look at is listed below.
The rules, and why they matter
- high Inline secret
secret-inline - It scans the
envvalues in settings files, MCP servers’env,headersand arguments, scripts and Markdown files: known token formats (Anthropic, OpenAI, GitHub, GitLab, Slack, AWS, Google, Stripe, npm, Hugging Face, PEM private keys, JWTs, URLs with a password, Bearer) and a literal value in a variable whose name says secret (TOKEN,SECRET,API_KEY,PASSWORD…). These files often end up in the repository, and the agent reads them in every session; a key in them is the key of everyone who can see the repository. A reference such as${VAR}is not counted. - high / low Permission checks switched off
dangerous-flag - In scripts, CI workflows and settings:
--dangerously-skip-permissions,--permission-mode bypassPermissions,"defaultMode": "bypassPermissions"(and Codex’s--dangerously-bypass-approvals-and-sandbox). With these the agent runs every tool without asking, including when an instruction comes from a file or a web page it read. Claude Code v2.1.257 and later ignores"defaultMode": "bypassPermissions"(andauto) in a project’s.claude/settings.jsonorsettings.local.json; it applies them only from user or managed settings or--permission-mode. The value in a project file is therefore listed as low (older versions apply it there too). Asettings.jsongiven on its own stays high, since it may be the user-level file. Mentions in Markdown are not counted, because a rule that says “never use it” mentions it too. - high / medium Over-broad permission
allow-broad - In
permissions.allow: a bareBashorBash(*); a wildcard on commands that can run any code (Bash(python3:*),Bash(npx:*),Bash(sudo:*)…); a wildcard on commands that delete or cannot be undone (Bash(rm:*),git push --force…) are high; a wildcard on commands that reach the network or change the system (curl,ssh,docker,git push…) and aWebFetchopen to every site are medium. A single fully spelled-out command is not counted. The allow list is the list of what the agent may do without asking. - high / low
settings.local.jsonin the repositorylocal-settings-committed - This file is personal: one-off approvals, local paths and sometimes secrets pile up in it. High when
.git/indexis given and the file is tracked there; low when the repository root is given and neither.gitignorenor.git/info/excludeexcludes it. The first time Claude Code writes this file it adds**/.claude/settings.local.jsonto your global git excludes file (~/.config/git/ignoreorcore.excludesFile) itself, and that file cannot be seen from here. If you created the file by hand, adding it to.gitignoreis up to you. - medium Home-directory path
home-path - Absolute paths that start with
/Users/…,/home/…orC:\Users\…. They leak a user name and break the repository on any other machine. The report shows only the user name’s first letter. - medium Missing hook script
hook-missing-script - A script that a hook runs is not in the chosen folder. Checked only when a folder is given and the script’s directory is inside it;
~/or absolute paths cannot be seen from here. A missing script fails every time the event fires, and the guard it was meant to be never runs. - medium / low Hook script that does not look runnable
hook-not-executable - The hook script is called directly (no
bashorpython3in front) but.git/indexsays it is not executable (medium), or it is a Python, Node, Ruby, Perl or PHP script whose first line has no#!(low). A shell script without#!is fine: the shell runs it itself. A browser cannot see file permissions; the mode comes from git only. - medium Unpinned MCP server
mcp-unpinned - Servers started without an exact version, like
npx -y packageoruvx package(@latestand^1.2do not count as pinned). Every start downloads whatever was published last and runs it with your permissions; if the package is taken over, so are you. - medium Every project MCP server auto-approved
mcp-auto-approve "enableAllProjectMcpServers": true: any server someone adds to the repository’s.mcp.jsonstarts without asking.- medium / low Duplicate skill, subagent or command
duplicate-skill,near-duplicate-skill - Two skills or subagents with the same name: if their contents differ, which one applies is unclear (medium); if they are identical, one is dead weight (low). Different names with almost the same text (80% or more similar by word triples) are listed as low too: the model picks between them by their descriptions.
- low Long allow list
allow-count - More than 50 allow rules in one settings file. The threshold is arbitrary; but nobody rereads a list that long, and one-off approvals pile up in it.
- low Many MCP servers
mcp-count - More than 10 MCP servers in one file. Most servers connect when the session starts, and each one widens what the agent can reach. Tool search, on by default, loads full tool definitions only when needed; at the start only tool names and server instructions enter the context. With tool search off, every definition loads up front. The threshold is arbitrary.
- medium / low CLAUDE.md size
claude-md-size - A rough token estimate for the CLAUDE.md files loaded at launch (
CLAUDE.md,CLAUDE.local.mdand.claude/CLAUDE.mdat the project root): characters divided by 4. Low from 4,000, medium from 10,000. These files enter the context at the start of every session; every line in them is paid for on every turn. CLAUDE.md files in subdirectories load only once Claude touches a file there; they are counted separately and not against the threshold. Files under.claude/rules/are not counted, although the ones withoutpathsfrontmatter load at launch too. Anthropic suggests staying under 200 lines per file. - low Repetition in CLAUDE.md
claude-md-duplicate - Two sections whose text is largely the same (60% or more by word triples), or lines of 24 characters or more that appear in more than one place. Two copies drift apart over time, and the model ends up with two rules that disagree.
- medium Unreadable JSON
json-parse - A settings or MCP file does not parse as JSON. The report gives only the line and column; the parser’s message is not shown, because it can quote the text around the error, which might be a secret. Claude Code cannot use a settings file it cannot parse.
Its limits
Every rule is a heuristic: regular expressions and simple counts. The secret scan catches known formats and naming habits; it misses a key with an ordinary name and an unknown format, and it can mistake a harmless random-looking value for a secret. The rules follow Claude Code’s file formats as they are today; Anthropic can change them, and then a rule may quietly stop finding anything. User-level ~/.claude/ settings, enterprise managed settings and a global gitignore are not taken into account unless you give them too. .claude/rules/ files are not read; the ones without paths frontmatter load at launch, yet they are left out of the CLAUDE.md size estimate.
What it does not look at: your application code, your session transcripts (the Flight Recorder is for those), what a hook actually blocks, whether a skill is ever used, and your token spend. Those take measuring, reading and a conversation.
To go through a whole team’s setup together: Agent Ops. Run this checker first, then book the free 30-minute pre-review; we start the call with what it could not find.
Unofficial tool; not affiliated with Anthropic.