Install
openclaw skills install content-publisherPublish content to Medium, Dev.to, and Hashnode from markdown files. Handles formatting, SEO optimization, scheduling, and cross-posting with canonical URLs. Use when asked to publish articles, blog posts, or cross-post content across platforms.
openclaw skills install content-publisherPublish markdown articles to Medium, Dev.to, and Hashnode. Handles SEO, formatting, and canonical URLs for cross-posting.
| Platform | Method | Auth |
|---|---|---|
| Medium | Browser automation | Google login |
| Dev.to | API | API key in env DEVTO_API_KEY |
| Hashnode | API | API key in env HASHNODE_TOKEN |
Ensure article has:
Before publishing, verify:
1. Navigate to https://medium.com/new-story
2. Paste title and content
3. Click "Publish" → set tags → confirm
curl -X POST https://dev.to/api/articles \
-H "api-key: $DEVTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"article": {
"title": "TITLE",
"body_markdown": "CONTENT",
"published": true,
"tags": ["ai", "productivity"],
"canonical_url": "MEDIUM_URL"
}
}'
curl -X POST https://gql.hashnode.com \
-H "Authorization: $HASHNODE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "mutation { publishPost(input: { title: \"TITLE\", contentMarkdown: \"CONTENT\", publicationId: \"PUB_ID\", tags: [{slug: \"ai\"}] }) { post { url } } }"
}'
canonical_url pointing to the originalTo get more reach, submit to Publications:
For multiple articles, process sequentially with delays: