name: multi-agent-brand-studio
description: Use when setting up Multi-Agent Brand Studio on OpenClaw for multi-brand social media operations, approval-gated publishing, brand-isolated workspaces, or multi-agent content workflows.
metadata:
{
"openclaw": {
"emoji": "📱",
"requires": {
"bins": ["node"]
}
}
}
This skill sets up Multi-Agent Brand Studio, a complete AI-powered social media operations team on OpenClaw. It creates:
workspace-creator/skills/ directory to produce images. Recommended: nano-banana-pro (Gemini-based, free tier). Without it, Creator produces text visual briefs only and cannot generate images.Before installing, ensure:
openclaw onboard has been completed~/.openclaw/ directory exists1. Install the skill (if not already in workspace/skills/)
2. Trigger setup: "Set up Multi-Agent Brand Studio"
3. Follow the interactive onboarding (6 steps, ~10 minutes)
4. Start creating content!
When first triggered, this skill runs an interactive setup process.
Verify the environment is ready:
openclaw onboard completed~/.openclaw/ directory existsIf any prerequisite is missing, guide the user to resolve it before continuing.
All 5 agents are installed automatically. Do not ask the user to choose a team size.
The full team:
| Agent | Role |
|---|---|
| ------- | ------ |
| Leader | Orchestration, routing, quality gates |
| Creator | Content + visual (copywriting, image gen, platform formatting) |
| Worker | Execution for Leader (files, CLI, config, maintenance) |
| Researcher | Market research, competitor analysis |
| Engineer | Technical integrations, automation |
On-demand:
| Agent | Role |
|---|---|
| ------- | ------ |
| Reviewer | Independent quality review (spawned when needed) |
Model — All agents inherit the model configured during openclaw onboard (at agents.defaults.model). No per-agent model setup is needed.
> Advanced note: If you later want to run a leaner team, re-run scaffold.sh --agents leader,creator,engineer to scaffold a subset.
Execute the setup scripts to create all directories and files first:
# 1. Create directories, copy templates, set up symlinks
bash scripts/scaffold.sh \
--skill-dir "$(pwd)"
# 2. Merge agent configuration into openclaw.json
node scripts/patch-config.js \
--config ~/.openclaw/openclaw.json
The scaffold creates:
The config patcher merges into openclaw.json:
This step uses a guided flow — do not ask the user for raw chat IDs or thread IDs.
openclaw.json for channels.telegram.botToken/newbot and follow the prompts to create a bot"openclaw.json at channels.telegram.botTokenPresent the options in this order (Group+Topics first):
If DM+Topics:
{{From}}```bash
node scripts/telegram-topics.js \
--config ~/.openclaw/openclaw.json \
--chat
--name "Operations"
```
shared/operations/channel-map.mdcron/jobs.json — replace {{OPERATIONS_CHANNEL}} with the actual Operations channel address (format: chatId:threadId, e.g., 123456789:7)If Group+Topics:
{{To}}```bash
node scripts/telegram-topics.js \
--config ~/.openclaw/openclaw.json \
--chat
--name "Operations"
```
shared/operations/channel-map.mdcron/jobs.json — replace {{OPERATIONS_CHANNEL}} with the actual Operations channel address (format: chatId:threadId, e.g., -100XXXXXXXXXX:7)If DM-simple:
If Group-simple:
After scaffolding and Telegram configuration, run the sub-skills:
instance-setup skill)shared/INSTANCE.md, workspace/IDENTITY.mdbrand-manager add)scripts/telegram-topics.js to create a topic named after the brandshared/operations/channel-map.md and the brand config```
openclaw gateway restart
```
```
openclaw doctor
```
This validates: agent config, DM allowlist inheritance, session health, model availability, and workspace integrity.
sessions_send to at least one agent succeedsOptional: Enable QMD semantic memory
If patch-config.js reported "qmd binary not found" during Step 3, agents will use file-based memory (which works fine). To enable enhanced semantic search:
qmd-setup sub-skill, which guides you through installation and configuration.Suggested first tasks after setup:
shared/brands/{brand_id}/profile.mdshared/operations/posting-schedule.mdLeader uses fully async dispatch (sessions_send with timeoutSeconds: 0) for all agent communication. This means:
sessions_send when done (event-driven, not polling). Leader processes callbacks per the "Agent Callback Protocol" flow in AGENTS.md.tasks/T-{YYYYMMDD}-{HHMM}.md. Completed tasks are archived to tasks/archive/.stale-task-check, every 10 minutes) that scans tasks/ for steps stuck in [⏳] state. Runs as Leader.For centralized API key management instead of scattered env vars:
openclaw secrets audit # Check for plaintext secrets in config
openclaw secrets configure # Set up secret entries
openclaw secrets apply # Activate secrets
openclaw secrets reload # Hot-reload without gateway restart
Use the brand-manager sub-skill:
Each agent's behavior is defined in two files:
Modify these files to tune agent behavior for your specific needs.
The 3-layer memory system works automatically:
Optional enhancement: Install QMD for semantic search across the knowledge base. Use the qmd-setup sub-skill or install manually (bun install -g @tobilu/qmd).
See references/memory-system.md for detailed documentation.
Agents use standardized signals to communicate status. See references/signals-protocol.md for the complete signal dictionary.
| Document | Purpose | When to Read |
|---|---|---|
| ---------- | --------- | ------------- |
references/architecture.md | Star topology, session model, parallelism | Understanding system design |
references/agent-roles.md | Detailed agent capabilities and restrictions | Customizing team composition |
references/signals-protocol.md | Complete signal dictionary | Debugging agent communication |
references/memory-system.md | 3-layer memory + knowledge capture | Understanding memory behavior |
references/approval-workflow.md | Approval pipeline + owner shortcuts | Content publishing workflow |
references/troubleshooting.md | Known issues (IPv6, etc.) + solutions | When something breaks |
After installation, the following structure is created:
~/.openclaw/
├── openclaw.json # Updated with agent configs
├── workspace/ # Leader
│ ├── SOUL.md, AGENTS.md, HEARTBEAT.md, IDENTITY.md
│ ├── memory/, skills/, assets/
│ └── shared/ # Real directory (shared KB lives here)
│ ├── INSTANCE.md # Instance configuration
│ ├── brand-registry.md # Brand registry
│ ├── system-guide.md, brand-guide.md, compliance-guide.md
│ ├── team-roster.md
│ ├── brands/{id}/profile.md # Per-brand profiles
│ ├── domain/{id}-industry.md # Industry knowledge
│ ├── operations/ # Ops guides
│ └── errors/solutions.md # Error KB
├── workspace-creator/ # Creator
│ ├── SOUL.md, AGENTS.md, MEMORY.md
│ ├── memory/, skills/
│ └── shared -> ../workspace/shared/
├── workspace-worker/ # Worker
│ └── (same structure)
├── workspace-researcher/ # Researcher
│ └── (same structure)
├── workspace-engineer/ # Engineer
│ └── (same structure)
├── workspace-reviewer/ # Reviewer (minimal, read-only)
│ ├── SOUL.md, AGENTS.md
│ └── shared -> ../workspace/shared/
└── cron/jobs.json # Scheduled tasks
| Script | Purpose | When to Run |
|---|---|---|
| -------- | --------- | ------------- |
scripts/scaffold.sh | Create directories, copy templates, set up symlinks | During initial setup |
scripts/patch-config.js | Merge agent config into openclaw.json | During initial setup |
scripts/telegram-topics.js | Create forum topics in Telegram DM or supergroup | During setup and when adding brands |
| Skill | Purpose |
|---|---|
| ------- | --------- |
instance-setup | Configure owner info, language, bot identity |
brand-manager | Add, edit, archive brands |
qmd-setup | Install and configure QMD semantic search memory (optional) |
共 1 个版本