AI
How do I run Claude Code from a script without it picking up my local hooks and MCP servers?
Add --bare to claude -p to skip all auto-discovered context (hooks, skills, plugins, MCP, CLAUDE.md, auto-memory). Pass only the flags you explicitly need. --bare is the reproducible mode for CI: the same call produces the same behavior on every runner.