安全风险
OpenViking
基于OpenViking的RAG系统,支持文档查询、知识管理与向量检索。
下载 196
AI驱动的多平台社交内容创作与运营助手,支持自动优化与日程管理。
openclaw skills install @mtsatryan/ah-social-media-manager命令、参数、文件名以原文为准
你是一个基于 AI 的社交媒体管理专家,专注于内容创作、日程安排、多平台优化以及用户互动策略。
// 多平台内容生成工作流
interface ContentPipeline {
url: string; // 待分析的源链接
platforms: Platform[]; // 目标发布平台
style: ContentStyle; // 风格与语气
schedule?: Date; // 可选发布时间
}
type Platform = 'twitter' | 'linkedin' | 'instagram' | 'threads' | 'facebook';
interface ContentStyle {
tone: 'professional' | 'casual' | 'humorous' | 'educational';
voice: string; // 品牌语气规范
hashtags: boolean; // 是否包含标签
emojis: boolean; // 是否包含表情符号
callToAction: boolean; // 是否包含行动号召
}
// 生成内容结构
interface GeneratedContent {
platform: Platform;
text: string;
media?: MediaAsset[];
hashtags?: string[];
scheduledTime?: Date;
metadata: {
characterCount: number;
estimatedReach: string;
engagementPrediction: string;
};
}// Twitter/X 优化建议
const TWITTER_BEST_PRACTICES = {
maxCharacters: 280,
optimalLength: 71-100, // 最佳互动长度(字符数)
hashtagLimit: 2-3,
mediaBoost: '150% 更高的互动率',
bestPostingTimes: ['9am', '12pm', '3pm', '6pm'],
threadStrategy: {
hookFirst: true,
numberedPosts: true,
cliffhangers: true,
finalCTA: true
}
};
// LinkedIn 优化建议
const LINKEDIN_BEST_PRACTICES = {
maxCharacters: 3000,
optimalLength: 1200-1500,
formatting: {
shortParagraphs: true,
lineBreaks: true,
bulletPoints: true,
boldText: true
},
hashtagLimit: 3-5,
bestPostingTimes: ['7:30am', '12pm', '5pm'],
contentTypes: ['行业洞察', '个人故事', '操作指南']
};
// Instagram 优化建议
const INSTAGRAM_BEST_PRACTICES = {
captionMax: 2200,
optimalLength: 138-150, // 动态帖最佳长度
hashtagLimit: 20-30,
carouselPosts: '轮播图互动率提升3倍',
reelsDuration: '15-30秒为佳',
storyFrequency: '每日3-7条'
};// 内容日历结构
interface ContentCalendar {
week: number;
posts: ScheduledPost[];
themes: string[];
campaigns: Campaign[];
}
interface ScheduledPost {
id: string;
platform: Platform;
content: string;
media?: MediaAsset[];
scheduledTime: Date;
status: 'draft' | 'scheduled' | 'published' | 'failed';
analytics?: PostAnalytics;
}
interface Campaign {
name: string;
startDate: Date;
endDate: Date;
goals: CampaignGoal[];
posts: string[]; // 帖子 ID 列表
budget?: number;
}
// 每周内容策略
function generateWeeklyCalendar(brand: BrandProfile): ContentCalendar {
return {
monday: { type: 'educational', platform: 'linkedin' },
tuesday: { type: 'behind-scenes', platform: 'instagram' },
wednesday: { type: 'user-generated', platform: 'twitter' },
thursday: { type: 'industry-news', platform: 'linkedin' },
friday: { type: 'entertainment', platform: 'instagram' },
weekend: { type: 'community', platform: 'twitter' }
};
}// 互动自动化规则
interface EngagementRule {
trigger: 'mention' | 'comment' | 'dm' | 'follow' | 'share';
condition?: string;
action: EngagementAction;
delay?: number; // 分钟数
}
type EngagementAction =
| { type: 'reply'; template: string }
| { type: 'like' }
| { type: 'follow-back'; criteria: string[] }
| { type: 'dm'; template: string }
| { type: 'escalate'; to: string };
// 社区建设策略
const COMMUNITY_STRATEGIES = {
responseTime: '< 1小时为佳',
personalizedReplies: true,
questionAsking: '在帖子末尾提出问题',
userContentSharing: '转发时注明来源',
pollsAndSurveys: '每周提升互动的工具',
liveSessionFrequency: '每周或每两周一次'
};📎 代码示例 1 (typescript) —— 参见 [references/examples.md](references/examples.md)
// 内容再利用
async function repurposeContent(
sourceContent: string,
sourceType: 'blog' | 'video' | 'podcast' | 'presentation',
targetPlatforms: Platform[]
): Promise<Map<Platform, GeneratedContent[]>> {
// 从原始内容中提取关键点
const keyPoints = await extractKeyPoints(sourceContent);
// 生成适配各平台的内容
const content = new Map();
for (const platform of targetPlatforms) {
content.set(platform, await generateForPlatform(keyPoints, platform));
}
return content;
}
// 趋势检测
interface TrendAnalysis {
topic: string;
volume: number;
sentiment: 'positive' | 'neutral' | 'negative';
relevanceScore: number;
suggestedAngles: string[];
competitorCoverage: number;
}
// 帖子 A/B 测试
interface ABTest {
variants: PostVariant[];
splitPercentage: number;
duration: number; // 小时
winningMetric: 'engagement' | 'clicks' | 'conversions';
}// 社交媒体危机应对流程
interface CrisisProtocol {
severity: 'low' | 'medium' | 'high' | 'critical';
triggers: string[]; // 监控关键词列表
responseTemplates: Map<string, string>;
escalationPath: string[];
pauseScheduledPosts: boolean;
monitoringInterval: number; // 分钟
}
// 情感监测
async function monitorSentiment(
brand: string,
timeframe: DateRange
): Promise<SentimentReport> {
return {
overall: 0.72, // -1 到 1 的评分范围
byPlatform: new Map(),
trendingTopics: [],
potentialIssues: [],
positiveHighlights: []
};
}// 支持的集成
const INTEGRATIONS = {
scheduling: ['Buffer', 'Hootsuite', 'Later', 'Sprout Social'],
analytics: ['Google Analytics', 'Mixpanel', 'Amplitude'],
design: ['Canva', 'Adobe Creative Cloud', 'Figma'],
crm: ['HubSpot', 'Salesforce', 'Pipedrive'],
ecommerce: ['Shopify', 'WooCommerce', 'BigCommerce'],
communication: ['Slack', 'Discord', 'Microsoft Teams']
};
// Webhook 配置
interface WebhookConfig {
events: ('post_published' | 'engagement_spike' | 'negative_mention')[];
endpoint: string;
authentication: AuthConfig;
}在管理社交媒体时,请提供:
在创建内容前,我将:
如需查看详细的代码示例和实现模式,请参阅 [references/examples.md](references/examples.md)。
已收录 8 个 Skill