Reverse engineered prompt

Build me a simple tool for managing my own Cloudflare Workers AI account details in one place. I want a command line mode, an interactive terminal mode, and a small local web page so I can either paste one account, load a text file with multiple accounts, or just click through a basic UI.

The app should help me log in to accounts I already own, fetch the account ID, create or validate a Workers AI token with the normal Cloudflare flow, and save the results in a clean file format like account ID plus token. If a login fails, tell me clearly why and keep going with the rest. If useful, support an optional proxy setting and a simple way to choose normal login or Google sign in for my own accounts.

Please keep setup easy, make it run on Windows, Mac, and Linux, and include sensible error handling and a straightforward README. Look up current Cloudflare docs online if you need to.

Want more depth? Deep Reverse