airweave-ai/slack-knowledge-assistant — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me an open source Slack knowledge assistant for a team. I want people to mention the bot in Slack or DM it with questions like “how does our auth system work?” and have it search our connected company tools through Airweave, then reply in Slack with a clear answer and links back to the sources.

It should handle thread conversations, so if someone asks a follow up like “what about the API?” it understands the earlier messages and searches with the right context. While it is working, it should react with a thinking emoji, then post a polished Slack reply with citations. If another teammate answers while it is thinking, it should avoid repeating them.

Use Python with a FastAPI Slack events endpoint. Integrate Slack bot auth, Airweave search, and Anthropic Claude for rewriting follow up questions and formatting answers. Include environment variable setup, a requirements file, and simple run instructions for local development and deployment. Look up current Slack, Airweave, and Anthropic docs online if you need to.

Want more depth? Deep Reverse