Public Relations Manager 📰
AI-Powered Public Relations Assistant for OpenClaw
Version: 1.0.0 | Status: Production Ready ✅
📋 Description
Public Relations Manager is a comprehensive AI-powered public relations assistant that helps PR professionals, marketers, and founders manage their media relations, create compelling content, and plan strategic campaigns.
Perfect for:
- - 🎯 PR Professionals - Manage media databases and outreach efficiently
- 🚀 Startups - Announce funding rounds and product launches professionally
- 📢 Marketing Teams - Coordinate content calendars and multi-channel campaigns
✨ Core Features
1. 🎯 Media Matching Engine
Intelligently match your story with the right journalists and media outlets using a 4-dimensional AI scoring algorithm:
- - Category Match (40%): Direct + related category alignment
- Influence Level (30%): Top-tier vs mid-tier vs niche outlets
- Relationship (15%): Response rate + interaction history
- Relevance (15%): Audience fit + outlet characteristics
Recommendation Levels:
- - 🟢 Highly Recommended (80-100): Perfect fit, pitch immediately
- 🟡 Recommended (65-79): Strong match, good opportunity
- 🟠 Maybe (50-64): Possible fit, consider context
- 🔴 Not Suitable (<50): Poor match, skip
2. 📰 Press Release Generation
Generate professional press releases for:
- - 📱 Product Launches: Feature announcements, new releases
- 💰 Funding Rounds: Series A/B/C, seed rounds
- 🤝 Partnerships: Strategic alliances, integrations
Each template includes:
- - Professional headline generation
- Structured body paragraphs
- Quote formatting
- Company boilerplate
- Contact information module
3. ✉️ Media Pitch Creation
Create personalized media pitches with:
- - Custom subject lines tailored to journalist interests
- Journalist-specific personalization based on their beat
- Exclusive offer support for unique story opportunities
- Follow-up templates for continued engagement
4. 📅 Campaign Planning
Plan comprehensive PR campaigns with:
- - Multi-week content calendars (4-8 weeks)
- Content scheduling by date and type
- Deadline tracking for upcoming and overdue items
- AI-powered content suggestions based on campaign goals
📦 Installation
From PyPI (Recommended)
CODEBLOCK0
From ClawHub
CODEBLOCK1
From GitHub Source
git clone https://github.com/ZhenRobotics/openclaw-public-relations-manager
cd openclaw-public-relations-manager
pip install -e .
🚀 Quick Start
CODEBLOCK3
📝 Usage Examples
Example 1: Generate Press Release
CODEBLOCK4
Example 2: Quick Match and Pitch Workflow
CODEBLOCK5
Example 3: Plan PR Campaign
CODEBLOCK6
📊 Sample Database
The skill includes realistic sample data:
Media Outlets (5):
- - 🚀 TechCrunch - Top-tier tech coverage
- 📰 The Wall Street Journal - Business/finance authority
- 💼 VentureBeat - Mid-tier tech news
- 💰 Forbes - Business and entrepreneurship
- 🔍 The Information - Tech insider coverage
Journalists (5):
- - Profiles with beat coverage, contact info, response rates
- Recent article lists
- Influence level classification
🧪 Testing
Run the comprehensive test suite:
CODEBLOCK7
All 6 core tests pass with 100% success rate:
- - ✅ Media matching engine
- ✅ Press release generation
- ✅ Media pitch creation
- ✅ Content calendar planning
- ✅ Quick workflows
- ✅ Database management
🔧 Parameters & Configuration
MediaCategory Enum
CODEBLOCK8
InfluenceLevel Enum
InfluenceLevel.TOP_TIER # Major outlets (NYT, WSJ, TechCrunch)
InfluenceLevel.MID_TIER # Industry publications
InfluenceLevel.NICHE # Specialized blogs/newsletters
InfluenceLevel.EMERGING # New/growing platforms
🗺️ Roadmap
v1.1 (Planned)
- - 📊 Analytics dashboard for campaign performance
- 📧 Email integration for automated sending
- 📈 Media coverage tracking
- 💬 Sentiment analysis
v1.2 (Planned)
- - 🔌 CRM integrations (HubSpot, Salesforce)
- 🌍 Multi-language support
- 📦 Press kit generation
- 🔔 Media monitoring alerts
v2.0 (Future)
- - 🤖 AI-powered newsjacking suggestions
- 🔍 Competitive PR intelligence
- ⏰ Automated follow-up scheduling
- 💵 ROI measurement tools
📚 Resources
- - GitHub: https://github.com/ZhenRobotics/openclaw-public-relations-manager
- PyPI: https://pypi.org/project/openclaw-public-relations-manager/
- Documentation: README.md
- Contributing: CONTRIBUTING.md
- Issues: https://github.com/ZhenRobotics/openclaw-public-relations-manager/issues
🤝 Support
- - Email: code@zhenrobot.com
- GitHub Issues: For bug reports and feature requests
- GitHub Discussions: For questions and community support
📄 License
MIT License - Open source and free to use
👥 Credits
Author: Justin Wang
Co-Author: Claude Sonnet 4.5
Organization: ZhenRobotics
📊 Technical Details
- - Language: Python 3.10+
- Platforms: Linux, macOS, Windows
- Dependencies: pydantic>=2.5.0, python-dateutil>=2.8.0
- Code Size: 4,078 lines across 27 modules
- Test Coverage: 6 comprehensive tests (100% pass rate)
- Architecture: Modular design with clear separation of concerns
🎯 Best Practices
For PR Professionals
- 1. Build your media database gradually
- Track journalist response rates
- Personalize every pitch
- Follow up strategically
For Startups
- 1. Prepare boilerplate and quotes in advance
- Time announcements strategically
- Build relationships before you need them
- Measure and iterate
For Marketing Teams
- 1. Plan campaigns 4-6 weeks ahead
- Align messaging across channels
- Track all media interactions
- Maintain consistent brand voice
🎊 Ready to transform your PR workflow? Install now and start managing media relations like a pro!
CODEBLOCK10
公共关系经理 📰
面向OpenClaw的AI驱动公共关系助手
版本: 1.0.0 | 状态: 生产就绪 ✅
📋 描述
公共关系经理是一款全面的AI驱动公共关系助手,帮助公关专业人士、营销人员和创始人管理媒体关系、创作引人入胜的内容并策划战略性营销活动。
适用人群:
- - 🎯 公关专业人士 - 高效管理媒体数据库和对外联络
- 🚀 初创企业 - 专业发布融资轮次和产品上线
- 📢 营销团队 - 协调内容日历和多渠道营销活动
✨ 核心功能
1. 🎯 媒体匹配引擎
使用四维AI评分算法,智能匹配您的故事与合适的记者和媒体渠道:
- - 类别匹配 (40%): 直接匹配 + 相关类别对齐
- 影响力等级 (30%): 顶级 vs 中端 vs 垂直渠道
- 关系度 (15%): 回复率 + 互动历史
- 相关性 (15%): 受众契合度 + 渠道特征
推荐等级:
- - 🟢 强烈推荐 (80-100): 完美匹配,立即投递
- 🟡 推荐 (65-79): 高度匹配,良好机会
- 🟠 可能 (50-64): 可能匹配,考虑上下文
- 🔴 不推荐 (<50): 匹配度低,跳过
2. 📰 新闻稿生成
为以下场景生成专业新闻稿:
- - 📱 产品发布: 功能公告、新品发布
- 💰 融资轮次: A/B/C轮、种子轮
- 🤝 合作伙伴关系: 战略联盟、集成合作
每个模板包含:
- - 专业标题生成
- 结构化正文段落
- 引用格式
- 公司简介
- 联系信息模块
3. ✉️ 媒体投递创建
创建个性化媒体投递,包含:
- - 定制主题行,贴合记者兴趣
- 针对记者的个性化内容,基于其报道领域
- 独家报道支持,提供独特故事机会
- 跟进模板,保持持续互动
4. 📅 活动策划
策划全面的公关活动,包含:
- - 多周内容日历 (4-8周)
- 按日期和类型的内容排期
- 截止日期追踪,管理即将到来和逾期项目
- AI驱动的内容建议,基于活动目标
📦 安装
从PyPI安装 (推荐)
bash
pip install openclaw-public-relations-manager
从ClawHub安装
bash
clawhub install public-relations-manager
从GitHub源码安装
bash
git clone https://github.com/ZhenRobotics/openclaw-public-relations-manager
cd openclaw-public-relations-manager
pip install -e .
🚀 快速开始
python
from pr_manager import PRManager, MediaCategory
初始化公关管理器
pr = PRManager()
加载示例媒体数据库 (5个渠道 + 5位记者)
from pr
manager.data import loadsample
mediadatabase
outlets, journalists = load
samplemedia_database()
for outlet in outlets:
pr.add
mediaoutlet(outlet)
for journalist in journalists:
pr.add_journalist(journalist)
将故事匹配到相关媒体
result = pr.match
storyto_media(
story_title=公司完成1000万美元A轮融资,
story_categories=[MediaCategory.TECH, MediaCategory.STARTUP],
min_score=60.0
)
print(f找到 {len(result.matches)} 个相关媒体联系人)
for match in result.gettopmatches(5):
print(f{match.targetname}: {match.overallscore}/100)
📝 使用示例
示例1: 生成新闻稿
python
生成产品发布新闻稿
press
release = pr.generateproduct
launchpr(
company_name=您的公司,
product_name=您的产品,
key_benefit=简化团队协作,
problem_solved=远程协调的挑战,
key_features=[
实时协作,
AI驱动自动化,
企业级安全
],
availability=立即可用,
pricing=起价99美元/月,
quotes=[
{
speaker: CEO姓名,
title: 首席执行官,
company: 您的公司,
text: 这改变了我们行业的游戏规则。
}
],
boilerplate=关于您的公司:领先的软件提供商...,
contact_info={Name: 公关团队, Email: pr@company.com},
location=加利福尼亚州旧金山
)
保存为markdown
with open(press_release.md, w) as f:
f.write(press
release.tomarkdown())
示例2: 快速匹配与投递工作流
python
一步完成故事匹配和投递生成
results = pr.quick
matchand_pitch(
story_title=AI初创公司颠覆行业,
story_categories=[MediaCategory.TECH, MediaCategory.STARTUP],
story_hook=公司推出突破性AI技术,
story_details=该平台自动化复杂工作流程...,
why_relevant=这与您的AI报道方向一致。,
top_n=5
)
审核并发送给前5位匹配记者
for journalist, pitch in results:
print(f\n收件人: {journalist.email})
print(f主题: {pitch.subject_line})
print(pitch.to_email())
示例3: 策划公关活动
python
from datetime import date, timedelta
创建6周产品发布活动
campaign = pr.create_campaign(
name=Q2产品发布,
goal=product_launch,
description=全面发布活动,
start_date=date.today() + timedelta(days=14),
duration_weeks=6,
target_categories=[MediaCategory.TECH, MediaCategory.BUSINESS],
key_messages=[
革命性AI技术,
10倍生产力提升,
企业级安全
],
budget=75000
)
获取AI建议的活动内容
planner = pr.calendar_planner
suggestions = planner.suggest
campaigncontent(campaign)
for suggestion in suggestions:
print(f{suggestion[title]} - {suggestion[content_type].value})
📊 示例数据库
该技能包含逼真的示例数据:
媒体渠道 (5个):
- - 🚀 TechCrunch - 顶级科技报道
- 📰 华尔街日报 - 商业/金融权威
- 💼 VentureBeat - 中端科技新闻
- 💰 福布斯 - 商业与创业
- 🔍 The Information - 科技内幕报道
记者 (5位):
- - 包含报道领域、联系信息、回复率的个人资料
- 近期文章列表
- 影响力等级分类
🧪 测试
运行完整测试套件:
bash
python testprmanager.py
所有6个核心测试均以100%成功率通过:
- - ✅ 媒体匹配引擎
- ✅ 新闻稿生成
- ✅ 媒体投递创建
- ✅ 内容日历规划
- ✅ 快速工作流
- ✅ 数据库管理
🔧 参数与配置
MediaCategory 枚举
python
MediaCategory.TECH # 科技
MediaCategory.STARTUP # 初创企业与创业
MediaCategory.BUSINESS # 通用商业
MediaCategory.FINANCE # 金融与投资
MediaCategory.CONSUMER # 消费品
MediaCategory.ENTERPRISE # 企业软件
MediaCategory.LIFESTYLE # 生活方式与文化
MediaCategory.HEALTH # 医疗健康与保健
InfluenceLevel 枚举
python
InfluenceLevel.TOP_TIER # 主要渠道 (纽约时报、华尔街日报、TechCrunch)
InfluenceLevel.MID_TIER # 行业出版物
InfluenceLevel.NICHE # 专业博客/通讯
InfluenceLevel.EMERGING # 新兴/成长平台
🗺️ 路线图
v1.1 (规划中)
- - 📊 活动效果分析仪表板
- 📧 邮件集成,支持自动发送
- 📈 媒体报道追踪
- 💬 情感分析
v1.2 (规划中)
- - 🔌 CRM集成 (HubSpot, Salesforce)
- 🌍 多语言支持
- 📦 新闻资料包生成
- 🔔 媒体监控提醒
v2.0 (未来)
- - 🤖 AI驱动的新闻劫持建议
- 🔍 竞争公关情报
- ⏰ 自动跟进排期
- 💵 ROI测量工具
📚 资源
- - GitHub: https://github.com/ZhenRobotics/openclaw-public-relations-manager