Sousa52/codepilotcli ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python CLI tool called CodePilotCLI that works in the terminal and uses a local Ollama model for AI help, no API keys and no cloud stuff.

I want it to do three things: explain a Python file in simple English, generate a clean git commit message from the current changes, and summarize a whole project in a short useful way. Make the commands feel natural, like codepilot explain somefile.py, codepilot commit, and codepilot summarize.

Keep it simple to install with pip install -e ., and make sure it runs with Python 3.10 or newer. If you need to look up current Ollama docs online, go ahead. The main goal is a lightweight developer helper that is easy to use, fully local, and gives clear human friendly output in the terminal.