fitchmultz/pi-cursor-sdk ? reverse-engineered prompt

Reverse engineered prompt

Build me a pi extension that lets pi use Cursor models through Cursor’s local SDK agent loop, with local runs as the default and an explicit opt in for Cursor Cloud. I want it to feel native in pi, so users can pick Cursor models, switch between fast and plan style modes, see context and thinking controls when they’re available, and keep sessions and replay cards working cleanly. It should also support image input and let pi tools be exposed to Cursor through a local MCP bridge when that’s enabled.

Please make the setup smooth too, with a simple install flow, login for a Cursor API key, model refresh after login, and clear handling for model discovery and caching so startup stays fast. If you need to check the latest Cursor SDK or Pi docs online while building it, do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab