Analyze social media post titles to discover what makes content perform well. Use when user uploads data (Excel, CSV, JSON, text) with titles and engagement metrics, or when user wants to analyze a social media account's content performance without uploading files. Triggers include "分析标题", "内容洞察", "社媒分析", "标题优化", "content insight", "title analysis", "哪些标题表现好", "为什么这些内容火", "分析账号", "分析内容表现".
从高赞内容中发现规律,对比低表现内容验证差异,输出专业 HTML 报告。
LLM只做最轻的发现特征,统计和报告生成全部由脚本完成。
bash
pip install pandas openpyxl --break-system-packages -q
脚本位置:scripts/data_tool.py(与本SKILL.md同目录)
用户上传文件或直接粘贴数据时,可直接一键分析(自动识别列、自动生成特征、自动验证、自动出报告):
bash
输出将写入 ./runs/
bash
RUN_DIR=./runs/$(date +%Y%m%d-%H%M%S)
python {SKILLDIR}/scripts/datatool.py preview --accounts 账号名(平台) --size 100 --run-dir $RUN_DIR
看输出,判断哪列是标题、哪列是指标。数据会自动缓存到运行目录的 $RUNDIR/data_cache.csv。
如果不传 --run-dir,脚本会自动创建 ./runs/
按识别出的指标列排序,看Top和Bottom标题:
bash
python {SKILLDIR}/scripts/datatool.py sort --input $RUNDIR/data_cache.csv --col engagement --title-col title --n 25
数据量<100 用 --n 20~25,100~500 用 --n 30~50
仔细对比Top和Bottom标题,发现差异。然后将发现写入JSON文件,格式如下:
bash
cat > $RUNDIR/features.json << FEATURES_EOF
[
{
label: 实用指南型,
description: 包含具体的选购指导或穿搭教程,
match_keywords: [如何, 怎么选, 指南, 攻略, 教程, 法则]
},
{
label: 明星/IP联名,
description: 标题中含有明星名字或联名品牌,
match_keywords: [付航, 联名, 携手, ×]
},
{
label: 系列栏目化,
description: 北面硬壳| 这类固定格式的系列标题,
match_keywords: [硬壳|, 巅峰系列|, 联名|]
}
]
FEATURES_EOF
每个特征包含:
特征发现角度(不限于):
目标:发现10~15个特征。
bash
python {SKILLDIR}/scripts/datatool.py verify \
--input $RUNDIR/data_cache.csv \
--features $RUNDIR/features.json \
--output $RUNDIR/verify_result.json \
--run-dir $RUN_DIR
脚本会自动对每个特征计算:含特征 vs 不含特征的互动量/转赞比差异,输出结构化JSON。
看完verify摘要后,如果有因果辨析的洞察,写入JSON:
bash
cat > $RUNDIR/insights.json << INSIGHTS_EOF
[
{
title: 热度≠传播力,
content: 互动引导型标题热度高但转赞比低,吸引的是参与型用户而非传播型用户,
importance: high
},
{
title: 系列栏目化的真实价值,
content: 北面硬壳|系列热度中等但转赞比高,说明栏目化内容吸引的是高质量粉丝,
importance: normal
}
]
INSIGHTS_EOF
bash
python {SKILLDIR}/scripts/datatool.py report \
--verify-json $RUNDIR/verify_result.json \
--name TheNorthFace \
--output $RUN_DIR/report.html \
--insights $RUNDIR/insights.json \
--run-dir $RUN_DIR
然后将报告复制到输出目录供用户下载。
bash
python {SKILLDIR}/scripts/datatool.py preview --accounts 账号名(平台) --size 100
支持 Excel/CSV/TSV/JSON/TXT:
bash
python {SKILLDIR}/scripts/datatool.py preview --input {文件路径}
| 命令 | 用途 | 谁做 |
|---|---|---|
| preview | 查看数据结构 | 脚本 |
| sort |
LLM只做:看数据 → 写 features.json → 可选写 insights.json
如果数据有多个指标列(如热度+转赞比),可以:
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 social-media-title-insight-1776201691 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 social-media-title-insight-1776201691 技能
skillhub install social-media-title-insight-1776201691
文件大小: 16.27 KB | 发布时间: 2026-4-15 11:43