clharman/afk-code ? reverse-engineered prompt

Reverse engineered prompt

Build me a small command line app that lets me talk to a local Claude Code session from my phone through Telegram, Discord, or Slack.

I want to be able to run one command to set up each chat service, then start a bot that connects to a Claude session in my terminal and relays messages both ways. Each Claude session should create its own chat channel or thread, and I should be able to list sessions, switch between them, compact the conversation, interrupt Claude, toggle mode, and change the model from chat. If Claude mentions an image file, upload it into the chat automatically.

Please make the setup feel simple, with clear prompts for the tokens and user IDs each service needs. Telegram should let me switch sessions, and the app should work with multiple sessions where possible. Keep it runnable from the terminal with Node 18 plus, and include a nice help command so I can see the available commands quickly.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab