Плагин OpenClaw для интеграции с Discourse

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 лайков

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 лайков

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

1 лайк

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 лайка

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 лайков

@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 лайков

@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?

Эта страница теперь 404?

2 лайка

Ой, посмотрю, cc @zogstrip

1 лайк

Для меня всё работает нормально, если открывать в новой вкладке. То же самое, например, с https://meta.discourse.org/safe-mode

3 лайка

Ага, значит это баг — у нас отсутствует маршрут Ember. Стоит отслеживать это в отдельной теме.

2 лайка

Извините, я не хотел публиковать сообщение не по теме. Поскольку уже много лет документировано, что безопасный режим работает только в новой вкладке, я не ожидал, что это баг. В конце концов, это задокументировано именно так — не как ошибка, а как «так оно и работает». И я ожидал, что с другими подобными ссылками будет то же самое.

2 лайка

Я думаю, что безопасный режим — это в целом нормально (хотя это тривиальное исправление — просто добавить маршрут).

Но llm.txt на самом деле ссылается из разных мест (или может быть на него ссылка), так что его стоит исправить.

Это часть налога, который мы платим за наличие двух маршрутизаторов :cry:

2 лайка

Ошибка 404 для /llms.txt и /safe-mode (и других) будет исправлена в

3 лайка

@pranciskus, вы принимаете PR? Мы ищем возможность редактировать существующие посты, ограничив при этом право редактирования определёнными категориями.

1 лайк

Конечно! PR должны быть открыты. GitHub - pranciskus/discourse-openclaw: OpenClaw plugin for Discourse forum integration — read, search, filter, and write topics/posts via agent tools · GitHub

1 лайк