LKosoj/cli-proxy — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python Telegram bot that lets me control command line AI agents like Codex, Gemini, Qwen, Claude, and Grok from Telegram.

I want it to support multiple work sessions in different project folders, queue requests so agents don’t overlap, remember sessions after restart, and work in private chats or Telegram group topics. Short replies should come back as normal messages, and long replies should be sent as clean HTML files with markdown, terminal colors, and diagrams when possible.

Add inline menus so I can pick sessions, choose folders, clone a repo, run common git actions, handle merge conflicts, and manage files in the working folder. Include special modes for a planning agent, a manager that breaks work into tasks, a webmaster flow with validation, an admin monitoring flow, and a mapper that builds a codebase map.

Use a config file with Telegram token, allowed chat ids, default workdir, and optional summary settings. Also include webhooks, scheduled jobs, and a setup script for Linux. Look up current Telegram bot docs if needed.

Want more depth? Deep Reverse