doodle top mobile

Publish to Medium from OpenClaw

OpenClaw can publish and schedule Medium articles through the Postiz skill. You send OpenClaw the article or a link to it, and it calls the Postiz CLI to set the title and subtitle, choose a publication, add up to four tags, and attach a canonical URL pointing back to your original post.

Setup GuideClawHub

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

Last updated: September 2026

doodle left mobiledoodle right mobile

Publish to Medium in Seconds

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:
> Publish my latest blog post to Medium with
  canonical link, tags: ai, automation, 9am

OpenClaw: Done! Your Medium article is scheduled for 9:00 AM.

Medium-Specific Features

📝

Article Publishing

Publish long-form articles directly to Medium with full Markdown support. Write once, publish seamlessly.

📚

Publication Support

Publish articles under any Medium publication you belong to. Reach established audiences with a single setting.

🔗

Canonical URLs

Set canonical URLs for SEO to link back to your original content. Avoid duplicate content penalties across platforms.

🏷

Smart Tagging

Add up to 4 tags per article to improve discoverability. Tags help Medium surface your content to the right readers.

📅

Scheduled Publishing

Schedule articles for future publication with precise timestamps. Plan your content calendar weeks in advance.

🤖

AI-Powered Workflows

Let AI agents draft, format, and publish your articles. From idea to published post without leaving your chat app.

How does posting to Medium 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.

1

Find Your Medium Integration

Ask OpenClaw whether your Medium account is connected. It also checks which options the platform supports.

Example conversation

> Is my Medium account connected to Postiz?

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

Write Your Article

Compose your article content in Markdown. Medium supports rich formatting including headers, code blocks, images, and embedded links.

Example conversation

> Draft a Medium post about our new
  feature launch

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

Publish Your Article

Create a post with your article content, title, subtitle, tags, and optional publication and canonical URL settings.

Example conversation

> Yes — add screenshot.png and schedule
  it for tomorrow at 9am

OpenClaw: Done! Scheduled on Medium for
  tomorrow at 9:00 AM.

Medium Settings Reference

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

FieldTypeDescription
__typestringMust be "medium"
titlestringArticle title (min 2 characters)
subtitlestringArticle subtitle (min 2 characters)
canonicalstringOriginal URL for SEO canonical link
publicationstringPublication ID to publish under
tagsarrayUp to 4 tags: [{value: string, label: string}]

Common Configurations

Ask OpenClaw for any of these common Medium publishing scenarios and it applies the matching settings.

Simple Article with Tags

Just ask

> Post it with: Simple Article with Tags

OpenClaw: Got it. Applying:
  title: Getting Started with TypeScript
  subtitle: A beginner-friendly introduction
  tags: TypeScript, JavaScript, Programming

Cross-Posted Article with Canonical URL

Just ask

> Post it with: Cross-Posted Article with Canonical URL

OpenClaw: Got it. Applying:
  title: How We Scaled to 1M Users
  subtitle: Lessons from our growth journey
  canonical: https://engineering.myblog.com/scaling-to-1m
  tags: Startup, Scaling, Engineering

Publication Article

Just ask

> Post it with: Publication Article

OpenClaw: Got it. Applying:
  title: The Future of AI Agents
  subtitle: Why autonomous agents are the next paradigm
  publication: towards-data-science-id
  tags: Artificial Intelligence, AI Agents, Automation, Future

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 publish your Medium articles 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 Medium articles 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 check

Medium Publishing with OpenClaw

Message OpenClaw from any platform — it reads the Postiz skill, discovers your Medium integration, and handles the entire publishing 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 Medium account via Postiz, formats the article, and publishes it — all while you go about your day.

WhatsApp / Telegram

You: Publish my draft about API design
  to Medium under the engineering pub,
  tag it with "api" and "software"

OpenClaw: Got it! Here's what I'll do:
  1. Read your draft from ~/drafts/api.md
  2. Publish to your engineering publication
  3. Tags: API, Software Engineering

  Done! Your Medium article is live.
  Post ID: abc-123
🦀

Scheduled & 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 Medium content through Postiz, so nothing waits on a manual trigger.

openclaw automations (cron)

openclaw automations create "0 9 * * 1-5" \
  "Check ~/content/blog for a new Markdown article, publish it to Medium with a canonical URL to the original and up to four tags, and schedule it for 9am." \
  --name "Medium daily post" \
  --session isolated \
  --announce --channel telegram \
  --to "<your chat id>"

# openclaw cron is an alias for the same command

Why OpenClaw + Postiz for Medium

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 Medium workflows.

  • Message from WhatsApp to publish a Medium article — no terminal needed
  • Cron jobs for hands-free weekly publishing schedules
  • Structured JSON output lets OpenClaw verify each step succeeded
  • Canonical URLs applied automatically when cross-posting from your blog
  • Cross-post to Medium + other platforms in a single conversation
  • 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>

# Medium settings
title, subtitle, canonical, publication, tags

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 Medium from Claude Code.

C

Claude Code

by Anthropic

Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your Medium integration, formats your article, applies tags and publication settings, and publishes the post.

Claude Code

> Publish my API design article to Medium
  under the engineering publication with
  a canonical URL back to my blog

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

Medium + Other Platforms

Publish the same article to Medium and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  Medium and LinkedIn tomorrow at 9am, then schedule
  a daily tip on Medium every weekday at 10am

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

What can you ask OpenClaw to do on Medium?

These are real messages you can send OpenClaw from WhatsApp, Telegram, Slack, or Discord. OpenClaw maps each one to the right Postiz command and Medium settings.

Cross-post with canonical

Send to OpenClaw

> Publish this article to Medium tomorrow at 9am, subtitle "What we learned shipping agents", canonical to the original URL, tags: ai, open source, automation.

Publication

Send to OpenClaw

> Post this piece to our company publication on Medium instead of my profile.

Repurpose

Send to OpenClaw

> Turn my LinkedIn post from Monday into a 600-word Medium article and schedule it for Friday.

Medium rules OpenClaw has to follow

Postiz enforces these Medium constraints when OpenClaw creates a post. Knowing them up front avoids a failed request.

  • Title and subtitle are both required and need at least two characters each. Give OpenClaw a subtitle or it will draft one.
  • Postiz accepts up to four tags per Medium article. Pick the ones that match your niche rather than broad terms.
  • Set canonical when cross-posting from your own blog so search engines credit the original.
  • Publications need a publication ID. Ask OpenClaw to list your Medium publications through Postiz before posting to one.

OpenClaw and Medium: frequently asked questions

How do I publish to Medium from OpenClaw?

Install the Postiz skill in OpenClaw, run postiz auth:login, and connect your Medium account in Postiz. Then send OpenClaw the article with a title, subtitle, tags, and time. OpenClaw runs postiz posts:create with the Medium settings and confirms the scheduled article.

Can OpenClaw set a canonical URL on Medium?

Yes. Medium has a canonical setting in Postiz. Tell OpenClaw the original URL and it passes it along, so Medium marks your blog as the source. That lets you cross-post for reach without competing with your own site in search.

Can OpenClaw publish to a Medium publication?

Yes. Postiz exposes your publications, and OpenClaw can pass a publication ID in the publication setting. Ask "which Medium publications can I post to?" and OpenClaw lists them, then names the one you choose when it schedules the article. Without a publication, it posts to your profile.

Does OpenClaw need a Medium integration token?

No. Postiz holds the Medium connection, and OpenClaw only runs the Postiz CLI. You authenticate OpenClaw with postiz auth:login or a Postiz API key, and there is no Medium token stored in OpenClaw's configuration. Revoke access from Postiz at any time and OpenClaw loses it too.

Can OpenClaw cross-post my blog to Medium automatically?

Yes. Create an OpenClaw automation with a cron expression and a prompt that checks your blog folder or feed, publishes new articles to Medium with a canonical URL, and schedules them. Ask it to create drafts if you want to review before publishing.

Start publishing to Medium

Install Postiz Agent and automate your Medium content strategy with AI-powered scheduling and publishing.