Tools
Marketclaw
MarketClaw โ AI marketing team plugin for OpenClaw. Multi-agent marketing pipeline with GitHub issues as source of truth.
Install
npm install -g
Configuration Example
workflow:
reviewPolicy: human # human | agent | skip
publishPolicy: agent # agent | skip | human
analyzeAfterDays: 7 # Days after publish before analytics
roles:
creator:
models:
medior: anthropic/claude-sonnet-4-5
publisher:
models:
junior: anthropic/claude-sonnet-4-5
README
# ๐ฃ MarketClaw
AI marketing team orchestration plugin for OpenClaw.
MarketClaw turns a Telegram group into an autonomous AI marketing pipeline:
**Strategist โ Creator โ Reviewer โ Publisher โ Analyst** โ end to end.
---
## Overview
MarketClaw forks DevClaw's battle-tested orchestration core and replaces the
development pipeline with a content marketing pipeline. The same atomic state machine,
heartbeat service, and audit trail โ optimized for campaigns instead of code.
```
Campaign idea โ Research brief โ Content draft โ Brand review โ Publish โ Analytics
๐ ๐ฏ โ๏ธ ๐๏ธ ๐ฃ ๐
Strategist Strategist Creator Reviewer Publisher Analyst
```
---
## Roles
| Role | Levels | What they do |
|------|--------|--------------|
| **Strategist** | junior / senior | CMO-level research. Writes campaign briefs, OKRs, creates content tasks |
| **Creator** | junior / medior / senior | Content writer. Posts, emails, articles. Opens content PR |
| **Reviewer** | junior / senior | Brand + quality review. Approves or rejects with specific feedback |
| **Publisher** | junior / senior | Publishes to platforms. Records published URLs and screenshots |
| **Analyst** | junior / senior | Collects metrics ~7 days post-publish. Feeds learnings into next brief |
---
## Installation
```bash
# Install MarketClaw
npm install -g @minglesai/marketclaw
# Add to openclaw.json plugins:
{
"plugins": {
"entries": {
"marketclaw": {
"module": "@minglesai/marketclaw"
}
}
}
}
```
---
## Quick Start
1. **Set up MarketClaw** (in Telegram group):
```
/onboard
```
Follow the guided setup. Creates workspace files and configures models.
2. **Set up a campaign repo**:
```bash
git init my-campaigns
cd my-campaigns
mkdir -p campaigns content social/linkedin email reports
cp /path/to/.agents/product-marketing-context.md .agents/
```
3. **Register the project**:
```
/project_register name=mycampaigns repo=~/git/my-campaigns baseBranch=main
```
4. **Fill in brand context** (critical):
Edit `.agents/product-marketing-context.md` with your company's voice, ICP, and positioning.
5. **Launch a campaign**:
```
Create a campaign: "LinkedIn presence for our Q1 launch"
```
MarketClaw creates an issue and dispatches a Strategist.
---
## Repo Structure
After setup, your campaign repo looks like this:
```
my-campaigns/
โโโ .agents/
โ โโโ product-marketing-context.md # ๐จ Fill this in โ brand voice, ICP, positioning
โโโ campaigns/
โ โโโ <slug>/
โ โโโ brief.md # Strategist writes this
โ โโโ okrs.md # Campaign OKRs
โโโ content/
โ โโโ <campaign>/ # Blog posts, articles
โโโ social/
โ โโโ linkedin/
โ โโโ twitter/
โ โโโ telegram/
โโโ email/ # Email campaigns
โโโ assets/ # Images, videos
โโโ reports/
โโโ <campaign>/
โโโ urls.md # Published URLs (Publisher writes this)
โโโ metrics-*.md # Analytics reports (Analyst writes this)
```
---
## Workflow Pipeline
```
Planning โโโ APPROVE โโโ To Do
โ
PICKUP
โ
Creating (Creator writes content + opens PR)
โ
COMPLETE
โ
To Review โโโ auto-detected PR
โ
APPROVED/SKIP
โ
To Publish (PR merged, content in main branch)
โ
PICKUP (Publisher worker)
โ
Publishing (Publisher posts to platform)
โ
PASS
โ
Published (hold โ waiting 7 days)
โ
[heartbeat cron after 7 days]
โ
To Analyze โ Analyzing โ Done
```
**Revision loop**: Any step can route to `To Improve โ Creating` for fixes.
---
## Configuration
Edit `marketclaw/workflow.yaml` in your workspace:
```yaml
workflow:
reviewPolicy: human # human | agent | skip
publishPolicy: agent # agent | skip | human
analyzeAfterDays: 7 # Days after publish before analytics
roles:
creator:
models:
medior: anthropic/claude-sonnet-4-5
publisher:
models:
junior: anthropic/claude-sonnet-4-5
```
---
## Content File Format
All content files use frontmatter:
```yaml
---
platform: linkedin
campaign: q1-launch
publish_date: "2024-03-15"
hashtags: ["#AI", "#SaaS"]
status: draft
---
Content goes here...
```
See `defaults/marketclaw/CONTENT_SPEC.md` for the full spec.
---
## Tools
MarketClaw registers the same tools as DevClaw with marketing-appropriate descriptions:
| Tool | What it does |
|------|--------------|
| `task_create` | Create campaign issues |
| `task_start` | Advance issue to next queue |
| `research_task` | Dispatch Strategist for campaign research |
| `work_finish` | Complete a worker's task |
| `tasks_status` | Live dashboard of all campaign work |
| `project_register` | Register campaign repo |
| `setup` | Configure MarketClaw |
---
## License
MIT โ [MinglesAI](https://mingles.ai)
tools
Comments
Sign in to leave a comment