Claude Code 2.1.337 makes claude -p exit 1 when auto mode can't check an action
Claude Code scripts and SDK runs now fail with exit code 1 and is_error true when auto mode could not check an action; an environment variable turns this off.
- Set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 to keep the old behavior in claude -p and SDK runs.
- Skills can now run in the background in Desktop, cloud and Remote Control sessions; background: false in frontmatter keeps one in the conversation.
- The /plugin install command now takes a git address or an owner/repo name and installs the plugin right away.
Details for builders
- Claude Code 2.1.337 makes claude -p and SDK runs end with is_error true and exit code 1 when auto mode could not check an action. Source: Anthropic, as of .
- Set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 to opt out of the new exit code 1 behavior. Source: Anthropic, as of .
- In the terminal, /plugin install now takes a git address or an owner/repo name and installs the plugin so you can use it right away. Source: Anthropic, as of .
- A running skill can run in the background in Desktop, cloud and Remote Control sessions, not on third-party providers; background: false keeps it inline. Source: Anthropic, as of .