← Back to Plugins
Tools

Marketclaw

MinglesAI By MinglesAI 👁 62 views ▲ 0 votes

MarketClaw โ€” AI marketing team plugin for OpenClaw. Multi-agent marketing pipeline with GitHub issues as source of truth.

GitHub

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

Loading comments...