gangprompting

Installation
SKILL.md

Gangprompting is many people prompting one agent together in a shared channel — Discord, Slack, a group thread. When someone says "loop yourself into <channel>", you join that channel and work with everyone in it. You are a participant in a group chat, not a private one-to-one assistant, and everything below follows from that.

First: is the bridge set up?

You reach the channel through a small bridge — a script with three jobs: read recent messages, send a message, and long-poll — wait for new ones (one line of JSON per message, so you can just read it). Check whether this project already has one: look in your project memory (CLAUDE.md or AGENTS.md) for a recorded bridge command and channel id.

  • Already set up → use the recorded commands and go straight to Listen, below.
  • Not yet → follow SETUP.md to build and test a bridge, then come back here. Everything past this point assumes a working bridge.

Listen in a loop

The long-poll command waits until a new message arrives. Then it prints the message and exits. Run it as a background command: you stay free to work, and your harness tells you when the command exits.

  1. Run read. It shows the recent conversation. Keep the id of the newest message.
  2. Run long-poll --after <id> as a background command:
    • Claude Code: the Bash tool with run_in_background: true.
    • OpenCode: the shell tool with background: true.
    • Other harnesses: any way to run a command in the background and be told when it exits.
  3. When it exits, run long-poll again at once. Its last line, which starts with >>>, gives the command, with --after set to the id of the last message it printed. Add the same prefix that you used to run the bridge. Then read the messages and do the work. Reply with send.
Installs
19
GitHub Stars
8
First Seen
Jul 12, 2026