xscope0/aegis ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python CLI that helps me test and organize prompt templates for my own local AI workflows.

I want it to load a persona prompt, package a few reusable prompt patterns, and let me export them as plain text, JSON, or a copy ready format for chat tools. It should also have a simple test mode that sends sample prompts to an OpenAI compatible endpoint, records the responses, and prints a short pass or fail summary so I can compare different prompt versions. If it makes sense, add a loop that can rerun failed tests after tweaking the prompt text.

Please make it work on macOS, Linux, Windows, and Termux if possible, with one easy install script and clear commands to run. Keep the code clean, modular, and easy to extend. If you need current details for any APIs or libraries, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab