OpenClaw Content Creation: Build an AI Writing & Social Media Pipeline
One blog post. Eight platforms. Zero burnout. This guide shows you how to build a multi-agent content team with OpenClaw that handles research, writing, editing, social media scheduling, video scripts, and newsletter automation. A solo founder used this exact setup to hit 500K views in 5 days.
Why Content Creation Is the Perfect Use Case for AI Agents
Content creation follows a repeatable pipeline: research a topic, outline the structure, write the draft, edit for quality, format for each platform, and publish. Every step has clear inputs and outputs. That makes it ideal for AI agents.
Most creators hit a wall around 3-4 pieces per week. The research alone takes hours. Repurposing a blog post into tweets, LinkedIn posts, and video scripts adds another 2-3 hours per piece. The math does not work for solo creators or small teams trying to maintain presence across multiple platforms.
OpenClaw solves this by letting you build specialized agents that each handle one part of the pipeline. A research agent gathers data. A writer agent produces drafts. An editor agent polishes them. A social media agent repurposes the finished piece into platform-specific formats. Each agent has its own SOUL.md with personality, rules, and expertise tailored to its role.
The result: what used to take 8-10 hours per blog post now takes under 45 minutes, including human review. And the content is better, because each agent focuses on what it does best instead of one person trying to be a researcher, writer, editor, and social media manager all at once.
The Blog Writing Pipeline: Research to Publish in 5 Steps
The OpenClaw blog writing pipeline uses three agents working in sequence. Here is how each step works with real SOUL.md configurations you can copy.
Step 1: Research Agent (Radar)
The research agent analyzes the topic, gathers competitor content, identifies keyword opportunities, and produces a structured brief that the writer agent uses as input.
# SOUL.md — Radar (Research Agent)
## Personality
You are Radar, an SEO research analyst. You find content gaps,
analyze competitor articles, and produce structured briefs.
## Rules
- Always include 5 target keywords with search volume estimates
- Analyze the top 3 ranking articles for the target keyword
- Identify content gaps (topics they miss)
- Output format: Brief with sections, word count target, keywords,
angle, and 3 unique points competitors do not cover
- Never write the actual article — only produce the research brief
## Tools
- tools/search-google.cjs — Search Google for keyword research
- tools/analyze-url.cjs — Extract headings and content from URLsStep 2: Outline Generation
The research brief goes to the writer agent, which first generates an outline before writing. This two-pass approach produces better structure than going straight to a full draft.
# Send the brief to the writer agent
openclaw agent --agent echo --message "Create an outline based on
this research brief: [BRIEF_CONTENT]. Follow the outline format
in your SOUL.md. Include H2s, H3s, and bullet points for each
section. Target word count: 2500 words."Step 3: Draft Writing (Echo)
The writer agent takes the approved outline and produces a complete draft. The SOUL.md personality controls tone, sentence length, and style.
# SOUL.md — Echo (Content Writer Agent)
## Personality
You are Echo, a content writer who produces clear, actionable
technical content. You write like a practitioner, not a marketer.
## Rules
- Start every article with a concrete example or result, never
a generic definition
- Use short paragraphs (2-3 sentences max)
- Include code blocks for any technical instructions
- Write in second person ("you") for tutorials
- Never use: "In today's world", "It's worth noting",
"At the end of the day", "game-changer", "leverage"
- Every H2 section must include at least one actionable takeaway
- Target reading level: someone who has used a terminal before
but is not a senior engineer
- Word count: follow the brief's target exactlyStep 4: Editing and Quality Check
A dedicated editor agent reviews the draft for factual accuracy, readability, SEO optimization, and adherence to the style guide. This agent catches issues the writer agent misses because it has different instructions and a fresh perspective on the text.
# SOUL.md — Prism (Editor Agent)
## Personality
You are Prism, a content editor. You improve drafts without
rewriting them. You focus on clarity, accuracy, and SEO.
## Rules
- Check all code blocks for syntax errors
- Verify that target keywords appear in H1, first paragraph,
at least 2 H2s, and the conclusion
- Flag any claims that need a source or citation
- Ensure meta description is under 160 characters
- Check that the article flows logically from problem to solution
- Output: edited draft + a list of changes made + SEO score (1-10)
- Never change the author's voice — only fix errors and improve
clarityStep 5: Publish and Distribute
The final draft goes through a publishing agent that formats the content for your CMS, generates meta tags, creates social media posts, and queues everything for distribution. With a HEARTBEAT.md schedule, this entire pipeline can run automatically every week.
Automating the Full Pipeline with AGENTS.md
Instead of manually passing output between agents, use AGENTS.md to define the team and let the coordinator handle delegation. The coordinator agent (Orion) receives a topic, delegates research to Radar, sends the brief to Echo for writing, routes the draft to Prism for editing, and delivers the finished article.
# AGENTS.md — Content Team
## Team Members
- radar: Research and SEO analysis
- echo: Content writing and drafting
- prism: Editing and quality assurance
- spark: Social media repurposing
## Workflow
1. Receive topic from user or HEARTBEAT.md
2. Delegate to radar: "Research [TOPIC] and produce a content brief"
3. Send radar's brief to echo: "Write a draft based on this brief"
4. Send echo's draft to prism: "Edit this draft for quality and SEO"
5. Send prism's final to spark: "Create social media posts from this"
6. Report completion with links to all outputs# Set up the content team
mkdir -p agents/orion agents/radar agents/echo agents/prism agents/spark
openclaw agents add orion --workspace ./agents/orion --non-interactive
openclaw agents add radar --workspace ./agents/radar --non-interactive
openclaw agents add echo --workspace ./agents/echo --non-interactive
openclaw agents add prism --workspace ./agents/prism --non-interactive
openclaw agents add spark --workspace ./agents/spark --non-interactive
# Trigger the full pipeline with one command
openclaw agent --agent orion --message "Write a blog post about
OpenClaw content creation. Target: 2500 words. Keywords: openclaw
content creation, openclaw blog writing, ai content pipeline."One message to Orion produces a researched, written, edited, and repurposed blog post. The entire pipeline runs in 4-8 minutes depending on the model and word count. For a deeper dive on team configuration, see the agent teams guide.
Social Media Automation: Schedule and Post Across Platforms
A dedicated social media agent handles platform-specific content creation and scheduling. The agent knows the rules, character limits, and best practices for each platform because they are defined in its SOUL.md.
# SOUL.md — Spark (Social Media Agent)
## Personality
You are Spark, a social media content specialist. You transform
long-form content into platform-optimized posts that drive engagement.
## Platform Rules
### Twitter/X
- Thread format: 8-12 tweets, hook in tweet 1, CTA in last tweet
- Each tweet under 280 characters
- Use line breaks for readability
- Include 1-2 relevant hashtags per thread, not per tweet
- Hook formula: [Surprising stat] + [What I did] + [Result]
### LinkedIn
- Professional tone, first person
- Start with a bold statement or contrarian take
- 1300 characters max for optimal reach
- End with a question to drive comments
- No hashtags in the body, 3-5 at the bottom
### TikTok Script
- 60-second spoken word format
- Hook in first 3 seconds
- Include [VISUAL CUE] markers for b-roll
- End with a call-to-action
- Conversational tone, no jargon
### YouTube Shorts Script
- 58 seconds max
- Pattern interrupt opening
- 3 key points, rapid delivery
- Subscribe CTA at the endScheduling Posts with Tool Scripts
The social media agent can schedule posts using tool scripts that connect to platform APIs or scheduling services like Buffer and Typefully.
// tools/schedule-tweet.cjs — Tool script for the social agent
const { TwitterApi } = require('twitter-api-v2');
const client = new TwitterApi({
appKey: process.env.TWITTER_API_KEY,
appSecret: process.env.TWITTER_API_SECRET,
accessToken: process.env.TWITTER_ACCESS_TOKEN,
accessSecret: process.env.TWITTER_ACCESS_SECRET,
});
async function scheduleTweet(text, scheduledAt) {
const tweet = await client.v2.tweet(text, {
scheduled_at: scheduledAt, // ISO 8601 format
});
return tweet;
}
// Agent calls this with: schedule-tweet "Your tweet text" "2026-03-22T09:00:00Z"
const [text, date] = process.argv.slice(2);
scheduleTweet(text, date).then(r => console.log("Scheduled:", r.data.id));TikTok and YouTube Script Generation
Video scripts follow a different structure than written content. The key differences: shorter sentences, spoken-word cadence, visual cues for editing, and hooks that work in the first 3 seconds. Your script agent needs separate rules for each format.
# Example: Blog post to TikTok script conversion
## Input (from blog post)
"OpenClaw agents can produce 5 blog posts per week at 80% lower cost
than manual writing. The pipeline runs research, writing, and editing
automatically using AGENTS.md team coordination."
## Output (TikTok script, 60 seconds)
[HOOK - 3 seconds]
"I replaced my entire content team with 4 AI agents.
Here is what happened."
[VISUAL: Screen recording of terminal running openclaw]
[BODY - 45 seconds]
"I set up 4 agents on OpenClaw. One researches topics.
One writes drafts. One edits. One handles social media.
Every Monday morning, the coordinator agent gets a heartbeat
trigger. It delegates to the research agent first.
[VISUAL: AGENTS.md file on screen]
The research comes back in 90 seconds. Then it goes to the
writer. Full 2000-word draft in 3 minutes.
[VISUAL: Draft appearing in terminal output]
The editor catches errors the writer missed. Different
instructions, fresh perspective.
Last week I published 5 blog posts. Total hands-on time:
2 hours. The agents handled the other 38 hours."
[CTA - 12 seconds]
"Link in bio to get the exact agent templates I use.
Follow for more AI automation content."
[VISUAL: CrewClaw agent gallery page]For YouTube, the scripts follow a similar pattern but run longer (8-12 minutes for standard videos). The agent generates timestamps, chapter markers, and description text with keywords. Include a rule in SOUL.md requiring a "pattern interrupt" every 90 seconds to maintain viewer retention.
Newsletter Automation: Weekly Digests on Autopilot
A newsletter agent compiles the week's content into a formatted email digest. It pulls from your published blog posts, social media highlights, and any curated links you have saved. With a weekly HEARTBEAT.md, the newsletter writes itself every Friday.
# SOUL.md — Pulse (Newsletter Agent)
## Personality
You are Pulse, a newsletter curator and writer. You create
weekly email digests that readers actually open.
## Rules
- Subject line: under 50 characters, curiosity-driven
- Format: 1 hero story + 3 quick links + 1 tip of the week
- Total length: 500 words max (2-minute read)
- Write in a casual, conversational tone
- Include one personal insight or behind-the-scenes detail
- End with a single clear CTA (not multiple competing CTAs)
- Never use "Happy [day]!" or "Hope this finds you well"
## Tools
- tools/fetch-recent-posts.cjs — Get this week's published content
- tools/send-email.cjs — Send via Resend/Mailgun API# HEARTBEAT.md — Weekly Newsletter (Pulse Agent)
## Schedule
Every 168 hours
## Instructions
1. Fetch all blog posts published this week using fetch-recent-posts
2. Select the most impactful post as the hero story
3. Summarize the other posts as quick links with one-line descriptions
4. Write the "tip of the week" based on the most practical advice
from this week's content
5. Generate 3 subject line options (I will pick one before sending)
6. Format the newsletter in HTML email template
7. Send the draft to Telegram for my approval before dispatchingSEO Content at Scale: Keyword-Driven Article Production
The research agent does not just find topics. It builds a keyword map that drives your entire content calendar. Here is the SEO workflow that consistently produces articles ranking on page 1 within 2-4 weeks.
# SEO Content Workflow
## Step 1: Keyword Research (Radar Agent)
openclaw agent --agent radar --message "Find 20 long-tail keywords
related to 'openclaw content creation' with monthly search volume
under 1000. Prioritize keywords with low competition and high
commercial intent. Output as a ranked list."
## Step 2: Content Calendar (Orion Agent)
openclaw agent --agent orion --message "Using this keyword list,
create a 4-week content calendar. Group related keywords into
topic clusters. Each cluster gets one pillar article and 2-3
supporting articles. Include internal linking strategy."
## Step 3: Batch Production (Echo Agent, via Orion)
openclaw agent --agent orion --message "Execute week 1 of the
content calendar. Produce all 3 articles using the standard
research-write-edit pipeline. Target: 2000 words each."This workflow produces 10-12 SEO-optimized articles per month with proper internal linking, keyword targeting, and topic clustering. The research agent identifies gaps that manual research would miss because it systematically analyzes every competing article for each target keyword.
Content Repurposing: One Blog Post, Eight Formats
The highest ROI content strategy is not creating more original content. It is repurposing what you already have. One 2500-word blog post contains enough material for a week of social media content across every platform.
Here is the exact repurposing matrix the Spark agent follows:
Blog Post (2500 words) → Twitter Thread (10 tweets)
Extract the core argument into a hook tweet. Each subsequent tweet covers one key point. End with a link to the full article. Best posted Tuesday-Thursday, 8-10am.
Blog Post → LinkedIn Post (1300 chars)
Reframe the topic for a professional audience. Lead with a bold claim or result. Include 3 bullet points of takeaways. End with a question to drive comments. Post Monday-Wednesday.
Blog Post → TikTok Script (60 seconds)
Distill the main takeaway into a spoken-word script with visual cues. Hook in 3 seconds. Conversational delivery. CTA at the end. Record the same day the blog publishes.
Blog Post → YouTube Short (58 seconds)
Similar to TikTok but with a pattern interrupt opening and faster pacing. Include on-screen text overlays. Subscribe CTA instead of link-in-bio.
Blog Post → Newsletter Section
Compress into a 150-word summary with one key insight and a "read more" link. This feeds directly into the Pulse newsletter agent's weekly digest.
Blog Post → Reddit Post
Strip all marketing language. Rewrite as a "here is what I learned" personal experience post. Include technical details Reddit communities value. Never link to your site in the post body.
Blog Post → Email Sequence (3 emails)
Split the blog into a 3-part educational sequence. Day 1: the problem. Day 3: the solution. Day 5: the implementation. Each email stands alone and drives back to the full guide.
Blog Post → Infographic Outline
Extract statistics, step-by-step processes, and comparisons into a structured outline for visual design. The agent outputs section headers, data points, and suggested layouts.
# Repurpose a blog post into all formats at once
openclaw agent --agent spark --message "Repurpose this blog post
into all 8 formats defined in your SOUL.md:
[PASTE BLOG POST TEXT OR URL]
Output each format in a clearly labeled section. Include platform-
specific metadata (hashtags for Twitter, posting time suggestions,
character counts)."Real Example: 500K Views in 5 Days
A solo developer building an open-source project set up the exact content pipeline described above. Here is the timeline and what happened.
Day 0 (Setup): Created 4 agents: research, writer, editor, and social media. Total setup time: 35 minutes. Configured SOUL.md for each agent with project-specific voice and rules. Set up AGENTS.md for the coordinator.
Day 1: Published a technical blog post (2800 words). The pipeline produced the draft in 6 minutes. Human review and edits took 20 minutes. The social media agent generated a Twitter thread, LinkedIn post, and Reddit post. Twitter thread posted at 9am EST.
Day 2: The Twitter thread hit 45K impressions. LinkedIn post reached 12K views. Reddit post gained traction in r/programming with 340 upvotes. The agent repurposed the most engaged tweet into a standalone post, which doubled down on the momentum.
Day 3: Published a second blog post targeting a related keyword the research agent identified from the first post's traffic data. The social media agent cross-referenced the first post's performance to optimize hooks and posting times.
Day 4-5: Two more articles published. The compounding effect kicked in. Each new post linked to previous ones. Twitter followers grew from 800 to 3,200. The newsletter agent sent a digest that drove 2,400 clicks back to the blog.
Result: 500K total content views across all platforms. 4 blog posts. 4 Twitter threads. 4 LinkedIn posts. 2 Reddit posts. 1 newsletter. Total human time invested: about 6 hours across 5 days. The agents handled roughly 40 hours of work that would have been manual research, writing, editing, and reformatting.
The key was not one viral post. It was consistent, high-quality output across multiple platforms, compounding over 5 days. The agents enabled a pace that no solo creator could maintain manually.
Setting Up Your Multi-Agent Content Team
Here is the complete setup for a 5-agent content team. Copy the commands and customize the SOUL.md files for your brand.
# Create the content team workspace
mkdir -p content-team/agents/{orion,radar,echo,prism,spark}
cd content-team
# Initialize OpenClaw
openclaw init
# Register all 5 agents
openclaw agents add orion --workspace ./agents/orion --non-interactive
openclaw agents add radar --workspace ./agents/radar --non-interactive
openclaw agents add echo --workspace ./agents/echo --non-interactive
openclaw agents add prism --workspace ./agents/prism --non-interactive
openclaw agents add spark --workspace ./agents/spark --non-interactive
# Verify the team
openclaw agents list
# Output:
# NAME WORKSPACE STATUS
# orion ./agents/orion active (coordinator)
# radar ./agents/radar active
# echo ./agents/echo active
# prism ./agents/prism active
# spark ./agents/spark activeAgent Roles Summary
Orion (Coordinator): Receives topics, delegates to the team, tracks progress, delivers final output. Has AGENTS.md defining the workflow.
Radar (Researcher): Keyword research, competitor analysis, content briefs. Has search and URL analysis tools.
Echo (Writer): Produces drafts from briefs. Follows strict style and formatting rules. No tools needed beyond the LLM.
Prism (Editor): Reviews drafts for quality, SEO, and accuracy. Outputs edited version with a change log.
Spark (Social Media): Repurposes content into platform-specific formats. Has scheduling tool scripts for automated posting.
Adding a Weekly Heartbeat
To run the content pipeline automatically every Monday:
# HEARTBEAT.md — Orion (Weekly Content Pipeline)
## Schedule
Every 168 hours
## Instructions
1. Ask Radar to identify the top 3 content opportunities this week
based on trending keywords and content gaps
2. Select the highest-priority topic
3. Run the full pipeline: research -> outline -> draft -> edit
4. Send the finished article to Spark for social media repurposing
5. Send the weekly content report to Telegram with:
- Article title and word count
- Target keywords and competition level
- Social media posts created (with preview text)
- Suggested publish date and timeStart the gateway with pm2 for 24/7 operation:
pm2 start "openclaw gateway start" --name content-team
pm2 startup
pm2 save7 Tips for Better AI-Generated Content
1. Feed your agents your best-performing content
Include 3-5 examples of your top posts in the agent's workspace. Reference them in SOUL.md: "Match the tone and structure of the example posts in /reference/." This trains the agent on your actual style, not a generic approximation.
2. Define a banned phrases list
AI models default to certain filler phrases. Add a "Never use" section to SOUL.md with phrases like "dive into", "it's important to note", "in this article we will", and "without further ado." The output immediately sounds more human.
3. Use the editor agent, not self-editing
An agent editing its own output misses the same mistakes twice. A separate editor agent with different instructions catches structural issues, redundant paragraphs, and SEO gaps that the writer agent is blind to.
4. Always start with research, never skip it
Skipping the research step saves 2 minutes but costs you rankings. The research agent identifies angles and keywords you would not find on your own. Articles written from research briefs consistently outperform those written from a topic alone.
5. Repurpose on the same day you publish
Social media content performs best when it is fresh and you are actively engaging with responses. Have the social media agent produce all formats immediately after the blog post is approved, not days later.
6. Add personal details manually
The one thing AI cannot replicate is your personal experience. After the agent produces a draft, spend 5 minutes adding a personal anecdote, a specific result you achieved, or a mistake you made. This is what makes content memorable.
7. Use local models for high-volume drafts
For first drafts and social media posts, a local model through Ollama eliminates API costs. Save cloud models like Claude or GPT-4o for the final editing pass where quality matters most.
Frequently Asked Questions
Can OpenClaw agents write entire blog posts without human input?
OpenClaw agents can produce complete drafts, but the best results come from a human-in-the-loop workflow. The research agent gathers data and the writer agent produces a draft based on your SOUL.md guidelines, but a human should review for accuracy, add personal anecdotes, and approve before publishing. Most teams use agents to go from a blank page to a 90% finished draft in minutes, then spend 10 minutes on final edits. This keeps the content authentic while cutting production time by 80% or more.
How do I prevent my AI-generated content from sounding generic?
The key is your SOUL.md configuration. Define a specific voice, banned phrases, required sentence structures, and example paragraphs that match your brand. Include rules like 'Never use corporate jargon', 'Start articles with a concrete example, not a definition', and 'Write in first person with short sentences.' The more specific your personality rules, the more distinctive the output. Also feed the agent your top-performing posts as reference material so it learns your actual writing patterns rather than defaulting to generic AI prose.
What is the cost of running a multi-agent content team?
A typical 3-agent content team (researcher, writer, editor) producing 5 blog posts per week costs approximately $15-30/month in API credits using Claude Haiku or GPT-4o-mini. If you use a local model through Ollama, the API cost drops to zero and you only pay for electricity. The CrewClaw deploy package is a one-time $9 payment. For high-volume operations producing 20+ pieces per week, expect $50-80/month in API costs, or switch to a local model like Llama 3 via Ollama for unlimited generation at no per-token cost.
Can OpenClaw agents post directly to social media platforms?
OpenClaw agents generate the content and can trigger posting through tool scripts. You write a tool script in your agent workspace that calls the Twitter API, LinkedIn API, or uses a service like Buffer or Typefully. The agent calls this tool as part of its workflow. For example, your social media agent drafts 5 tweets, you approve them via Telegram, and the agent posts them on schedule using the Twitter API tool. Direct API posting requires your own API keys for each platform.
How do I repurpose a single blog post into multiple content formats?
Create a repurposing agent with a SOUL.md that defines transformation rules for each platform. Send it a blog post URL or text, and it produces a Twitter thread (8-12 tweets with hooks), a LinkedIn post (professional angle with takeaways), a TikTok script (60 seconds, spoken word with visual cues), a YouTube intro script, and a newsletter section. The agent uses AGENTS.md to coordinate with format-specific sub-agents if needed. One 2000-word blog post typically yields 8-12 pieces of platform-specific content in under 3 minutes.
Build Your AI Content Team in Minutes
CrewClaw deploy packages include pre-configured SOUL.md files for content teams, social media tool scripts, and HEARTBEAT.md templates for automated publishing pipelines.
Deploy a Ready-Made AI Agent
Skip the setup. Pick a template and deploy in 60 seconds.