---
name: multi-ai-brainstorm
description: "Multi-AI brainstorming using Qwen coder-model. Collaborate with multiple AI agents (content, seo, smm, pm, code, design, web, app) for expert-level ideation. Use before any creative work for diverse perspectives."
---

# Multi-AI Brainstorm 🧠

> **Powered by Qwen Coder-Model** from PromptArch
> Enables collaborative brainstorming with 8 specialized AI agents

## Overview

This skill transforms Claude into a multi-brain collaboration system, leveraging Qwen's coder-model to provide diverse expert perspectives through specialized AI agents. Each agent brings unique domain expertise to the brainstorming process.

## How It Works

1. **Authentication**: First use will prompt for Qwen API key or OAuth token
2. **Agent Selection**: Choose from 8 specialized AI agents or use all for comprehensive brainstorming
3. **Collaborative Process**: Each agent provides insights from their domain perspective
4. **Synthesis**: Claude synthesizes all perspectives into actionable insights

## Available AI Agents

| Agent | Expertise | Best For |
|-------|-----------|----------|
| **content** | Copywriting & Communication | Blog posts, marketing copy, documentation |
| **seo** | Search Engine Optimization | SEO audits, keyword research, content strategy |
| **smm** | Social Media Marketing | Content calendars, campaign strategies |
| **pm** | Product Management | PRDs, roadmaps, feature prioritization |
| **code** | Software Architecture | Backend logic, algorithms, technical design |
| **design** | UI/UX Design | Mockups, design systems, user flows |
| **web** | Frontend Development | Responsive sites, web apps |
| **app** | Mobile Development | iOS/Android apps, mobile-first design |

## Usage

### Basic Brainstorming

```bash
# Start brainstorming with all agents
/multi-ai-brainstorm "I want to build a collaborative code editor"

# Use specific agents
/multi-ai-brainstorm "mobile app for fitness tracking" --agents design,app,pm

# Deep dive with one agent
/multi-ai-brainstorm "SEO strategy for SaaS product" --agents seo
```

### Configuration

The skill stores credentials in `~/.claude/qwen-credentials.json`:
```json
{
  "apiKey": "sk-...",
  "endpoint": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
}
```

## Agent Prompts

Each agent has specialized system prompts:

### Content Agent
Expert copywriter focused on creating engaging, clear, and persuasive content for various formats and audiences.

### SEO Agent
Search engine optimization specialist with expertise in technical SEO, content strategy, and performance analytics.

### SMM Agent
Social media manager specializing in multi-platform content strategies, community engagement, and viral marketing.

### PM Agent
Product manager experienced in PRD creation, roadmap planning, stakeholder management, and agile methodologies.

### Code Agent
Software architect focused on backend logic, algorithms, API design, and system architecture.

### Design Agent
UI/UX designer specializing in user research, interaction design, visual design systems, and accessibility.

### Web Agent
Frontend developer expert in responsive web design, modern frameworks (React, Vue, Angular), and web performance.

### App Agent
Mobile app developer specializing in iOS/Android development, React Native, Flutter, and mobile-first design patterns.

## Authentication Methods

### 1. API Key (Simple)
```bash
# You'll be prompted for your Qwen API key
# Get your key at: https://help.aliyun.com/zh/dashscope/
```

### 2. OAuth (Recommended - 2000 free daily requests)
```bash
# The skill will open a browser window for OAuth flow
# Or provide the device code manually
```

## Examples

### Product Ideation
```bash
/multi-ai-brainstorm "I want to create a AI-powered task management app" --agents pm,design,code
```

**Output:**
- **PM Agent**: Feature prioritization, user personas, success metrics
- **Design Agent**: UX patterns, visual direction, user flows
- **Code Agent**: Architecture recommendations, tech stack selection

### Content Strategy
```bash
/multi-ai-brainstorm "Blog content strategy for developer tools startup" --agents content,seo,smm
```

**Output:**
- **Content Agent**: Content pillars, editorial calendar, tone guidelines
- **SEO Agent**: Keyword research, on-page optimization, link building
- **SMM Agent**: Social distribution, engagement tactics, viral loops

## Technical Details

**API Endpoint**: Uses PromptArch proxy at `https://www.rommark.dev/tools/promptarch/api/qwen/chat`

**Model**: `coder-model` - Qwen's code-optimized model

**Rate Limits**:
- OAuth: 2000 free daily requests
- API Key: Based on your Qwen account plan

**Streaming**: Supports real-time streaming responses for longer brainstorming sessions

## Tips for Best Results

1. **Be Specific**: More context = better insights from each agent
2. **Combine Agents**: Use complementary agents (e.g., design + pm + code)
3. **Iterate**: Follow up with questions to dive deeper into specific insights
4. **Provide Context**: Share your target audience, constraints, and goals
5. **Use Examples**: Show similar products or content for reference

## Troubleshooting

**"Authentication failed"**
- Check your API key or OAuth token
- Verify endpoint URL is correct
- Try running `/multi-ai-brainstorm --reauth`

**"Agent timeout"**
- Check your internet connection
- The Qwen API might be experiencing high load
- Try again in a few moments

**"Unexpected response format"**
- The API response format may have changed
- Report the issue and include the error message

## Development

**Skill Location**: `~/.claude/skills/multi-ai-brainstorm/`

**Key Files**:
- `SKILL.md` - This file
- `qwen-client.js` - Qwen API client
- `brainstorm-orchestrator.js` - Multi-agent coordination

**Contributing**: Modify the agent prompts in `brainstorm-orchestrator.js` to customize brainstorming behavior.

## License

This skill uses the Qwen API which is subject to Alibaba Cloud's terms of service.
