r/ClaudeCode • u/daiweilu • 5d ago
Tutorial / Guide Interactive config & precedence reference for Claude Code (CLI + Desktop): CLAUDE.md, MCP, Skills, and settings.json
I put together a single-file interactive reference doc for Claude Code (CLI + Desktop) configs because I found it really helpful to have all the file paths, merge rules, and CLI vs. Desktop differences in one place. Sharing it here in case anyone else finds it useful!
- Live doc: https://d6u.github.io/agent-cli-config-guide/ (tip: click the Claude filter at the top to focus purely on Claude Code)
- Source: https://github.com/d6u/agent-cli-config-guide
What's covered for Claude Code:
- Instructions: Managed, User (
~/.claude/CLAUDE.md,~/.claude/rules/), Project,CLAUDE.local.md, lazy subdirs /paths:-scoped rules, andAGENTS.mdfallback - MCP:
managed-mcp.json(exclusive) vs.managedMcpServers(additive), Local / Project / User full-block replacement, and the Desktop local Code tabclaude_desktop_config.jsondelta - Skills & Settings:
Enterprise > Personal > Projectskill precedence,settings.jsonlist merging (permissions.allow,claudeMdExcludes), plus an interactive precedence simulator & macOS/Windows/Linux path toggle
Hope the community finds it helpful—feel free to share feedback or open a PR if anything looks off!
Disclosure: I used AI to help build the page and draft this post, though the ideas and structure are mine and I verified the details against the official docs as thoroughly as I could.
View all comments
•
u/AutoModerator 5d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.