verify
Installation
SKILL.md
Verifying the build scripts
The SDK itself is a library (drive it through import claude_agent_sdk), but
the scripts/ directory is a set of CLIs run by the release workflows.
Verify them by running them, not by importing them.
NEVER run the real installer
scripts/download_cli.py shells out to curl https://claude.ai/install.sh | bash
(and the PowerShell equivalent). Running it for real overwrites the claude
binary on the developer's machine. Do not run bash install.sh, and do not
invoke download_cli.py with latest/stable (or any case variant) against
the real network.
Instead, put stub curl / bash / powershell on a temp PATH and drive the
script under env -i with an isolated HOME (so find_installed_cli() cannot
discover the real binary and copy it into src/claude_agent_sdk/_bundled/).