doodle top mobile

Post to Lemmy Communities from NanoClaw

NanoClaw can publish and schedule Lemmy posts through Postiz, to one community or several at once. Message NanoClaw from WhatsApp, Telegram, Slack, or Discord with the community, a title, optional link, and a time. It uses the Postiz skill to resolve the community ID on your instance and schedule the post.

Setup GuideGitHub

Please make sure there is always a human in the loop.

Last updated: September 2026

doodle left mobiledoodle right mobile

How do I set up NanoClaw to post to Lemmy?

Setup, then just ask

# 1. Install NanoClaw (once)
git clone https://github.com/nanocoai/nanoclaw.git
cd NanoClaw && bash nanoclaw.sh

# 2. Add the Postiz skill to your NanoClaw fork
npx skills add gitroomhq/postiz-agent

# 3. Authenticate Postiz (OAuth device flow)
postiz auth:login   # or: export POSTIZ_API_KEY=...

# 4. Connect Lemmy in Postiz, then message NanoClaw:
> Post our update to the technology
  Lemmy community tomorrow at 9am

NanoClaw: Done! Your Lemmy post is scheduled.

Which Lemmy features does NanoClaw support?

🏘️

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 do I post to Lemmy from NanoClaw?

You describe what you want in plain language and NanoClaw handles the Postiz calls for you. Here is how a typical conversation goes.

1

Find Your Lemmy Integration

Ask NanoClaw whether your Lemmy account is connected. It also checks which options the platform supports.

Example conversation

> Is my Lemmy account connected to Postiz?

NanoClaw: Yes — your Lemmy account is connected
  and ready. Want me to post something?
2

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

NanoClaw: Here's a draft for Lemmy:
  "We just shipped something big..."
  Want me to add media and schedule it?
3

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

NanoClaw: Done! Scheduled on Lemmy for
  tomorrow at 9:00 AM.

Lemmy Settings Reference

Mention any of these in plain language and NanoClaw sets them for you. These are the Lemmy options it can apply to any post.

FieldTypeDescription
__typestringMust be "lemmy"
subredditarrayArray of community objects: [{value: {subreddit, id, title, url?}}]
subreddit[].value.subredditstringCommunity name (min 2 characters)
subreddit[].value.idstringCommunity ID on the Lemmy instance
subreddit[].value.titlestringPost title (min 2 characters)
subreddit[].value.urlstringOptional URL for link posts

Common Configurations

Ask NanoClaw for any of these common Lemmy scenarios and it applies the matching settings.

Simple Text Post to One Community

Just ask

> Post it with: Simple Text Post to One Community

NanoClaw: 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

NanoClaw: Got it. Applying:
  subreddit: {'subreddit': 'artificial', 'id': 'comm-456', 'title': 'New AI social media scheduler', 'url': 'https://postiz.com'}

Cross-Post to Multiple Communities

Just ask

> Post it with: Cross-Post to Multiple Communities

NanoClaw: Got it. Applying:
  subreddit: {'subreddit': 'technology', 'id': 'comm-123', 'title': 'AI-powered social media automation'}, {'subreddit': 'SaaS', 'id': 'comm-789', 'title': 'Let an AI agent run your social media'}, {'subreddit': 'artificial', 'id': 'comm-456', 'title': 'An agent-first alternative to Buffer'}

What is NanoClaw?

NanoClaw is an open-source AI assistant that runs each agent in its own Docker container and is built on Anthropic's Claude Agent SDK. It was created as a smaller, easier-to-audit alternative to OpenClaw. It connects to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, iMessage, and more, and supports per-group memory and recurring jobs.

📦

Container-Based

NanoClaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.

💬

Multi-Platform Chat

Connect to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, and more. Message NanoClaw from wherever you already communicate.

🧠

Memory & Context

NanoClaw remembers your preferences and past interactions. It learns your posting style and content strategy over time.

How Postiz Works with NanoClaw

NanoClaw discovers Postiz through its skill system. Add the Postiz skill to your NanoClaw fork and the agent reads the SKILL.md to learn every postiz command, then runs them inside its own container when you ask.

  • ✓Install Postiz skill with npx skills add gitroomhq/postiz-agent
  • ✓NanoClaw reads the SKILL.md and learns all Postiz commands
  • ✓Authenticate with postiz auth:login (OAuth device flow) or a POSTIZ_API_KEY
  • ✓Skills are loaded on-demand, keeping the agent context clean
  • ✓Built on Anthropic's Claude Agent SDK, running in an isolated Docker container

Install Postiz

# In your NanoClaw fork: add the Postiz skill
npx skills add gitroomhq/postiz-agent

# Sign in to Postiz (OAuth device flow)
postiz auth:login

# Or use an API key instead
export POSTIZ_API_KEY=your_api_key

# Check the connection
postiz auth:status
postiz integrations:list

Lemmy Posting with NanoClaw

Message NanoClaw from WhatsApp, Telegram, or Slack — it discovers your integrations via Postiz, composes your content, and handles the entire posting workflow from within its container.

🐳

From Any Chat App

WhatsApp, Telegram, Slack, or Discord

Send a message to NanoClaw from your favorite chat app. It runs as a background service in an isolated container, so it picks up your message, discovers your Lemmy account via Postiz, composes the post, and publishes it to your chosen communities.

NanoClaw

You: Post to Lemmy about our new
  feature launch, schedule for tomorrow
  at 9am

NanoClaw: On it! Here's my plan:
  1. Found your Lemmy integration
  2. Composing your post
  3. Scheduling for tomorrow 9:00 AM

  Done! Your post is scheduled.
  Post ID: abc-123
🐳

Scheduled & Proactive

Recurring jobs, requested in chat

NanoClaw supports recurring jobs you request in chat. Set up a recurring job that checks for new content and cross-posts it to your Lemmy communities automatically — no manual trigger needed.

Recurring job (ask in chat)

> @Andy every weekday at 9am, check
  ~/content/posts for new files and
  schedule each one to Lemmy for
  noon. Move posted files to
  ~/content/published.

NanoClaw: Got it. I'll run this every
  weekday at 9:00 AM and schedule the
  posts through Postiz.

Why NanoClaw + Postiz for Lemmy

NanoClaw makes Postiz a natural fit for your Lemmy workflow. The agent discovers all available commands and autonomously chains them together.

  • ✓Message from WhatsApp or Telegram to post to Lemmy — no terminal needed
  • ✓Container-based — easy to deploy, isolate, and scale
  • ✓Built-in memory remembers your content preferences
  • ✓Scheduled jobs for hands-free daily posting
  • ✓Cross-post to Lemmy + other platforms in a single conversation
  • ✓Built on Anthropic's Claude Agent SDK, with each agent group in its own container

SKILL.md (auto-discovered)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms including Lemmy
metadata:
  NanoClaw:
    requirements:
      env:
        - POSTIZ_API_KEY
      binaries:
        - postiz
---

# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# Lemmy Settings
subreddit (array of communities),
each with: subreddit, id, title, url

Does Postiz work with other agents too?

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.

C

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 programming
  communities on Lemmy

Claude: Done! Scheduled on Lemmy for
  tomorrow at 9:00 AM.

Can NanoClaw post to Lemmy and other platforms at once?

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

NanoClaw: Done! Scheduled:
  - Lemmy + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Lemmy: Mon-Fri 10:00 AM

What can I ask NanoClaw to post on Lemmy?

You can ask NanoClaw for anything Postiz supports on Lemmy: a single post, a scheduled batch, or a recurring job. These are prompts you would type in WhatsApp, Telegram, Slack, or Discord. @Andy is NanoClaw's default trigger word; use whatever name you gave your agent.

Text post

Say to NanoClaw

> @Andy post our agent setup guide to the technology community on Lemmy tomorrow at 9am, titled "Running Postiz with an AI agent"

NanoClaw: Resolves the community ID, sets title, schedules for 9:00 AM.

Link post to two communities

Say to NanoClaw

> @Andy share https://postiz.com/blog/... as a link post to technology and programming on Lemmy at noon with fitting titles

NanoClaw: Builds two community entries with url and separate titles.

Mirror Reddit

Say to NanoClaw

> @Andy whenever I post to r/SaaS, also post it to the technology Lemmy community

NanoClaw: Schedules a Lemmy post alongside the Reddit post in Postiz.

What should I know before posting to Lemmy from NanoClaw?

Lemmy has a few rules that Postiz enforces at publish time. NanoClaw applies them when you mention them in plain language, and asks when a required value is missing.

  • ✓Each community entry needs subreddit (community name, 2+ characters), id (the community ID on your instance), and title (2+ characters). The field is named subreddit for compatibility with Reddit.
  • ✓Add url to make a link post; leave it out for a text post. Body text goes in the post content.
  • ✓Community IDs are instance-specific. NanoClaw can look them up with postiz integrations:settings for your Lemmy channel.
  • ✓Lemmy communities are moderated and federated. Follow each community's rules and keep a human reviewing what is queued.

Frequently asked questions about NanoClaw and Lemmy

How do I post to Lemmy from NanoClaw?

Add the Postiz skill to NanoClaw with npx skills add gitroomhq/postiz-agent, authenticate with postiz auth:login, and connect your Lemmy account and instance in Postiz. Then message NanoClaw with the community, title, and time. It resolves the community ID and schedules the post through Postiz.

Can NanoClaw post to several Lemmy communities at once?

Yes. A Postiz Lemmy post accepts an array of community targets, each with its own name, ID, title, and optional URL. Ask NanoClaw to post to two or three communities and it builds one entry per community. Check each community's rules on cross-posting before you automate it.

How does NanoClaw find a Lemmy community ID?

It runs postiz integrations:settings for your Lemmy channel, which returns the communities available on your instance with their IDs, then matches the name you used. IDs differ between instances, so a community called technology on one instance has a different ID on another.

Can NanoClaw create Lemmy link posts as well as text posts?

Yes. Include a URL and ask for a link post and NanoClaw sets url on the community entry; Lemmy shows the link with a preview. Leave the URL out and it creates a text post with your body content. Both types need a title of at least two characters.

Can NanoClaw mirror my Reddit posts to Lemmy?

Yes. Ask NanoClaw to add Lemmy whenever it schedules a Reddit post, or set a recurring job that posts from the same content folder to both. One Postiz request can hold a Reddit entry and a Lemmy entry, each with its own titles, so both communities get a fitting post.

Start posting to Lemmy

Install Postiz Agent and automate your Lemmy community engagement with AI-powered scheduling and publishing.