/install ai-content-publisher
Content Publisher
Publish markdown articles to Medium, Dev.to, and Hashnode. Handles SEO, formatting, and canonical URLs for cross-posting.
Supported Platforms
| 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 |
Workflow
1. Prepare content
Ensure article has:
- Title (H1)
- Subtitle/description
- Tags (3-5 relevant tags)
- Content body (markdown)
- Optional: cover image URL
2. SEO optimization checklist
Before publishing, verify:
- Title contains target keyword (under 60 chars)
- Meta description (under 155 chars)
- H2/H3 structure with keywords
- Internal/external links
- Alt text on images
- Call-to-action at end
3. Publish to Medium (browser)
1. Navigate to https://medium.com/new-story
2. Paste title and content
3. Click "Publish" → set tags → confirm
4. Publish to Dev.to (API)
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"
}
}'
5. Publish to Hashnode (GraphQL)
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 } } }"
}'
Cross-posting strategy
- First: Publish on Medium (or your primary platform)
- Wait 24-48h: Let search engines index the original
- Cross-post: Use
canonical_urlpointing to the original - Why: Avoids duplicate content penalties in SEO
Publication submission (Medium)
To get more reach, submit to Publications:
- Find publication's "Write for us" page
- Follow their submission guidelines
- Submit via Medium's story settings → "Add to publication"
High-traffic AI Publications
- Towards AI (AI/ML focused)
- Better Programming (dev tools)
- The Startup (business/tech)
- Geek Culture (tech general)
- Level Up Coding (programming)
Batch publishing
For multiple articles, process sequentially with delays:
- Medium: max 2 articles per 24 hours
- Dev.to: no strict limit, but space them 1+ hours apart
- Hashnode: no strict limit
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ai-content-publisher - After installation, invoke the skill by name or use
/ai-content-publisher - Provide required inputs per the skill's parameter spec and get structured output
What is AI Content Publisher?
Publish content to Medium, Dev.to, and Hashnode from markdown files. Handles formatting, SEO optimization, scheduling, and cross-posting with canonical URLs.... It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.
How do I install AI Content Publisher?
Run "/install ai-content-publisher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is AI Content Publisher free?
Yes, AI Content Publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does AI Content Publisher support?
AI Content Publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created AI Content Publisher?
It is built and maintained by Qoohsuan (@qoohsuan); the current version is v1.0.0.