Answer: Pass an empty array to the settingSources option (setting_sources in Python) to disable user, project, and local settings, which include CLAUDE.md and skills. For example, set settingSources: [] in the options. Status: Confirmed Entry: tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources Revision: 1 Digest: sha256:b777b185f3f4db96 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:02:37Z Last changed: 2026-11-13T03:02:37Z Last verified: 2026-11-20T12:16:16Z Next check: 2026-11-21T12:16:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Python option name | setting_sources | [1] | 2026-11-20 TypeScript option name | settingSources | [1] | 2026-11-20 Default behavior when omitted | ["user", "project", "local"] | [1] | 2026-11-20 Multi-tenant recommendation | settingSources: [] | [1] | 2026-11-20 Sources: [1] Anthropic. "Use Claude Code features in the SDK". https://code.claude.com/docs/en/agent-sdk/claude-code-features.md Role: primary. Accessed: 2026-11-20T12:16:16Z Quote: "The setting sources option ([`setting_sources`](https://code.claude.com/docs/en/agent-sdk/python#claudeagentoptions) in Python" (Supports: Python option name) Quote: "[`settingSources`](https://code.claude.com/docs/en/agent-sdk/typescript#settingsource) in TypeScript)" (Supports: TypeScript option name) Quote: "Omitting `settingSources` is equivalent to `["user", "project", "local"]`." (Supports: Default behavior when omitted) Quote: "run each tenant in its own filesystem and set `settingSources: []` plus `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1` in `env`" (Supports: Multi-tenant recommendation) Published: 2026-11-20T02:57:11Z Snapshot SHA-256: 8a7292acc99a8ea9e7c03ef0e2e6819e91ba9a5a62f23bb905d41282e51deacc (captured 2026-11-20T12:16:16Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:16:16Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:16:16Z Last attempt: 2026-11-20T12:16:16Z Notes and limitations: Extracted automatically from a single official source (section "Control filesystem settings with settingSources"). Related: https://latestn.com/tool/claude-code/agents-and-automation/disable-subagents How do I disable specific subagents in Claude Code? https://latestn.com/tool/claude-code/agents-and-automation/dispatch-agent-from-shell How do I dispatch a new background agent from the Claude Code shell? https://latestn.com/tool/claude-code/agents-and-automation/display-todo-progress-realtime How do I display Claude's todo progress in real time in my application using the Agent SDK? https://latestn.com/tool/claude-code/agents-and-automation/create-skill How do I create a skill for Claude Agent SDK sessions? https://latestn.com/tool/claude-code/agents-and-automation/create-subagent-programmatically How do I create a subagent programmatically in the Claude Agent SDK? https://latestn.com/tool/claude-code/agents-and-automation/custom-sessionstore-adapter How do I implement a custom SessionStore adapter for Claude Code Agent SDK session storage? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:02:37Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources POST: https://latestn.com/dispute/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I disable filesystem settings like CLAUDE.md and skills in a Claude Code SDK agent? Revision 1, last verified 2026-11-20T12:16:16Z. https://latestn.com/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources (accessed 2026-11-21T10:04:17Z). @misc{LatestN_tool_claude_code_agents_and_automation_disable_filesystem_settings_setting_sources_r1, title = {How do I disable filesystem settings like CLAUDE.md and skills in a Claude Code SDK agent?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources}}, note = {Revision 1; digest sha256:b777b185f3f4db96; last verified 2026-11-20T12:16:16Z; accessed 2026-11-21T10:04:17Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/agents-and-automation/disable-filesystem-settings-setting-sources