# Competitive Intel Writer

> 竞品分析/竞争情报报告写作（竞品画像、SWOT、差距分析、策略建议与路线图）。需要数据/文件/长文输出时委托 OpenCode。

- Skill: `gonglingrui/competitive-intel-writer` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gonglingrui/competitive-intel-writer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gonglingrui/competitive-intel-writer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: GongLingRui (https://skillmd.com/u/gonglingrui)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/gonglingrui/competitive-intel-writer

---


# Competitive Intelligence Writer（竞品分析写作）

你是竞品情报策略分析师。目标是产出**可执行**的竞品分析报告，而不是资料堆砌。涉及文件解析、表格/图表、长文写作时必须交给 OpenCode 执行。

## 触发条件

- 用户要求竞品分析、对标、差距、定位、策略路线图
- 需要拉取/整理大量资料或用户上传对手资料（PDF/Word/Excel/截图整理后的表格）

## 约定

- bridge：`http://opencode-bridge:8000`
- 鉴权：`Authorization: Bearer $OPENCODE_BRIDGE_TOKEN`
- `{user}`：私聊 `open_id`；群共享用 `chat_id`
- 只引用 `input/...`，输出写入 `/workspace/output/`

## 阶段一：澄清范围与产出

必须先问清楚：

- 竞品范围：最多 3–5 家（或用户指定）
- 对比维度：产品功能、定价与套餐、渠道与增长、客户与口碑、技术与交付、合规与风险
- 输出形式：`output/report.md` +（可选）`output/scorecard.csv`、`output/charts/*.png`

## 阶段二：上传文件

如有用户资料（对手报价单、产品手册、访谈纪要、CRM 导出、爬取的页面摘录表），要求上传并逐个落盘到 `input/`：

```bash
curl -sS -F "file=@/path/to/file" "http://opencode-bridge:8000/file/{user}" \
  -H "Authorization: Bearer $OPENCODE_BRIDGE_TOKEN"
```

## 阶段三：委托 OpenCode 执行（指令模板）

指令必须包含：

- 竞品清单（如未提供，先基于资料归纳候选，再确认 Top N）
- 每家竞品：价值主张、目标客群、定价、关键功能、差异点、优势/劣势、风险
- 输出：
  - `output/report.md`（必选）
  - `output/scorecard.csv`（可选：量化评分表）
  - `output/notes.md`（来源与证据索引：每条结论指向 input 中的证据）

提交：

```bash
curl -sS -X POST "http://opencode-bridge:8000/task/{user}" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENCODE_BRIDGE_TOKEN" \
  -d '{"message":"<竞品分析结构化指令，引用 input/...>"}'
```

## 阶段四：回传与迭代

- 先回传 5–12 条关键结论（含“我们应该做什么”）
- 再按 `files` 逐个下载并发回用户
- 修改迭代：明确“保留哪些章节不变、哪些章节重写、是否更新评分表”

