[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-8414b7ae-4537-4b2a-a229-865b47752564":3,"$fdfbRw3bgFZnS-Vei5SfykdjWY2eNzUfGLRRHA5EAMHo":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"8414b7ae-4537-4b2a-a229-865b47752564","social-media-analyzer","社交媒体活动分析和绩效跟踪。计算参与率、投资回报率和跨平台基准。用于分析社交媒体表现、计算参与率、衡量活动投资回报率、比较平台指标或与行业标准进行基准比较。","cat_design_graphic","mod_design","alirezarezvani,design","---\nname: \"social-media-analyzer\"\ndescription: Social media campaign analysis and performance tracking. Calculates engagement rates, ROI, and benchmarks across platforms. Use for analyzing social media performance, calculating engagement rate, measuring campaign ROI, comparing platform metrics, or benchmarking against industry standards.\ntriggers:\n  - analyze social media\n  - calculate engagement rate\n  - social media ROI\n  - campaign performance\n  - compare platforms\n  - benchmark engagement\n  - Instagram analytics\n  - Facebook metrics\n  - TikTok performance\n  - LinkedIn engagement\n---\n\n# Social Media Analyzer\n\nCampaign performance analysis with engagement metrics, ROI calculations, and platform benchmarks.\n\n---\n\n## Table of Contents\n\n- [Analysis Workflow](#analysis-workflow)\n- [Engagement Metrics](#engagement-metrics)\n- [ROI Calculation](#roi-calculation)\n- [Platform Benchmarks](#platform-benchmarks)\n- [Tools](#tools)\n- [Examples](#examples)\n\n---\n\n## Analysis Workflow\n\nAnalyze social media campaign performance:\n\n1. Validate input data completeness (reach > 0, dates valid)\n2. Calculate engagement metrics per post\n3. Aggregate campaign-level metrics\n4. Calculate ROI if ad spend provided\n5. Compare against platform benchmarks\n6. Identify top and bottom performers\n7. Generate recommendations\n8. **Validation:** Engagement rate \u003C 100%, ROI matches spend data\n\n### Input Requirements\n\n| Field | Required | Description |\n|-------|----------|-------------|\n| platform | Yes | instagram, facebook, twitter, linkedin, tiktok |\n| posts[] | Yes | Array of post data |\n| posts[].likes | Yes | Like\u002Freaction count |\n| posts[].comments | Yes | Comment count |\n| posts[].reach | Yes | Unique users reached |\n| posts[].impressions | No | Total views |\n| posts[].shares | No | Share\u002Fretweet count |\n| posts[].saves | No | Save\u002Fbookmark count |\n| posts[].clicks | No | Link clicks |\n| total_spend | No | Ad spend (for ROI) |\n\n### Data Validation Checks\n\nBefore analysis, verify:\n\n- [ ] Reach > 0 for all posts (avoid division by zero)\n- [ ] Engagement counts are non-negative\n- [ ] Date range is valid (start \u003C end)\n- [ ] Platform is recognized\n- [ ] Spend > 0 if ROI requested\n\n---\n\n## Engagement Metrics\n\n### Engagement Rate Calculation\n\n```\nEngagement Rate = (Likes + Comments + Shares + Saves) \u002F Reach × 100\n```\n\n### Metric Definitions\n\n| Metric | Formula | Interpretation |\n|--------|---------|----------------|\n| Engagement Rate | Engagements \u002F Reach × 100 | Audience interaction level |\n| CTR | Clicks \u002F Impressions × 100 | Content click appeal |\n| Reach Rate | Reach \u002F Followers × 100 | Content distribution |\n| Virality Rate | Shares \u002F Impressions × 100 | Share-worthiness |\n| Save Rate | Saves \u002F Reach × 100 | Content value |\n\n### Performance Categories\n\n| Rating | Engagement Rate | Action |\n|--------|-----------------|--------|\n| Excellent | > 6% | Scale and replicate |\n| Good | 3-6% | Optimize and expand |\n| Average | 1-3% | Test improvements |\n| Poor | \u003C 1% | Analyze and pivot |\n\n---\n\n## ROI Calculation\n\nCalculate return on ad spend:\n\n1. Sum total engagements across posts\n2. Calculate cost per engagement (CPE)\n3. Calculate cost per click (CPC) if clicks available\n4. Estimate engagement value using benchmark rates\n5. Calculate ROI percentage\n6. **Validation:** ROI = (Value - Spend) \u002F Spend × 100\n\n### ROI Formulas\n\n| Metric | Formula |\n|--------|---------|\n| Cost Per Engagement (CPE) | Total Spend \u002F Total Engagements |\n| Cost Per Click (CPC) | Total Spend \u002F Total Clicks |\n| Cost Per Thousand (CPM) | (Spend \u002F Impressions) × 1000 |\n| Return on Ad Spend (ROAS) | Revenue \u002F Ad Spend |\n\n### Engagement Value Estimates\n\n| Action | Value | Rationale |\n|--------|-------|-----------|\n| Like | $0.50 | Brand awareness |\n| Comment | $2.00 | Active engagement |\n| Share | $5.00 | Amplification |\n| Save | $3.00 | Intent signal |\n| Click | $1.50 | Traffic value |\n\n### ROI Interpretation\n\n| ROI % | Rating | Recommendation |\n|-------|--------|----------------|\n| > 500% | Excellent | Scale budget significantly |\n| 200-500% | Good | Increase budget moderately |\n| 100-200% | Acceptable | Optimize before scaling |\n| 0-100% | Break-even | Review targeting and creative |\n| \u003C 0% | Negative | Pause and restructure |\n\n---\n\n## Platform Benchmarks\n\n### Engagement Rate by Platform\n\n| Platform | Average | Good | Excellent |\n|----------|---------|------|-----------|\n| Instagram | 1.22% | 3-6% | >6% |\n| Facebook | 0.07% | 0.5-1% | >1% |\n| Twitter\u002FX | 0.05% | 0.1-0.5% | >0.5% |\n| LinkedIn | 2.0% | 3-5% | >5% |\n| TikTok | 5.96% | 8-15% | >15% |\n\n### CTR by Platform\n\n| Platform | Average | Good | Excellent |\n|----------|---------|------|-----------|\n| Instagram | 0.22% | 0.5-1% | >1% |\n| Facebook | 0.90% | 1.5-2.5% | >2.5% |\n| LinkedIn | 0.44% | 1-2% | >2% |\n| TikTok | 0.30% | 0.5-1% | >1% |\n\n### CPC by Platform\n\n| Platform | Average | Good |\n|----------|---------|------|\n| Facebook | $0.97 | \u003C$0.50 |\n| Instagram | $1.20 | \u003C$0.70 |\n| LinkedIn | $5.26 | \u003C$3.00 |\n| TikTok | $1.00 | \u003C$0.50 |\n\nSee `references\u002Fplatform-benchmarks.md` for complete benchmark data.\n\n---\n\n## Tools\n\n### Calculate Metrics\n\n```bash\npython scripts\u002Fcalculate_metrics.py assets\u002Fsample_input.json\n```\n\nCalculates engagement rate, CTR, reach rate for each post and campaign totals.\n\n### Analyze Performance\n\n```bash\npython scripts\u002Fanalyze_performance.py assets\u002Fsample_input.json\n```\n\nGenerates full performance analysis with ROI, benchmarks, and recommendations.\n\n**Output includes:**\n- Campaign-level metrics\n- Post-by-post breakdown\n- Benchmark comparisons\n- Top performers ranked\n- Actionable recommendations\n\n---\n\n## Examples\n\n### Sample Input\n\nSee `assets\u002Fsample_input.json`:\n\n```json\n{\n  \"platform\": \"instagram\",\n  \"total_spend\": 500,\n  \"posts\": [\n    {\n      \"post_id\": \"post_001\",\n      \"content_type\": \"image\",\n      \"likes\": 342,\n      \"comments\": 28,\n      \"shares\": 15,\n      \"saves\": 45,\n      \"reach\": 5200,\n      \"impressions\": 8500,\n      \"clicks\": 120\n    }\n  ]\n}\n```\n\n### Sample Output\n\nSee `assets\u002Fexpected_output.json`:\n\n```json\n{\n  \"campaign_metrics\": {\n    \"total_engagements\": 1521,\n    \"avg_engagement_rate\": 8.36,\n    \"ctr\": 1.55\n  },\n  \"roi_metrics\": {\n    \"total_spend\": 500.0,\n    \"cost_per_engagement\": 0.33,\n    \"roi_percentage\": 660.5\n  },\n  \"insights\": {\n    \"overall_health\": \"excellent\",\n    \"benchmark_comparison\": {\n      \"engagement_status\": \"excellent\",\n      \"engagement_benchmark\": \"1.22%\",\n      \"engagement_actual\": \"8.36%\"\n    }\n  }\n}\n```\n\n### Interpretation\n\nThe sample campaign shows:\n- **Engagement rate 8.36%** vs 1.22% benchmark = Excellent (6.8x above average)\n- **CTR 1.55%** vs 0.22% benchmark = Excellent (7x above average)\n- **ROI 660%** = Outstanding return on $500 spend\n- **Recommendation:** Scale budget, replicate successful elements\n\n---\n\n## Reference Documentation\n\n### Platform Benchmarks\n\n`references\u002Fplatform-benchmarks.md` contains:\n\n- Engagement rate benchmarks by platform and industry\n- CTR benchmarks for organic and paid content\n- Cost benchmarks (CPC, CPM, CPE)\n- Content type performance by platform\n- Optimal posting times and frequency\n- ROI calculation formulas\n\n## Proactive Triggers\n\n- **Engagement rate below platform average** → Content isn't resonating. Analyze top performers for patterns.\n- **Follower growth stalled** → Content distribution or frequency issue. Audit posting patterns.\n- **High impressions, low engagement** → Reach without resonance. Content quality issue.\n- **Competitor outperforming significantly** → Content gap. Analyze their successful posts.\n\n## Output Artifacts\n\n| When you ask for... | You get... |\n|---------------------|------------|\n| \"Social media audit\" | Performance analysis across platforms with benchmarks |\n| \"What's performing?\" | Top content analysis with patterns and recommendations |\n| \"Competitor social analysis\" | Competitive social media comparison with gaps |\n\n## Communication\n\nAll output passes quality verification:\n- Self-verify: source attribution, assumption audit, confidence scoring\n- Output format: Bottom Line → What (with confidence) → Why → How to Act\n- Results only. Every finding tagged: 🟢 verified, 🟡 medium, 🔴 assumed.\n\n## Related Skills\n\n- **social-content**: For creating social posts. Use this skill for analyzing performance.\n- **campaign-analytics**: For cross-channel analytics including social.\n- **content-strategy**: For planning social content themes.\n- **marketing-context**: Provides audience context for better analysis.\n","","imported","https:\u002F\u002Fgithub.com\u002Falirezarezvani\u002Fclaude-skills","user_system_seed","SkillOPIC",true,234,218,"2026-05-16 14:03:03",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"设计创意","design","mdi-palette-outline","UI 设计、生成艺术、品牌视觉等创意 Skill",3,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"视觉创意","graphic","mdi-brush","海报、Logo、插画等视觉创作",2,48,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"35001213-dff8-4ba7-bd2c-53f08eb8150b","1.0.0","social-media-analyzer.zip",11292,"uploads\u002Fskills\u002F8414b7ae-4537-4b2a-a229-865b47752564\u002Fsocial-media-analyzer.zip","90a77fb78ff08f8f6129757a1c4a7f19b8449694fb2acf85256feb1b343465fa","[{\"path\":\"HOW_TO_USE.md\",\"isDirectory\":false,\"size\":1863},{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":8500},{\"path\":\"assets\u002Fexpected_output.json\",\"isDirectory\":false,\"size\":1519},{\"path\":\"assets\u002Fsample_input.json\",\"isDirectory\":false,\"size\":867},{\"path\":\"references\u002Fplatform-benchmarks.md\",\"isDirectory\":false,\"size\":6020},{\"path\":\"scripts\u002Fanalyze_performance.py\",\"isDirectory\":false,\"size\":7331},{\"path\":\"scripts\u002Fcalculate_metrics.py\",\"isDirectory\":false,\"size\":5540}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]