New Dev.to Publish Plugin for SuperCLI: Publish Articles from the Command Line

Published: (April 25, 2026 at 02:06 AM EDT)
2 min read
Source: Dev.to

Source: Dev.to

Overview

devto-publish is a SuperCLI plugin that wraps the Dev.to REST API, allowing you to publish articles to Dev.to directly from the command line.

Installation

sc plugins install ./plugins/devto-publish

Usage

sc devto article publish \
  --api-key "your-api-key" \
  --title "My Article Title" \
  --body-markdown "# Content here" \
  --tags "javascript,nodejs"

Options

  • --api-key – Your Dev.to API key (obtain it from ).
  • --title – Article title.
  • --body-markdown – Article body in Markdown format.
  • --tags – Up to 4 tags, comma‑separated.

Features

  • Draft mode – Save articles as drafts before publishing.
  • Tag management – Supports up to 4 tags using a comma‑separated list.
  • Agent‑friendly – Includes a comprehensive SKILL.md guide covering 10 common pitfalls for AI agents.
  • API key authentication – Secure flag‑based authentication.

The SKILL.md guide covers:

  • API key security best practices
  • Markdown escaping pitfalls
  • Tag format requirements
  • Rate‑limiting handling
  • Character encoding issues

Example: Publishing a Technical Article

sc devto article publish \
  --api-key "$DEVTO_API_KEY" \
  --title "How to Build a REST API with Node.js" \
  --body-markdown "$(cat article.md)" \
  --tags "javascript,nodejs,api,webdev"
  • Plugin repository:
  • SuperCLI repository:
  • Get your Dev.to API key:

Happy publishing! 🚀

0 views
Back to Blog

Related posts

Read more »

I Build an OpenClaw Skill for Your Car

Overview Car Connect — an OpenClaw skill for your car. It supports seven car brands by default Tesla, Mercedes, VW, Ford, Toyota, Kia, Honda and can also add y...