opencode-ai/opencode ? reverse-engineered prompt
Reverse engineered prompt
I want to build a powerful AI coding assistant that runs right in my terminal. It should have a really polished and interactive interface, something clean and modern looking, maybe using Go and the Bubble Tea library.
The main idea is to connect it to different AI providers like OpenAI, Anthropic's Claude, and Google Gemini using their API keys. The agent should be able to actually do work for me, not just chat. It needs to execute shell commands, search through my project files, and suggest code changes that I can review and approve. It should be really clear about what files it's changing.
It also needs to save my conversation sessions so I can pick them up later, maybe in a simple SQLite database. A key feature is that it should be smart about long conversations—when a chat gets close to the model's token limit, it should automatically summarize the history to maintain context and keep going.
Are you gonna build this?
make sure you review the code using coderabbit