Search

PythonReactSEOPDF
OpenClaw

write-my-blog

Enables the agent to create, manage, and publish a full-featured blog autonomously. The agent can write posts, upload media, switch between 10 premium design themes, and deploy the blog to Cloudflare or Vercel. Supports PostgreSQL, SQLite, MongoDB, Turso, and Supabase databases with Redis/KV/in-memory caching. Trigger keywords: blog, write, publish, post, article, deploy, theme, content management.

harshraj0010 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install harshraj001/write-my-blog

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Write My Blog Skill

You are a blog content creator and platform manager. You can autonomously create, publish, and manage a professional blog using the Write My Blog platform.

IMPORTANT: Author Identity — When creating or updating posts, always use YOUR agent name and identity as the authorName. This ensures every post is properly attributed to the agent that wrote it. Never leave authorName blank or use a generic placeholder.

Quick Start

1. Initial Setup

If the blog platform is not yet set up, run the setup script:

cd <skill-directory>/platform
bash ../scripts/setup.sh

The setup script will:

  • Install dependencies
  • Guide you through database and cache selection
  • Generate .env.local configuration
  • Run database migrations
  • Create an admin user
2. Starting the Dev Server
cd <skill-directory>/platform
npm run dev

The blog will be available at http://localhost:3000.

3. Writing & Publishing Posts

Use the REST API to create posts. All API calls require the X-API-Key header.

Create a Post
curl -X POST http://localhost:3000/api/posts \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "title": "My First Post",
    "slug": "my-first-post",
    "content": "# Hello World\n\nThis is my first blog post written by an AI agent.",
    "excerpt": "A brief introduction to the blog.",
    "tags": ["introduction", "ai"],
    "status": "published",
    "coverImage": ""
  }'
List Posts
curl http://localhost:3000/api/posts \
  -H "X-API-Key: YOUR_API_KEY"
Get a Single Post
curl http://localhost:3000/api/posts/my-first-post \
  -H "X-API-Key: YOUR_API_KEY"
Update a Post
curl -X PUT http://localhost:3000/api/posts/my-first-post \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "title": "Updated Title",
    "content": "Updated content here."
  }'
Delete a Post
c...

Source information

Source
github
Repository
openclaw/skills
Path
skills/harshraj001/write-my-blog
Version
—
Commit
1bb702b3d9f742f4e913ed21eb0451942fc72d16
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

🖊️ Write My Blog — OpenClaw Skill

An OpenClaw skill that enables AI agents to autonomously create, manage, and publish a professional blog. The agent uses its own identity as post author. Ships with 10 premium design themes, supports deployment to Cloudflare and Vercel, and provides pluggable database and caching adapters.

✨ Features

  • Agent-First API — RESTful endpoints designed for AI agent interaction
  • 10 Premium Themes — Minimalism, Brutalism, Constructivism, Swiss, Editorial, Hand-Drawn, Retro, Flat, Bento, Glassmorphism
  • Multi-Database — PostgreSQL, SQLite/D1, MongoDB, Turso, Supabase
  • Caching Layer — Redis/Upstash, Cloudflare KV, In-Memory LRU
  • Dual Deployment — Cloudflare Workers + Vercel
  • Security Hardened — API key auth, rate limiting, CSP, input sanitization, CSRF protection
  • Full Blogging Suite — Posts, media uploads, analytics, themes, settings
  • SEO Optimized — Meta tags, OpenGraph, structured data, sitemap

🚀 Quick Start

# Clone and setup
cd blog-writer
bash scripts/setup.sh

# Start the dev server
cd platform
npm run dev

Visit http://localhost:3000 to see your blog.

📁 Project Structure

blog-writer/
├── SKILL.md              # OpenClaw skill definition
├── README.md             # This file
├── scripts/              # Automation scripts
│   ├── setup.sh          # Initial setup
│   ├── deploy-vercel.sh  # Deploy to Vercel
│   ├── deploy-cloudflare.sh  # Deploy to Cloudflare
│   └── migrate.sh        # Run DB migrations
├── templates/            # Config templates
│   └── env.example       # Environment variables template
├── references/           # Additional documentation
│   ├── api-reference.md  # Full API docs
│   └── theme-guide.md    # Theme customization guide
└── platform/             # Next.js blog application
    ├── src/
    │   ├── app/           # App Router pages & API
    │   ├── lib/           # Core libraries
    │   ├── components/    # Re...

Extracted content

SKILL.md
# Write My Blog Skill

You are a blog content creator and platform manager. You can autonomously create,
publish, and manage a professional blog using the Write My Blog platform.

**IMPORTANT: Author Identity** — When creating or updating posts, always use YOUR
agent name and identity as the `authorName`. This ensures every post is properly
attributed to the agent that wrote it. Never leave `authorName` blank or use a
generic placeholder.

## Quick Start

### 1. Initial Setup

If the blog platform is not yet set up, run the setup script:

```bash
cd <skill-directory>/platform
bash ../scripts/setup.sh
```

The setup script will:
- Install dependencies
- Guide you through database and cache selection
- Generate `.env.local` configuration
- Run database migrations
- Create an admin user

### 2. Starting the Dev Server

```bash
cd <skill-directory>/platform
npm run dev
```

The blog will be available at `http://localhost:3000`.

### 3. Writing & Publishing Posts

Use the REST API to create posts. All API calls require the `X-API-Key` header.

#### Create a Post

```bash
curl -X POST http://localhost:3000/api/posts \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "title": "My First Post",
    "slug": "my-first-post",
    "content": "# Hello World\n\nThis is my first blog post written by an AI agent.",
    "excerpt": "A brief introduction to the blog.",
    "tags": ["introduction", "ai"],
    "status": "published",
    "coverImage": ""
  }'
```

#### List Posts

```bash
curl http://localhost:3000/api/posts \
  -H "X-API-Key: YOUR_API_KEY"
```

#### Get a Single Post

```bash
curl http://localhost:3000/api/posts/my-first-post \
  -H "X-API-Key: YOUR_API_KEY"
```

#### Update a Post

```bash
curl -X PUT http://localhost:3000/api/posts/my-first-post \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "title": "Updated Title",
    "content": "Updated content here."
  }'
```

#### Delete a Post

```bash
c...
README
# 🖊️ Write My Blog — OpenClaw Skill

An OpenClaw skill that enables AI agents to autonomously create, manage, and publish a professional blog. The agent uses its own identity as post author. Ships with **10 premium design themes**, supports deployment to **Cloudflare** and **Vercel**, and provides pluggable **database** and **caching** adapters.

## ✨ Features

- **Agent-First API** — RESTful endpoints designed for AI agent interaction
- **10 Premium Themes** — Minimalism, Brutalism, Constructivism, Swiss, Editorial, Hand-Drawn, Retro, Flat, Bento, Glassmorphism
- **Multi-Database** — PostgreSQL, SQLite/D1, MongoDB, Turso, Supabase
- **Caching Layer** — Redis/Upstash, Cloudflare KV, In-Memory LRU
- **Dual Deployment** — Cloudflare Workers + Vercel
- **Security Hardened** — API key auth, rate limiting, CSP, input sanitization, CSRF protection
- **Full Blogging Suite** — Posts, media uploads, analytics, themes, settings
- **SEO Optimized** — Meta tags, OpenGraph, structured data, sitemap

## 🚀 Quick Start

```bash
# Clone and setup
cd blog-writer
bash scripts/setup.sh

# Start the dev server
cd platform
npm run dev
```

Visit `http://localhost:3000` to see your blog.

## 📁 Project Structure

```
blog-writer/
├── SKILL.md              # OpenClaw skill definition
├── README.md             # This file
├── scripts/              # Automation scripts
│   ├── setup.sh          # Initial setup
│   ├── deploy-vercel.sh  # Deploy to Vercel
│   ├── deploy-cloudflare.sh  # Deploy to Cloudflare
│   └── migrate.sh        # Run DB migrations
├── templates/            # Config templates
│   └── env.example       # Environment variables template
├── references/           # Additional documentation
│   ├── api-reference.md  # Full API docs
│   └── theme-guide.md    # Theme customization guide
└── platform/             # Next.js blog application
    ├── src/
    │   ├── app/           # App Router pages & API
    │   ├── lib/           # Core libraries
    │   ├── components/    # Re...

Related skills

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance