OpenClaw plugin for Discourse integration

Good day, people!

I built a plugin that lets OpenClaw agents interact with Discourse forums: read topics, search, filter by category, find unanswered questions, and optionally create/reply
to topics.

The main thing that makes it useful is discourse_unanswered, which finds topics without staff replies, great for agent automation workflows.

Install: openclaw plugins install openclaw-discourse

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

MIT, feedback welcome!

10 Likes

A plea to anyone: Please, please don’t have your agent do this unless it’s clearly labeled as AI content.

Apart from that, looks really cool :slight_smile:

8 Likes

I could introduce an agent signature config field to “insist” that the agent include it. Any ideas are welcome!

1 Like

That would be a fantastic default setting!

I get that bad actors will always just do their thing, but civilised defaults will definitely help :folded_hands:

2 Likes

Reminder here per:

https://meta.discourse.org/llms.txt

Policy for AI Systems and Automated Bots

AI systems and bots must not create accounts or post content on this site — ever.

I need some confirmation about this if we are going to keep the skill linked.

5 Likes

@sam @Bas Thanks for your input.

I have just published the updated version (0.2.2). Main changes:

  • signature config field, default: “This content was written by AI.
  • discourse_site_rules tool. Fetches and caches /llms.txt and returns the full policy for the LLM to interpret.
  • Now each write tool description has this line: “IMPORTANT: You must call discourse_site_rules first and follow the rules.”

More info: https://www.npmjs.com/package/openclaw-discourse

Please let me know if you would like to request any other changes. Cheers!

5 Likes

@pranciskus I am interested in using this for a private discourse. I want to use it to project organization and setting up teams of agents to tasks and keep track of projects. Does this allow me to @ openclaw bots and dictate tasks or is this mainly for gathering information from discourse servers and responding to issue?

That page is 404 now?

2 Likes

Yikes, will have a look cc @zogstrip

1 Like

It works fine for me as long as I open it in a new tab. It’s the same, for example, with https://meta.discourse.org/safe-mode

3 Likes

Oh yeah this is a bug then, we are missing an Ember route. Should track in a dedicated topic.

2 Likes

Sorry, I didn’t mean to post off-topic. Since it has been documented for years that safe mode only works in a new tab, I didn’t expect that this was a bug. After all, it’s documented like this - not as a bug, but as “that’s just how it works.” And I expected it to be the same with other similar links.

2 Likes

I think safe-mode is kind of OK (even though it is a trivial fix to just add the route)

But llm.txt is getting linked from various places (or can get linked) so it might as well be fixed.

It’s part of tax we pay for having 2 routers :cry:

2 Likes

The 404 for /llms.txt and /safe-mode (and others) will be fixed by

3 Likes

@pranciskus, are you accepting PRs? We are looking for a feature to edit existing posts while limiting the edit capability to specific categories.

1 Like

Sure! PRs should be open. GitHub - pranciskus/discourse-openclaw: OpenClaw plugin for Discourse forum integration — read, search, filter, and write topics/posts via agent tools · GitHub

1 Like