doodle top mobile

Automate Dev.to with Claude Code

Publish developer articles to Dev.to, post under organizations, add cover images and canonical URLs, and tag your content — just by asking Claude Code.

Setup GuideGitHub

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

doodle left mobiledoodle right mobile

Publish to Dev.to in Seconds

Setup, then just ask

# One-time setup
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key

# Then just ask Claude Code:
> Publish my article on Dev.to with
  a cover image and tags, tomorrow at 9am

Claude Code: Done! Your Dev.to post is scheduled.

Dev.to-Specific Features

👨‍💻

Developer Articles

Publish technical articles with full Markdown support including code blocks, syntax highlighting, and embedded content.

🏢

Organization Posting

Publish articles under your Dev.to organization. Share content on behalf of your team or company with a single setting.

🖼

Cover Images

Upload and attach eye-catching cover images to your articles. Stand out in the Dev.to feed with visual content.

🔗

Canonical URLs

Set canonical URLs to link back to your original content. Perfect for cross-posting from your personal blog without SEO penalties.

🏷

Smart Tagging

Add up to 4 tags per article to reach the right developer audience. Tags drive discoverability on the Dev.to platform.

📅

Scheduled Publishing

Schedule articles for future publication with precise timestamps. Plan your developer content calendar ahead of time.

How It Works

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

1

Find Your Dev.to Integration

Ask Claude Code whether your Dev.to account is connected. It also checks which options the platform supports.

Example conversation

> Is my Dev.to account connected to Postiz?

Claude Code: Yes — your Dev.to account is connected
  and ready. Want me to post something?
2

Prepare Your Content

Write your article in Markdown. Dev.to supports rich formatting including headers, code blocks with syntax highlighting, images, and liquid tags.

Example conversation

> Draft a Dev.to post about our new
  feature launch

Claude Code: Here's a draft for Dev.to:
  "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, cover image, tags, and optional organization and canonical URL settings.

Example conversation

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

Claude Code: Done! Scheduled on Dev.to for
  tomorrow at 9:00 AM.

Dev.to Settings Reference

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

FieldTypeDescription
__typestringMust be "devto"
titlestringArticle title (min 2 characters)
main_imageobjectCover image: {id: string, path: string}
canonicalstringOriginal URL for canonical link
organizationstringOrganization ID to publish under
tagsarrayUp to 4 tags: [{value: string, label: string}]

Common Configurations

Ask Claude Code for any of these common Dev.to publishing scenarios and it applies the matching settings.

Simple Developer Article

Just ask

> Post it with: Simple Developer Article

Claude Code: Got it. Applying:
  title: 10 TypeScript Tips You Need to Know
  tags: TypeScript, JavaScript, Web Dev, Programming

Organization Post with Cover Image

Just ask

> Post it with: Organization Post with Cover Image

Claude Code: Got it. Applying:
  title: Introducing Our New Open Source Tool
  main_image: id=img-abc123, path=https://uploads.postiz.com/launch-cover.png
  organization: my-org-id
  tags: Open Source, Show Dev, Productivity

Cross-Posted Article with Canonical URL

Just ask

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

Claude Code: Got it. Applying:
  title: How We Reduced Build Times by 80%
  canonical: https://engineering.mycompany.com/build-times
  tags: DevOps, CI/CD, Performance

Full-Featured Article

Just ask

> Post it with: Full-Featured Article

Claude Code: Got it. Applying:
  title: Building a Real-Time Dashboard
  main_image: id=img-xyz789, path=https://uploads.postiz.com/dashboard.png
  canonical: https://myblog.dev/real-time-dashboard
  organization: my-team-id
  tags: React, WebSockets, Tutorial, JavaScript

What is Claude Code?

Claude Code is Anthropic's agentic coding tool that lives in your terminal. It handles software engineering tasks — writing features, fixing bugs, and answering questions about your codebase — and it can run shell commands and MCP tools like Postiz.

💻

Terminal & IDE Native

Claude Code runs in your terminal, with extensions for VS Code and JetBrains. You type what you want in plain English and it handles Postiz for you.

🔧

Agentic Execution

Claude Code plans and works through multi-step tasks on its own — discovering channels, uploading media, and scheduling posts — and asks for permission before it acts.

Parallel Tasks

Run several Claude Code sessions side by side, or spawn subagents in one. Schedule posts to different platforms while it handles other coding work.

How Postiz Works with Claude Code

Claude Code discovers Postiz through the Postiz skill or the Postiz MCP server. It reads the SKILL.md (or the MCP tool list) to learn what it can do, then chains calls together for social media workflows.to articles with the right settings.

  • Install the Postiz skill, or add the Postiz MCP server with claude mcp add
  • Claude Code reads the SKILL.md and learns all Postiz commands
  • POSTIZ_API_KEY must be set in environment
  • Claude Code asks for permission before running commands
  • Works alongside your coding tasks in parallel

Install Postiz

# Option A: add the Postiz MCP server
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic

# Option B: install the Postiz skill
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key

# Then just ask
claude "list my social media integrations"

Dev.to Publishing with Claude Code

Tell Claude Code what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.to integration, and handles the entire publishing workflow autonomously.

💻

Just Ask Claude Code

Terminal and IDE integration

Tell Claude Code what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.

Claude Code CLI

$ claude "Post to Devto about our
  new feature launch, schedule for
  tomorrow at 9am"

Claude Code: I'll handle that.
  Found your Devto integration.
  Composing and scheduling the post.

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

Parallel Tasks

Multiple tasks at once

Claude Code runs headless with claude -p, so several tasks can run in parallel. Schedule posts to different platforms while it works on other coding tasks.to automatically — no manual trigger needed.

Claude Code Parallel Tasks

# Run multiple posting tasks in parallel
$ claude -p "Schedule a post about our
  launch to X for tomorrow 9am" &

$ claude -p "Write a LinkedIn article
  about our new feature and schedule
  for tomorrow noon" &

$ claude -p "Fix the bug in auth.ts"

# All three tasks run simultaneously

Why Claude Code + Postiz for Dev.to

Claude Code's autonomous execution makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for Dev.to workflows.

  • Runs in your terminal or IDE — just type what you want
  • Permission-based execution — you stay in control
  • Parallel task support — post while coding
  • Cover images uploaded and attached automatically
  • Cross-post to Dev.to + other platforms in a single session
  • Powered by Claude — Anthropic's most capable models

SKILL.md (auto-discovered)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms including Dev.to
metadata:
  claude-code:
    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>

# Dev.to Settings
title, main_image, canonical,
organization, tags

Also Works with Claude Cowork

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Claude Cowork, Anthropic's desktop agent — no terminal needed.

C

Claude Cowork

by Anthropic

Claude Cowork reads the Postiz skill so it knows what it can do, then autonomously discovers your Dev.to integration, uploads your cover image, applies tags and organization settings, and publishes the article.

Claude Cowork

> Publish my React tutorial to Dev.to
  under our org with a cover image,
  tag it with react and webdev

Claude Cowork: Done! Scheduled on Dev.to for
  tomorrow at 9:00 AM.

Dev.to + Other Platforms

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

Example

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

Claude Code: Done! Scheduled:
  - Dev.to + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Dev.to: Mon-Fri 10:00 AM

Start publishing to Dev.to

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