Publish to Hashnode from NanoClaw
NanoClaw can publish and schedule Hashnode blog posts through Postiz. Send NanoClaw a draft from WhatsApp, Telegram, Slack, or Discord, and it uses the Postiz skill to set the title and subtitle, choose your publication, add the required tags, upload a cover image, and set a canonical URL when you are cross-posting from another blog.
Please make sure there is always a human in the loop.
Last updated: September 2026
How do I set up NanoClaw to post to Hashnode?
Setup, then just ask
# 1. Install NanoClaw (once)
git clone https://github.com/nanocoai/nanoclaw.git
cd NanoClaw && bash nanoclaw.sh
# 2. Add the Postiz skill to your NanoClaw fork
npx skills add gitroomhq/postiz-agent
# 3. Authenticate Postiz (OAuth device flow)
postiz auth:login # or: export POSTIZ_API_KEY=...
# 4. Connect Hashnode in Postiz, then message NanoClaw:
> Publish my post on Hashnode with
a cover image and tags, tomorrow at 9am
NanoClaw: Done! Your Hashnode post is scheduled.Which Hashnode features does NanoClaw support?
Blog Publishing
Publish long-form blog posts with full Markdown support. Code blocks, embeds, and rich formatting work out of the box.
Publication Support
Publish posts under your Hashnode publication. Every post requires a publication ID to target the right blog.
Cover Images
Upload and attach cover images to make your posts stand out. Eye-catching visuals drive more clicks from the Hashnode feed.
Canonical URLs
Set canonical URLs for SEO when cross-posting from your original blog. Avoid duplicate content penalties across platforms.
Required Tagging
Hashnode requires at least one tag per post. Tags use tag IDs for precise categorization and improved discoverability.
Scheduled Publishing
Schedule blog posts for future publication with precise timestamps. Build a consistent publishing cadence effortlessly.
How do I post to Hashnode from NanoClaw?
You describe what you want in plain language and NanoClaw handles the Postiz calls for you. Here is how a typical conversation goes.
Find Your Hashnode Integration
Ask NanoClaw whether your Hashnode account is connected. It also checks which options the platform supports.
Example conversation
> Is my Hashnode account connected to Postiz?
NanoClaw: Yes — your Hashnode account is connected
and ready. Want me to post something?Prepare Your Content
Write your blog post in Markdown. Hashnode supports rich formatting including headers, code blocks with syntax highlighting, images, and embedded content. Optionally upload a cover image.
Example conversation
> Draft a Hashnode post about our new
feature launch
NanoClaw: Here's a draft for Hashnode:
"We just shipped something big..."
Want me to add media and schedule it?Publish Your Post
Create a post with your content, title, publication, tags, and optional cover image and canonical URL. Remember: publication and at least one tag are required.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
NanoClaw: Done! Scheduled on Hashnode for
tomorrow at 9:00 AM.Hashnode Settings Reference
Mention any of these in plain language and NanoClaw sets them for you. These are the Hashnode options it can apply to any post.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "hashnode" |
title | string | Article title (min 6 characters) |
subtitle | string | Article subtitle (min 2 characters) |
main_image | object | Cover image: {id: string, path: string} |
canonical | string | Original URL for SEO canonical link |
publication | string | Publication ID (required) |
tags | array | At least 1 tag: [{value: string (tag ID), label: string}] |
Common Configurations
Ask NanoClaw for any of these common Hashnode publishing scenarios and it applies the matching settings.
Basic Blog Post
Just ask
> Post it with: Basic Blog Post
NanoClaw: Got it. Applying:
title: Understanding React Server Components
publication: my-publication-id
tags: React, Next.jsFull-Featured Post with Cover Image
Just ask
> Post it with: Full-Featured Post with Cover Image
NanoClaw: Got it. Applying:
title: Complete Guide to Node.js Streams
subtitle: Master streams for high-performance I/O
main_image: id=img-abc123, path=https://uploads.postiz.com/streams-cover.png
publication: my-publication-id
tags: Node.js, Backend, TutorialCross-Posted Article with Canonical URL
Just ask
> Post it with: Cross-Posted Article with Canonical URL
NanoClaw: Got it. Applying:
title: Why We Migrated to Bun
subtitle: Our experience switching JavaScript runtimes
canonical: https://engineering.mycompany.com/migrating-to-bun
publication: company-blog-id
tags: Bun, JavaScript, DevOpsWhat is NanoClaw?
NanoClaw is an open-source AI assistant that runs each agent in its own Docker container and is built on Anthropic's Claude Agent SDK. It was created as a smaller, easier-to-audit alternative to OpenClaw. It connects to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, iMessage, and more, and supports per-group memory and recurring jobs.
Container-Based
NanoClaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.
Multi-Platform Chat
Connect to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, and more. Message NanoClaw from wherever you already communicate.
Memory & Context
Schedule recurring tasks with cron jobs. NanoClaw can publish your Hashnode posts on a schedule without you having to ask each time.
How Postiz Works with NanoClaw
NanoClaw discovers Postiz through its skill system. Add the Postiz skill to your NanoClaw fork and the agent reads the SKILL.md to learn every postiz command, then runs them inside its own container when you ask.
- ✓Install Postiz skill with npx skills add gitroomhq/postiz-agent
- ✓NanoClaw reads the SKILL.md and learns all Postiz commands
- ✓Authenticate with postiz auth:login (OAuth device flow) or a POSTIZ_API_KEY
- ✓Skills are loaded on-demand, keeping the agent context clean
- ✓Built on Anthropic's Claude Agent SDK, running in an isolated Docker container
Install Postiz
# In your NanoClaw fork: add the Postiz skill
npx skills add gitroomhq/postiz-agent
# Sign in to Postiz (OAuth device flow)
postiz auth:login
# Or use an API key instead
export POSTIZ_API_KEY=your_api_key
# Check the connection
postiz auth:status
postiz integrations:listHashnode Publishing with NanoClaw
Message NanoClaw from any platform — it reads the Postiz skill, discovers your Hashnode integration, and handles the entire publishing workflow autonomously.
From Any Chat App
WhatsApp, Telegram, Slack, or Discord
Send a message to NanoClaw from your favorite chat app. It runs as a background service in an isolated container, so it picks up your message, discovers your Hashnode blog via Postiz, formats the post, and publishes it — all while you go about your day.
NanoClaw
You: Post to Hashnode about our new
feature launch, schedule for tomorrow
at 9am
NanoClaw: On it! Here's my plan:
1. Found your Hashnode integration
2. Composing your post
3. Scheduling for tomorrow 9:00 AM
Done! Your post is scheduled.
Post ID: abc-123Scheduled & Proactive
Recurring jobs, requested in chat
NanoClaw supports recurring jobs you request in chat. Set up a recurring job that checks a folder for new Markdown drafts and publishes them to Hashnode automatically — no manual trigger needed.
Recurring job (ask in chat)
> @Andy every weekday at 9am, check
~/content/posts for new files and
schedule each one to Hashnode for
noon. Move posted files to
~/content/published.
NanoClaw: Got it. I'll run this every
weekday at 9:00 AM and schedule the
posts through Postiz.Why NanoClaw + Postiz for Hashnode
NanoClaw makes Postiz a natural fit for your Hashnode workflow. The agent discovers all available commands and autonomously chains them together.
- ✓Message from WhatsApp or Telegram to post to Hashnode — no terminal needed
- ✓Container-based — easy to deploy, isolate, and scale
- ✓Built-in memory remembers your content preferences
- ✓Scheduled jobs for hands-free daily posting
- ✓Cross-post to Hashnode + other platforms in a single conversation
- ✓Built on Anthropic's Claude Agent SDK, with each agent group in its own container
SKILL.md (auto-discovered)
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms including Hashnode
metadata:
NanoClaw:
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>
# Hashnode Settings
title, subtitle, main_image,
canonical, publication, tagsDoes Postiz work with other agents too?
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.
Claude Code
by Anthropic
Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your Hashnode integration, uploads your cover image, resolves publication and tag IDs, and publishes the post.
Claude Code
> Publish my Node.js streams guide to
Hashnode with a cover image and tags
Claude: Done! Scheduled on Hashnode for
tomorrow at 9:00 AM.Can NanoClaw post to Hashnode and other platforms at once?
Publish the same article to Hashnode and other platforms in a single request. Each platform gets its own settings.
Example
> Post "Excited to announce our new feature!" to
Hashnode and LinkedIn tomorrow at 9am, then schedule
a daily tip on Hashnode every weekday at 10am
NanoClaw: Done! Scheduled:
- Hashnode + LinkedIn: tomorrow 9:00 AM
- Daily tips on Hashnode: Mon-Fri 10:00 AMWhat can I ask NanoClaw to post on Hashnode?
You can ask NanoClaw for anything Postiz supports on Hashnode: a single post, a scheduled batch, or a recurring job. These are prompts you would type in WhatsApp, Telegram, Slack, or Discord. @Andy is NanoClaw's default trigger word; use whatever name you gave your agent.
Publish to your blog
Say to NanoClaw
> @Andy publish ~/posts/why-ai-agents.md to my Hashnode blog tomorrow at 9am with the tags ai and devtools
NanoClaw: Sets title, publication, and tags with their IDs, schedules for 9:00 AM.Cross-post
Say to NanoClaw
> @Andy cross-post the Postiz blog article to Hashnode with cover.png and the canonical URL pointing to postiz.com
NanoClaw: Uploads the cover, sets main_image and canonical, publishes to your publication.Find tag IDs
Say to NanoClaw
> @Andy which Hashnode tags can I use for a Docker article?
NanoClaw: Runs postiz integrations:settings and lists matching tags with IDs.What should I know before posting to Hashnode from NanoClaw?
Hashnode has a few rules that Postiz enforces at publish time. NanoClaw applies them when you mention them in plain language, and asks when a required value is missing.
- ✓title must be at least 6 characters, and publication and tags are required. Every Hashnode post needs at least one tag with a valid tag ID.
- ✓Tags are passed as [{value: tagId, label}] objects. NanoClaw can look up tag IDs with postiz integrations:settings.
- ✓Set canonical to the original URL when cross-posting so search engines credit your primary blog.
- ✓The cover image (main_image) is uploaded through Postiz and passed as {id, path}. The subtitle is optional but needs 2+ characters if set.
Frequently asked questions about NanoClaw and Hashnode
How do I publish to Hashnode from NanoClaw?
Add the Postiz skill to NanoClaw with npx skills add gitroomhq/postiz-agent, authenticate with postiz auth:login, and connect Hashnode in Postiz. Then send NanoClaw the article with a title, at least one tag, and a time. It picks your publication, resolves tag IDs, and schedules the post through Postiz.
Why does NanoClaw ask for a tag before publishing to Hashnode?
Hashnode requires at least one tag on every post, and Postiz enforces it. NanoClaw needs the tag's ID, not just its name, so it runs postiz integrations:settings to look up matching tags and asks you to confirm if the name is ambiguous. Once confirmed, it fills the tags array.
Can NanoClaw set a canonical URL on Hashnode posts?
Yes. Tell NanoClaw where the article was first published and it sets the canonical field. Hashnode then marks the post as originally published elsewhere and points search engines to your primary blog. This is the right approach when you syndicate content to Hashnode from your own site.
Can NanoClaw publish to multiple Hashnode publications?
Yes, if you have connected each publication in Postiz. Name the publication in your message and NanoClaw selects the matching integration and publication ID. Each publication is its own channel in postiz integrations:list, so you can also schedule the same article to two blogs in one request.
Does NanoClaw need my Hashnode API token?
You add your Hashnode token once when connecting Hashnode in the Postiz dashboard, and Postiz stores it. NanoClaw never sees it. NanoClaw authenticates to Postiz only, with postiz auth:login or a POSTIZ_API_KEY inside its container, and Postiz makes the Hashnode API calls.
Post to other platforms from NanoClaw
The same Postiz skill covers 30+ channels. Start from the NanoClaw social media automation guide or jump to a platform that pairs well with Hashnode.
Start publishing to Hashnode
Install Postiz Agent and automate your Hashnode content strategy with AI-powered scheduling and publishing.