settings-effective
Skill1 starsChanged 2 months agoMITView on GitHub
Show the merged Claude Code settings actually in effect and which file decided each key - managed policy, --settings, .claude/settings.local.json, .claude/settings.json, ~/.claude/settings.json and ~/.claude.json - and name the reasons a setting is not applying. Runs from any agent; it inspects Claude Code's files. Use this whenever the user says a Claude Code setting isn't working or isn't taking effect, asks why they are still being prompted for a tool they allowed, asks which settings file wins or where a value is coming from, asks what a settings key does or where it goes, wants their settings files checked for typos or keys in the wrong file, asks whether a project is trusted, or wants to see all their hooks, permission rules or env in one place. Also use it after you edit any settings.json yourself, to confirm the key landed where it applies.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Londopy/settings-effectiveword for word, first seen Sep 19, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Londopy/settings-effective★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- git-attributionSkill
- mcp-rollcallSkill
- skill-rollcallSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
Run it from the project directory the user means.
- Very specific: line 75
When the fix is "move the key to another file", say which file and whether it needs a restart.
- Very specific: line 80
If you edited a settings file yourself this session, rerun with --key <the key> and quote the row back.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
settings-effective
Claude Code merges up to six settings sources at startup and again on every file change,
and shows the result to nobody: /status lists which files loaded, /permissions and
/hooks each show one slice, and nothing prints a key with the file that decided it.
The failure modes are all silent - a key in a file whose scope does not allow it, a
project value overriding the user value you just edited, an allow rule losing to an
ask rule from another file, a typo'd key, a file with a stray comma that the harness
skipped whole. This skill prints the merged result with provenance and lists those
reasons.
The script is scripts/effective.py next to this file - run it from wherever this skill
was installed (~/.claude/skills/settings-effective/, ~/.agents/skills/settings-effective/,
~/.cursor/skills/..., or a project's .agents/skills/). Stdlib-only Python 3.10+ and
read-only, always. It carries the docs' settings index (231 keys with the scope each may
be set from); the date is printed in the header and docs/update_index.py refreshes it.
Which host
The subject is always Claude Code's settings: that is the merge with six layers and
scope rules worth making legible. You can run it from Codex, Cursor or Gemini CLI - a
machine with several agents still has one Claude Code configuration to debug - and the
header's host line then says which agent you are and that its own config
(~/.codex/config.toml, Cursor's settings, ~/.gemini/settings.json) is a different
merge this tool does not read. For those hosts' MCP servers use mcp-rollcall; for
their skills, skill-rollcall. If the user asks about a Codex or Cursor setting, say
so plainly rather than running this.
Pick the mode from what the user asked
| The user says | Run |
| "my setting isn't working", "why is X still on" | default, then look at findings |
| "why am I still being asked", "I clicked don't ask again" | --key permissions |
| "what hooks are running", "where is this hook from" | --key hooks |
| "which env vars is Claude getting" | --key env |
| "what does X do", "where do I put X" | --explain X |
"check my settings files" / before committing .claude/settings.json | --problems-only, or --strict in CI |
"what would --settings foo.json change" | --settings foo.json |
--project DIR when they mean another project (it walks up to the nearest .claude/
like the harness does). --full itemizes every list; --json for processing.
Steps
- Run it from the project directory the user means. The header lists each layer as
loaded,absentorSKIPPED; aSKIPPEDline names the JSON error, and that file contributed nothing - lead with that if it is the file they just edited.trustsays whether~/.claude.jsonrecords the folder as trusted; until it is, projectpermissions.allow,envandextraKnownMarketplacesdo not apply. - Answer the question first. If they asked about one key, find its row: the value in
effect and the layer that set it. Then the findings for that key, in this order:
- IGNORED - the key is in a file whose scope does not allow it. The message names the files that do. This is the most common "I set it and nothing happened".
- warn - a typo'd key (with a did-you-mean), an
allowrule that adenyoraskelsewhere outranks, a project rule waiting on trust,disableAllHooksmaking the hooks list moot, bypass mode requested but disabled by policy. - note - a value shadowed by a higher layer (both values are shown), a
security key where a stricter lower value is honored over managed (that one is
working as designed; say so), an
envvar also exported in the shell, a key the harness reads only at startup (model,effortLevel,modelSettings) which an edit does not change mid-session -/modeland/effortdo.
- When the fix is "move the key to another file", say which file and whether it
needs a restart. Keys in
permissions,hooksandenvhot-reload; the restart-only ones are listed above. A managed value cannot be overridden from any file the user owns; tell them which managed source it is and stop there. - If you edited a settings file yourself this session, rerun with
--key <the key>and quote the row back. That is the confirmation; do not assume the edit applied.
Related, not overlapping
/status says which files loaded; /permissions and /hooks show and edit their own
slices; /config writes user-level keys; claude doctor reports files the harness
dropped. None of them show a merged key with its source, or tell you a key is in a
file that cannot set it. skill-rollcall does the same job for skills.
What this cannot do
It reads files; it does not ask the running harness what it loaded, so a managed
source delivered by MDM or the claude.ai console rather than a file is not seen, and
/status is the authority there. It does not resolve any other agent's settings -
Codex's config.toml layers, Cursor's or Gemini's - only Claude Code's. Its merge rules come from the docs, not the harness
source, so a key with bespoke merging the docs do not describe may be shown per-leaf
when the harness treats it whole. modelSettings is resolved per model by the harness
and shown per leaf here. And the index is a snapshot: a key newer than its date shows
as "not a known settings key" until docs/update_index.py is rerun.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

