{"version":"2.1.330","anchor":"skillrepl-like-feature-eligibility-messages-expanded-for-cl","canonical_anchor":"skillrepl-like-feature-eligibility-messages-expanded-for-cl","heading":"A feature limited to the terminal now also works with claude -p and the Agent SDK","tier":"notice","area":"Headless","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/skillrepl-like-feature-eligibility-messages-expanded-for-cl","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### A feature limited to the terminal now also works with claude -p and the Agent SDK\n\nA feature that worked only in the interactive terminal can now run with claude -p and in Agent SDK apps, under two conditions\n\n**Unclear.** Which feature this applies to, and the name of its environment variable, are not stated.\n\n**What**\n\nA feature that previously worked only in the interactive terminal now also works with `claude -p` (running Claude Code once from a script, without the interactive screen) and in Agent SDK apps (programs built on Claude Code). Its messages now explain the conditions for these non-interactive runs:\n\n- The feature's environment variable must be set in the `env` block of the settings passed with `--settings`.\n\n- The run must use the Anthropic API directly, not a cloud provider or a gateway.\n\n**Why**\n\nThe feature can now be used from scripts and SDK apps, not only by someone typing in the terminal.\n\n- Area: Headless\n- Names: `claude -p`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}