alecm20/deep-research — reverse-engineered prompt
Reverse engineered prompt
Build me a small command line deep research tool. I want to type in a question like “what is the current state of battery technology and what is blocking commercialization” and have it do a full research pass for me.
It should break the topic into sub questions, come up with search queries, search the web, open useful pages, pull out the important evidence from each source, and then write a final markdown report that includes citations back to the sources it used. Please also save a separate JSON state file with the working details, like the plan, searches, sources, evidence, and logs, so I can inspect what happened.
Make it easy to run from the terminal with a single command and support options for output file, max number of URLs, timeout, search engine, model, and turning cache off. Use environment variables for the API keys and include an example env file. If anything is unclear, look up the current docs online and keep it minimal and usable.
Want more depth? Deep Reverse