Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

New hidden --instruction-dirs launch option for SDK use

A hidden --instruction-dirs flag lets SDK hosts choose which added directories load instruction files such as CLAUDE.md

Group of 2 Use it now Notable New Features
JSON All of v2.1.333
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
CLIArea: what it touches
New FeaturesKind: in v2.1.333,
What probably matters to youSection of the release

Unclear What --instruction-dirs does and what it expects as a value is not known.

What

A flag is an option you add when starting Claude Code from the command line. Claude Code now accepts a hidden flag, --instruction-dirs, meant for the SDK only. The SDK is the toolkit programs use to run Claude Code for you.

  • --instruction-dirs takes a JSON list of absolute folder paths. Claude Code loads instruction files from those folders.
  • A path only counts if it is also an added directory, meaning a folder you have already given Claude Code access to. A path that is not an added directory loads nothing.
  • Claude Code rejects the value unless it is a list of absolute paths written as text with no NUL bytes. A NUL byte is an invisible zero character.
  • The flag sits in the same list as --metadata, --forward-home-settings and --project-config-root.

Why

A program that runs Claude Code through the SDK can now pick which of its added directories supply instruction files, such as CLAUDE.md, instead of having all of them or none of them do so.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat `--instruction-dirs` does and what it expects as a value is not known.

See this entry in the whole of v2.1.333 →

Feedback