sigoden/aichat ? reverse-engineered prompt
Reverse engineered prompt
Build me a terminal based AI assistant that feels great to use from the command line.
I want to be able to chat with it in a normal REPL, ask it to turn plain English into shell commands, and also run one off prompts directly from the command line. It should support sessions so conversations can keep context, and it should let me load in local files, folders, pasted text, or a URL so I can ask questions about real documents and code. I’d also like a way to define different roles or presets for common tasks, plus an easy way to bundle repeat steps into macros.
If possible, make it work with popular AI providers like OpenAI, Claude, Gemini, Ollama, and other compatible APIs, and include a simple local server mode so the same tool can be used through a browser or as an API. Keep the setup straightforward, make it feel polished in the terminal, and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit