Home / Claude Code / Lemmy
Claude Code + Lemmy Skill

Claude Code + Lemmy Post to Communities with AI

Use the Upload-Post skill to publish text and image posts to Lemmy communities directly from Claude Code. Submit to any community on any instance using your account credentials, no manual API work required.

Install in Seconds

Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.

Terminal
$ npx skills add Upload-Post/upload-post-skill

What You Can Post to Lemmy

Text
Photos

Features for Lemmy

Everything you need to publish and automate Lemmy content from your terminal.

Text Posts

Submit posts with a title and a Markdown body. Headings, links, and formatting render exactly as your Lemmy instance displays them for the community.

Photo Posts

Attach an image to your community post with support for JPEG, PNG, GIF, and WebP. Media is uploaded to your instance and shown alongside the post.

Community Targeting

Choose exactly which community your post goes to. Route project updates, guides, and discussion starters to the community where they belong.

Any Instance

Lemmy is federated, so you can connect any instance and post to its communities. Content federates to instances across the network that subscribe to the community.

Account Login

Connect your Lemmy account with your instance URL, username, and password. There is no app review or developer registration to complete before you publish.

Multi-Platform Reach

Publish the same update to Lemmy and other platforms in a single call, so your post reaches the fediverse and your other communities at once.

How It Works

1

Install the Skill

Run the install command in your terminal. The skill is added to Claude Code instantly.

2

Connect Lemmy

Link your Lemmy account on the Upload-Post dashboard and create a profile with your API key.

3

Publish from Claude Code

Tell your AI agent to post content to Lemmy. It handles formatting, uploading, and publishing automatically.

Start Posting to Lemmy from Claude Code

Join thousands of developers automating their social media workflow with AI. Free plan available.

Prefer another integration path? Explore the Lemmy Upload API or the Lemmy MCP server.

Frequently Asked Questions

How does posting to Lemmy work through Claude Code?
Upload-Post handles the Lemmy API behind a simple interface. When you tell Claude Code to post to Lemmy, the skill sends your content to the Upload-Post API, which submits it to the community you chose using your account credentials. The post appears in the community just as if you submitted it from the Lemmy web app.
How do I choose which community to post to?
You specify the target community when you publish, and Upload-Post submits the post there. This lets you send guides, updates, and links to the exact community where your audience is, on the instance you are connected to.
How do I authenticate with Lemmy?
Lemmy through Upload-Post uses your instance URL together with your username and password. You connect those credentials once, and after that you can publish to communities on that instance directly from Claude Code without any manual API work.
What content can I post to Lemmy?
Lemmy through Upload-Post supports text posts (title plus a Markdown body) and image posts (JPEG, PNG, GIF, WebP). You can submit a text discussion post or attach an image to accompany it, respecting your instance upload limits.
Can I cross-post to Lemmy and other platforms simultaneously?
Yes. Upload-Post supports multi-platform publishing in a single API call. Include multiple platforms in your request, such as platform[]=lemmy&platform[]=reddit&platform[]=mastodon, and your content is published to all of them at once. Each platform receives properly formatted content that respects its specific requirements.