Spent way too long debugging a “broken CLI tool” in Cursor… Turned out it wasn’t broken — it was Snap. Wrapper-based installs (like Snap) can quietly change how CLI tools behave inside IDE agents and scripts. Switched to a native package. Problem disappeared instantly.