小红书内容工具。使用场景: - 搜索小红书内容 - 获取首页推荐列表 - 获取帖子详情(包括互动数据和评论) - 发表评论到帖子 - 获取用户个人主页 - "跟踪一下小红书上的XX热点" - "分析小红书上关于XX的讨论" - "小红书XX话题报告" - "生成XX的小红书舆情报告"
100
Does it follow best practices?
Validation for skill structure
基于 xiaohongshu-mcp 封装。
完整文档请查看 README.md
| 脚本 | 用途 |
|---|---|
install-check.sh | 检查依赖是否安装 |
start-mcp.sh | 启动 MCP 服务 |
stop-mcp.sh | 停止 MCP 服务 |
status.sh | 检查登录状态 |
search.sh <关键词> | 搜索内容 |
recommend.sh | 获取推荐列表 |
post-detail.sh <feed_id> <xsec_token> | 获取帖子详情 |
comment.sh <feed_id> <xsec_token> <内容> | 发表评论 |
user-profile.sh <user_id> | 获取用户主页 |
track-topic.sh <话题> [选项] | 热点跟踪报告 |
export-long-image.sh | 帖子导出为长图(白底黑字+图片拼接) |
mcp-call.sh <tool> [args] | 通用工具调用 |
cd scripts/
# 1. 检查依赖
./install-check.sh
# 2. 启动服务
./start-mcp.sh
# 3. 检查状态
./status.sh
# 4. 搜索内容
./search.sh "春节旅游"| 工具名 | 描述 |
|---|---|
check_login_status | 检查登录状态 |
search_feeds | 搜索内容 |
list_feeds | 获取首页推荐 |
get_feed_detail | 获取帖子详情和评论 |
post_comment_to_feed | 发表评论 |
reply_comment_in_feed | 回复评论 |
user_profile | 获取用户主页 |
like_feed | 点赞/取消 |
favorite_feed | 收藏/取消 |
publish_content | 发布图文笔记 |
publish_with_video | 发布视频笔记 |
./track-topic.sh "DeepSeek" --limit 5
./track-topic.sh "春节旅游" --limit 10 --output report.md
./track-topic.sh "iPhone 16" --limit 5 --feishu搜索结果或帖子详情导出为带文字注释的 JPG 长图:
# 准备 posts.json(搜索+拉详情后整理)
cat > posts.json << 'EOF'
[
{
"title": "帖子标题",
"author": "作者名",
"stats": "1.3万赞 100收藏",
"desc": "正文摘要,支持\n换行",
"images": ["https://...webp", "https://...webp"],
"per_image_text": {"1": "第2张图的专属说明"}
}
]
EOF
./export-long-image.sh --posts-file posts.json -o output.jpg样式:白底黑字(模仿小红书原样),每个帖子前有文字块(标题+作者+正文),帖子间有分隔线。
per_image_text 可选:如果原帖文字明确指向某张图(如"图7-9是青龙桥"),把说明放在对应图片上方。未指定则所有文字集中在文字块。
字体:自动检测系统中文字体(STHeiti > Hiragino > Arial Unicode > Noto CJK)。
ec8bf79
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.