Content Engine
From blank page to published, optimized, and promoted — in one workflow. This skill turns a topic or keyword into a researched, drafted, optimized, and publish-ready piece of content.
Why This Exists
Content creation with OpenClaw today requires manually chaining 4-5 skills: web research, writing, SEO optimization, CMS formatting, and social scheduling. This skill connects the full pipeline so you go from idea to published post in one flow.
The Pipeline
Content Engine runs in 5 phases. The user can run the full pipeline or start from any phase.
Phase 1: Research
When the user provides a topic or target keyword:
- Competitor analysis: Use web_search to find the top 5-10 ranking articles for the target keyword
- Structure extraction: For each competitor article, note:
- Word count (approximate from snippets)
- H2/H3 headings and structure
- Key angles and arguments
- What's missing or weak
- People Also Ask: Search for "[keyword]" and extract related questions
- Content gap identification: What do all competitors cover? What does nobody cover? The gap is the opportunity.
- Research brief output:
📊 Research Brief: [Keyword]
Top competitors (by ranking):
1. [Title] — [URL] — ~[word count] words
Key angle: [one sentence]
2. ...
Common structure:
- All cover: [topics everyone mentions]
- Gap opportunities: [topics nobody covers well]
People Also Ask:
- [question 1]
- [question 2]
- [question 3]
Recommended angle: [your unique take based on gaps]
Recommended word count: [based on competitor average + 20%]
Phase 2: Draft
Generate a structured first draft using the research brief:
- Check for brand voice: look in OpenClaw memory for stored brand guidelines, tone preferences, or writing style notes. If none exist, ask the user on first run and store for future use.
- Outline first: generate an outline with H2/H3 structure before writing. Show the user and get approval (or auto-proceed if they said "just write it").
- Write the draft following these principles:
- Open with a hook that addresses the reader's problem directly
- Use the gap opportunities from research as unique sections
- Include data points and specific examples (from research)
- Write for the target keyword naturally — no keyword stuffing
- End with a clear conclusion and call-to-action
- Output: Markdown file saved to workspace
Phase 3: Optimize
SEO and readability optimization:
- Meta description: Generate a compelling meta description under 155 characters that includes the target keyword
- Title tag: Optimize the title for search (include keyword, keep under 60 chars, make it compelling)
- Internal link suggestions: if the user has provided a sitemap or list of existing content, suggest internal links. Otherwise, note where internal links could go.
- Image alt text: suggest alt text for any images mentioned or planned
- Readability check:
- Flag paragraphs longer than 4 sentences
- Flag sentences longer than 25 words
- Suggest subheadings every 300 words if missing
- Check for passive voice overuse
- Keyword integration check: verify the target keyword appears in title, first paragraph, at least one H2, and meta description
Output an optimization report appended to the draft:
🔍 SEO Optimization Report
Title tag: [optimized title] ([char count])
Meta description: [meta] ([char count])
Target keyword: [keyword]
└─ In title: ✅
└─ In first paragraph: ✅
└─ In H2: ✅
└─ In meta: ✅
Readability: [score/assessment]
Suggested internal links: [list or "provide sitemap for suggestions"]
Phase 4: Format & Publish
Format the content for the user's CMS and prepare for publication:
Detect CMS: check memory for CMS preference. Common options:
- WordPress: use WordPress skill if available, or output HTML-ready content with featured image suggestions
- Ghost: output in Ghost-compatible Markdown
- Notion: create a Notion page via Notion skill if available
- Markdown/Hugo/Jekyll: output as .md with proper frontmatter
- No CMS: just output clean Markdown
Frontmatter generation (for static site generators):
---
title: "[optimized title]"
description: "[meta description]"
date: [today]
tags: [relevant tags]
categories: [relevant categories]
---
Publish or save: if CMS integration is available, offer to publish directly. Otherwise, save the final file and tell the user where it is.
Phase 5: Promote
Generate social media promotion content:
Platform-specific posts: generate posts optimized for each platform:
- LinkedIn: professional tone, 1-3 paragraphs, relevant hashtags
- Twitter/X: hook + link, under 280 chars, 2-3 hashtags
- Reddit: genuine value-add framing (not promotional), suggest appropriate subreddits
- Hacker News: technical angle, factual title
Schedule: if Mixpost or Buffer skill is available, offer to schedule posts
Email newsletter: offer to generate a newsletter blurb for the article
Output all promotional content in a single block:
📢 Promotion Kit for: [Article Title]
LinkedIn:
[post text]
Twitter/X:
[tweet text]
Reddit (suggested subreddits: r/[sub1], r/[sub2]):
[post text]
Newsletter blurb:
[2-3 sentence summary for email]
Usage Modes
Full Pipeline
User: "Write a blog post about AI agent security best practices"
→ Run all 5 phases sequentially, showing output at each stage
Research Only
User: "Research what's ranking for 'openclaw tutorial'"
→ Run Phase 1 only, output the research brief
Draft from Research
User: "I already researched this topic, here are my notes: [notes]. Write the draft."
→ Skip Phase 1, run Phases 2-5
Optimize Existing Content
User: "Optimize this blog post for SEO" + [attached content]
→ Skip Phases 1-2, run Phases 3-5
Promote Existing Content
User: "Generate social posts for this article: [URL or content]"
→ Skip Phases 1-4, run Phase 5 only
Content Calendar
If the user asks for a content plan or calendar:
- Research trending topics in their niche using web_search
- Cross-reference with their existing content (if known) to avoid duplication
- Suggest 4-8 topics for the next month with:
- Target keyword
- Estimated search volume (use web research clues)
- Difficulty assessment (how strong is the competition?)
- Recommended publish date
- Store the calendar in memory for tracking
Storing Brand Context
On first use, ask the user about their brand voice and store in memory:
- Tone: professional, casual, technical, friendly, authoritative?
- Audience: developers, marketers, business owners, general public?
- Formatting preferences: short paragraphs? lots of headers? code examples?
- Things to avoid: jargon level, competitors not to mention, topics to skip
- Existing content URL: for internal linking and avoiding duplication
Once stored, use these preferences for every future content generation without asking again.
Edge Cases
- No keyword given: if the user just says "write about AI agents", help them choose a specific keyword first using research
- Very competitive keyword: warn the user and suggest long-tail alternatives
- Existing content: if the user's site already has a similar article, flag it and suggest updating instead of creating new
- Multiple languages: support content creation in any language the user requests, adjusting SEO practices for that language's search engine norms
- Short-form content: for social posts or email copy (not blog posts), skip Phases 1 and 3, go straight to writing + formatting
1---
2name: content-engine
3description: >
4 Full-stack content creation pipeline from research to publication. Analyzes top-ranking competitor
5 articles, identifies content gaps, generates SEO-optimized blog posts with brand voice, adds meta
6 descriptions and internal link suggestions, formats for WordPress/Ghost/Notion/Hugo/Jekyll, and
7 creates platform-specific social media promotion posts for LinkedIn, Twitter/X, and Reddit. Use this
8 skill for: blog post writing, article creation, SEO content, keyword research, content gap analysis,
9 content strategy, content calendar planning, "write a blog post about X", competitor content analysis,
10 "what should I write about next", social media post generation from content, content marketing
11 automation, editorial workflow, copywriting, long-form content, content optimization, meta description
12 generation, or any request involving researching a topic and producing publish-ready content. Replaces
13 manually chaining web research, writing, SEO tools, CMS formatting, and social scheduling into one step.
14metadata:
15 source: https://skillmd.com/skills/modbender/content-engine
16 openclaw:
17 emoji: "✍️"
18---
19
20# Content Engine
21
22From blank page to published, optimized, and promoted — in one workflow. This skill turns a topic or keyword into a researched, drafted, optimized, and publish-ready piece of content.
23
24## Why This Exists
25
26Content creation with OpenClaw today requires manually chaining 4-5 skills: web research, writing, SEO optimization, CMS formatting, and social scheduling. This skill connects the full pipeline so you go from idea to published post in one flow.
27
28## The Pipeline
29
30Content Engine runs in 5 phases. The user can run the full pipeline or start from any phase.
31
32### Phase 1: Research
33
34When the user provides a topic or target keyword:
35
361. **Competitor analysis**: Use web_search to find the top 5-10 ranking articles for the target keyword
372. **Structure extraction**: For each competitor article, note:
38 - Word count (approximate from snippets)
39 - H2/H3 headings and structure
40 - Key angles and arguments
41 - What's missing or weak
423. **People Also Ask**: Search for "[keyword]" and extract related questions
434. **Content gap identification**: What do all competitors cover? What does nobody cover? The gap is the opportunity.
445. **Research brief output**:
45
46```
47📊 Research Brief: [Keyword]
48
49Top competitors (by ranking):
501. [Title] — [URL] — ~[word count] words
51 Key angle: [one sentence]
522. ...
53
54Common structure:
55- All cover: [topics everyone mentions]
56- Gap opportunities: [topics nobody covers well]
57
58People Also Ask:
59- [question 1]
60- [question 2]
61- [question 3]
62
63Recommended angle: [your unique take based on gaps]
64Recommended word count: [based on competitor average + 20%]
65```
66
67### Phase 2: Draft
68
69Generate a structured first draft using the research brief:
70
711. **Check for brand voice**: look in OpenClaw memory for stored brand guidelines, tone preferences, or writing style notes. If none exist, ask the user on first run and store for future use.
722. **Outline first**: generate an outline with H2/H3 structure before writing. Show the user and get approval (or auto-proceed if they said "just write it").
733. **Write the draft** following these principles:
74 - Open with a hook that addresses the reader's problem directly
75 - Use the gap opportunities from research as unique sections
76 - Include data points and specific examples (from research)
77 - Write for the target keyword naturally — no keyword stuffing
78 - End with a clear conclusion and call-to-action
794. **Output**: Markdown file saved to workspace
80
81### Phase 3: Optimize
82
83SEO and readability optimization:
84
851. **Meta description**: Generate a compelling meta description under 155 characters that includes the target keyword
862. **Title tag**: Optimize the title for search (include keyword, keep under 60 chars, make it compelling)
873. **Internal link suggestions**: if the user has provided a sitemap or list of existing content, suggest internal links. Otherwise, note where internal links could go.
884. **Image alt text**: suggest alt text for any images mentioned or planned
895. **Readability check**:
90 - Flag paragraphs longer than 4 sentences
91 - Flag sentences longer than 25 words
92 - Suggest subheadings every 300 words if missing
93 - Check for passive voice overuse
946. **Keyword integration check**: verify the target keyword appears in title, first paragraph, at least one H2, and meta description
95
96Output an optimization report appended to the draft:
97
98```
99🔍 SEO Optimization Report
100
101Title tag: [optimized title] ([char count])
102Meta description: [meta] ([char count])
103Target keyword: [keyword]
104 └─ In title: ✅
105 └─ In first paragraph: ✅
106 └─ In H2: ✅
107 └─ In meta: ✅
108Readability: [score/assessment]
109Suggested internal links: [list or "provide sitemap for suggestions"]
110```
111
112### Phase 4: Format & Publish
113
114Format the content for the user's CMS and prepare for publication:
115
1161. **Detect CMS**: check memory for CMS preference. Common options:
117 - **WordPress**: use WordPress skill if available, or output HTML-ready content with featured image suggestions
118 - **Ghost**: output in Ghost-compatible Markdown
119 - **Notion**: create a Notion page via Notion skill if available
120 - **Markdown/Hugo/Jekyll**: output as .md with proper frontmatter
121 - **No CMS**: just output clean Markdown
122
1232. **Frontmatter generation** (for static site generators):
124 ```yaml
125 ---
126 title: "[optimized title]"
127 description: "[meta description]"
128 date: [today]
129 tags: [relevant tags]
130 categories: [relevant categories]
131 ---
132 ```
133
1343. **Publish or save**: if CMS integration is available, offer to publish directly. Otherwise, save the final file and tell the user where it is.
135
136### Phase 5: Promote
137
138Generate social media promotion content:
139
1401. **Platform-specific posts**: generate posts optimized for each platform:
141 - **LinkedIn**: professional tone, 1-3 paragraphs, relevant hashtags
142 - **Twitter/X**: hook + link, under 280 chars, 2-3 hashtags
143 - **Reddit**: genuine value-add framing (not promotional), suggest appropriate subreddits
144 - **Hacker News**: technical angle, factual title
145
1462. **Schedule**: if Mixpost or Buffer skill is available, offer to schedule posts
1473. **Email newsletter**: offer to generate a newsletter blurb for the article
148
149Output all promotional content in a single block:
150
151```
152📢 Promotion Kit for: [Article Title]
153
154LinkedIn:
155[post text]
156
157Twitter/X:
158[tweet text]
159
160Reddit (suggested subreddits: r/[sub1], r/[sub2]):
161[post text]
162
163Newsletter blurb:
164[2-3 sentence summary for email]
165```
166
167## Usage Modes
168
169### Full Pipeline
170**User**: "Write a blog post about AI agent security best practices"
171→ Run all 5 phases sequentially, showing output at each stage
172
173### Research Only
174**User**: "Research what's ranking for 'openclaw tutorial'"
175→ Run Phase 1 only, output the research brief
176
177### Draft from Research
178**User**: "I already researched this topic, here are my notes: [notes]. Write the draft."
179→ Skip Phase 1, run Phases 2-5
180
181### Optimize Existing Content
182**User**: "Optimize this blog post for SEO" + [attached content]
183→ Skip Phases 1-2, run Phases 3-5
184
185### Promote Existing Content
186**User**: "Generate social posts for this article: [URL or content]"
187→ Skip Phases 1-4, run Phase 5 only
188
189## Content Calendar
190
191If the user asks for a content plan or calendar:
192
1931. Research trending topics in their niche using web_search
1942. Cross-reference with their existing content (if known) to avoid duplication
1953. Suggest 4-8 topics for the next month with:
196 - Target keyword
197 - Estimated search volume (use web research clues)
198 - Difficulty assessment (how strong is the competition?)
199 - Recommended publish date
2004. Store the calendar in memory for tracking
201
202## Storing Brand Context
203
204On first use, ask the user about their brand voice and store in memory:
205
206- **Tone**: professional, casual, technical, friendly, authoritative?
207- **Audience**: developers, marketers, business owners, general public?
208- **Formatting preferences**: short paragraphs? lots of headers? code examples?
209- **Things to avoid**: jargon level, competitors not to mention, topics to skip
210- **Existing content URL**: for internal linking and avoiding duplication
211
212Once stored, use these preferences for every future content generation without asking again.
213
214## Edge Cases
215
216- **No keyword given**: if the user just says "write about AI agents", help them choose a specific keyword first using research
217- **Very competitive keyword**: warn the user and suggest long-tail alternatives
218- **Existing content**: if the user's site already has a similar article, flag it and suggest updating instead of creating new
219- **Multiple languages**: support content creation in any language the user requests, adjusting SEO practices for that language's search engine norms
220- **Short-form content**: for social posts or email copy (not blog posts), skip Phases 1 and 3, go straight to writing + formatting