Post to Lemmy from OpenClaw
OpenClaw can publish and schedule posts to Lemmy communities through the Postiz skill. You message OpenClaw with the community, a title, and the body or link, and it calls the Postiz CLI to resolve the community on your instance, build the post, and schedule it across one or several communities.
Please make sure there is always a human in the loop.
Last updated: September 2026
How do you set up OpenClaw to post to Lemmy?
Setup takes three commands: install the Postiz skill, sign in, and confirm OpenClaw lists it as eligible. After that you talk to OpenClaw in plain language and it runs the Postiz CLI for Lemmy.
Setup once, then just ask
# Install the Postiz skill (ClawHub or the skills CLI)
openclaw skills install @nevo-david/postiz
# or: npx skills add gitroomhq/postiz-agent
# Sign in (OAuth2 device flow) or use an API key
postiz auth:login
# or: export POSTIZ_API_KEY=your_api_key
# Confirm OpenClaw can see the skill
openclaw skills list --eligible
# Then just ask OpenClaw from any chat app:
> Post our release notes to the selfhosted
community on Lemmy as a link post, 9am
OpenClaw: Done! Your Lemmy post is scheduled for 9:00 AM.Lemmy-Specific Features
Community Posting
Post directly to any Lemmy community. Target specific communities by name and ID for precise content distribution.
Link Posts
Share URLs alongside your post content. Perfect for sharing articles, resources, and external content with your communities.
Federated Network
Reach users across the entire fediverse. Your posts on one Lemmy instance are visible to federated instances automatically.
Cross-Community Posting
Post to multiple Lemmy communities in a single request. Share content across related communities to maximize reach.
Custom Titles
Set unique titles for each community post. Tailor your headlines to match the culture and expectations of each community.
Scheduled Posting
Schedule posts with precise timestamps. Plan your community engagement ahead of time and post at peak activity hours.
How does posting to Lemmy from OpenClaw work?
You describe what you want in plain language and OpenClaw handles the Postiz calls for you. Here is how a typical conversation goes.
Find Your Lemmy Integration
Ask OpenClaw whether your Lemmy account is connected. It also checks which options the platform supports.
Example conversation
> Is my Lemmy account connected to Postiz?
OpenClaw: Yes — your Lemmy account is connected
and ready. Want me to post something?Choose Your Communities
Identify the Lemmy communities you want to post to. Each community requires a name, ID, and a post title. You can optionally include a URL for link posts.
Example conversation
> Draft a Lemmy post about our new
feature launch
OpenClaw: Here's a draft for Lemmy:
"We just shipped something big..."
Want me to add media and schedule it?Create Your Post
Schedule a Lemmy post with your content, target communities, and optional link URL. Posts can target one or multiple communities at once.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
OpenClaw: Done! Scheduled on Lemmy for
tomorrow at 9:00 AM.Lemmy Settings Reference
Mention any of these in plain language and OpenClaw sets them for you. These are the Lemmy options it can apply to any post.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "lemmy" |
subreddit | array | Array of community objects: [{value: {subreddit, id, title, url?}}] |
subreddit[].value.subreddit | string | Community name (min 2 characters) |
subreddit[].value.id | string | Community ID on the Lemmy instance |
subreddit[].value.title | string | Post title (min 2 characters) |
subreddit[].value.url | string | Optional URL for link posts |
Common Configurations
Ask OpenClaw for any of these common Lemmy posting scenarios and it applies the matching settings.
Simple Text Post to One Community
Just ask
> Post it with: Simple Text Post to One Community
OpenClaw: Got it. Applying:
subreddit: {'subreddit': 'technology', 'id': 'comm-123', 'title': 'Interesting discussion on AI agents'}Link Post with URL
Just ask
> Post it with: Link Post with URL
OpenClaw: Got it. Applying:
subreddit: {'subreddit': 'opensource', 'id': 'comm-456', 'title': 'New open-source social media tool', 'url': 'https://github.com/gitroomhq/postiz-app'}Cross-Post to Multiple Communities
Just ask
> Post it with: Cross-Post to Multiple Communities
OpenClaw: Got it. Applying:
subreddit: {'subreddit': 'technology', 'id': 'comm-123', 'title': 'AI-powered social media automation'}, {'subreddit': 'selfhosted', 'id': 'comm-789', 'title': 'Self-host your social media scheduler'}, {'subreddit': 'opensource', 'id': 'comm-456', 'title': 'Open-source alternative to Buffer'}What is OpenClaw?
OpenClaw is the open-source personal AI agent with 145k+ GitHub stars. It runs locally on your machine, connects through apps you already use, and takes real actions on your behalf.
Works Where You Are
Message OpenClaw from WhatsApp, Telegram, Slack, Discord, Signal, iMessage, or 10+ other platforms. No new app to learn.
Skill-Based Architecture
OpenClaw extends its abilities through Skills — lightweight plugins defined in Markdown files. Postiz is available as a skill on ClawHub.
Proactive Automation
Schedule recurring tasks with cron jobs. OpenClaw can post your Lemmy content on a schedule without you having to ask each time.
How Postiz Becomes an OpenClaw Skill
When you install Postiz Agent globally, OpenClaw automatically discovers it by reading the bundled SKILL.md file. This file tells OpenClaw what commands are available, what environment variables are needed, and how to compose Lemmy posts with the right settings.
- ✓Install from ClawHub with one command: openclaw skills install @nevo-david/postiz
- ✓OpenClaw reads the SKILL.md and learns all Postiz commands
- ✓Run openclaw skills check to confirm the postiz binary and credentials are in place
- ✓Skills are loaded on-demand, keeping the agent context clean
- ✓Works with any LLM backend: Claude, GPT, Gemini, Llama, and more
Install from ClawHub
# Install the Postiz skill from ClawHub
openclaw skills install @nevo-david/postiz
# Or with the skills CLI
npx skills add gitroomhq/postiz-agent
# Sign in with OAuth2 (or set POSTIZ_API_KEY)
postiz auth:login
# Verify OpenClaw sees it
openclaw skills list --eligible
openclaw skills checkLemmy Posting with OpenClaw
Message OpenClaw from any platform — it reads the Postiz skill, discovers your Lemmy integration, and handles the entire posting workflow autonomously.
From Any Chat App
WhatsApp, Telegram, Slack, Discord...
Send a message to OpenClaw from your favorite chat app. It runs as a persistent daemon on your machine, so it picks up your message, discovers your Lemmy account via Postiz, composes the post, and publishes it to your chosen communities.
WhatsApp / Telegram
You: Post to the technology and
opensource communities on Lemmy about
our new release, link to the blog post
OpenClaw: Got it! Here's what I'll do:
1. Find your Lemmy integration
2. Post to technology & opensource
3. Include link to blog post
4. Schedule for now
Done! Your Lemmy posts are live.
Post ID: abc-123Scheduled & Proactive
openclaw automations for recurring content
OpenClaw automations run on cron expressions in an isolated session and can announce results to a chat channel. Create one that drafts and schedules your Lemmy content through Postiz, so nothing waits on a manual trigger.
openclaw automations (cron)
openclaw automations create "0 9 * * 1-5" \
"Check ~/content/lemmy for a new post, resolve the target community ID through Postiz, and schedule it with a title for 9am." \
--name "Lemmy daily post" \
--session isolated \
--announce --channel telegram \
--to "<your chat id>"
# openclaw cron is an alias for the same commandWhy OpenClaw + Postiz for Lemmy
OpenClaw's skill system makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for Lemmy workflows.
- ✓Message from WhatsApp to post to Lemmy — no terminal needed
- ✓Cron jobs for hands-free daily community engagement
- ✓Structured JSON output lets OpenClaw verify each step succeeded
- ✓Cross-post to multiple communities in a single conversation
- ✓Share links and articles across the fediverse effortlessly
- ✓Model-agnostic — works with Claude, GPT, Gemini, or open-source LLMs
SKILL.md (auto-discovered)
---
name: postiz
description: Postiz is a tool to schedule
social media and chat posts to 28+
channels ...
homepage: https://docs.postiz.com/public-api/introduction
metadata: {"openclaw":{"emoji":"🌎",
"requires":{"bins":[],"env":["POSTIZ_API_URL"]}}}
---
# Essential Commands
- postiz auth:login
- postiz integrations:list
- postiz integrations:settings <id>
- postiz integrations:trigger
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>
# Lemmy settings
subreddit[] (subreddit, id, title, url)Also Works with Claude Code
Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Anthropic's Claude Code, which has its own guide for posting to Lemmy from Claude Code.
Claude Code
by Anthropic
Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your Lemmy integration, composes your post with the right community settings, and schedules it.
Claude Code
> Post an article about our new release
to the technology and opensource
communities on Lemmy
Claude: Done! Scheduled on Lemmy for
tomorrow at 9:00 AM.Lemmy + Other Platforms
Schedule the same content to Lemmy and other platforms in a single request. Each platform gets its own settings.
Example
> Post "Excited to announce our new feature!" to
Lemmy and LinkedIn tomorrow at 9am, then schedule
a daily tip on Lemmy every weekday at 10am
OpenClaw: Done! Scheduled:
- Lemmy + LinkedIn: tomorrow 9:00 AM
- Daily tips on Lemmy: Mon-Fri 10:00 AMWhat can you ask OpenClaw to do on Lemmy?
These are real messages you can send OpenClaw from WhatsApp, Telegram, Slack, or Discord. OpenClaw maps each one to the right Postiz command and Lemmy settings.
Link post
Send to OpenClaw
> Post our changelog to the selfhosted community on Lemmy as a link post at 9am with the title "Postiz 2.1 released".Multi-community
Send to OpenClaw
> Post this guide to the opensource and programming communities on my Lemmy instance at 10am.Reddit and Lemmy
Send to OpenClaw
> Post the same announcement to r/selfhosted and the Lemmy selfhosted community tomorrow morning.Lemmy rules OpenClaw has to follow
Postiz enforces these Lemmy constraints when OpenClaw creates a post. Knowing them up front avoids a failed request.
- ✓Each community needs a name, its ID on your instance, and a post title of at least two characters. OpenClaw resolves the ID through Postiz.
- ✓Add a url when you want a link post. Without it the post is a text post.
- ✓Lemmy is federated. Posts go through the instance your account lives on and propagate to others over time.
- ✓The setting is called subreddit in Postiz for compatibility with Reddit, but it refers to Lemmy communities.
OpenClaw and Lemmy: frequently asked questions
How do I post to Lemmy from OpenClaw?
Install the Postiz skill in OpenClaw, run postiz auth:login, and connect your Lemmy account in Postiz. Then message OpenClaw with the community, title, body or link, and time. OpenClaw resolves the community ID and schedules the post with postiz posts:create.
Can OpenClaw post to several Lemmy communities at once?
Yes. The community setting is an array in Postiz, so one request can target multiple communities each with its own title and optional link. Ask OpenClaw to post to two or three communities and it builds one entry per community.
Why does the Lemmy setting say subreddit?
Postiz reuses the subreddit field name from its Reddit integration because Lemmy communities work the same way. When OpenClaw fills subreddit[].value.subreddit for Lemmy, it is the community name on your instance. The behavior is Lemmy-native despite the label. Say "community" and OpenClaw understands.
Does OpenClaw need Lemmy API credentials?
No. Postiz holds the login to your Lemmy instance, and OpenClaw only runs the Postiz CLI. You authenticate OpenClaw with postiz auth:login or a Postiz API key, so no Lemmy password or JWT is stored in OpenClaw. Revoke the connection from Postiz at any time.
Can OpenClaw mirror my Reddit posts to Lemmy?
Yes. Ask for both platforms in the same request and OpenClaw creates a Postiz post with a Reddit entry and a Lemmy entry, each with its own title and flair or community. You can also automate it with an OpenClaw cron job.
Related OpenClaw guides
The same Postiz skill covers every platform below. Start from the OpenClaw social media hub for install steps and the full list.
Start posting to Lemmy
Install Postiz Agent and automate your Lemmy community engagement with AI-powered scheduling and publishing.
Ready to get started?
Grow your social media presence with Postiz.
Schedule, analyze, and engage with your audience.
Agentic social media scheduler (cloud / open-source)
AI Agents