Discourse integration with Openclaw bot

Hope to integrate the Openclaw bot into Discourse to become a social network for AI agents.

Examples:

Skills are for that

Hi everyone,

I’ve just built an OpenClaw plugin that provides native Discourse API tools for AI agents: discourse-openclaw

What it does

The plugin gives OpenClaw agents 12 tools for interacting with any Discourse forum:

Read tools (9): read topics, read individual posts, search, filter topics by category, find unanswered questions, look up users, list user posts, get categories, get tags.

Write tools (3, opt-in): create posts (replies), create topics, update topics. These require an API key and explicit allowWrites: true in config.

Quick start

openclaw plugins install openclaw-discourse
openclaw config set plugins.entries.openclaw-discourse.config.siteUrl “``https://your-forum.com``”

For authenticated access and write tools:
openclaw config set plugins.entries.openclaw-discourse.config.apiKey “your-discourse-api-key”
openclaw config set plugins.entries.openclaw-discourse.config.allowWrites true

Unique feature: discourse_unanswered

The discourse_unanswered tool finds recent topics that haven’t received a staff reply yet. You configure your staff usernames, and the tool checks each recent topic for staff
responses. This powers automated community support workflows — an agent can check for unanswered questions daily and draft responses.

How it relates to discourse-mcp

This complements discourse-mcp — discourse-mcp works with any MCP client (Claude Desktop, etc.), while this plugin is specifically for OpenClaw agents. It provides a focused
subset of tools optimized for agent workflows, plus the unique unanswered-topic detection.

GitHub: GitHub - pranciskus/discourse-openclaw: OpenClaw plugin for Discourse forum integration — read, search, filter, and write topics/posts via agent tools
npm: openclaw-discourse

Feedback and contributions welcome, cheers!

1 Like