Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

小红书热点半自动化发布系统

v1.1.0

帮助小红书创作者生成主题内容并半自动化管理发布流程,支持复制、一键切换、时间规划和状态跟踪。

1· 193·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for shixiangyu2/xiaohongshu-hot-publish.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "小红书热点半自动化发布系统" (shixiangyu2/xiaohongshu-hot-publish) from ClawHub.
Skill page: https://clawhub.ai/shixiangyu2/xiaohongshu-hot-publish
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install xiaohongshu-hot-publish

ClawHub CLI

Package manager switcher

npx clawhub@latest install xiaohongshu-hot-publish
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The skill's code and documentation mostly match the description (content generation + HTML page with copy/open/track features). However several runtime artifacts referenced throughout the docs and tests are missing from the manifest (notably template.html). Tests and code expect a template file and template variables (e.g. '{{BRAND_NAME}}', '{{CONTENT_SELECTOR}}') — but template.html is not present in the file list. That makes the package incomplete and not coherent with its stated usage.
!
Instruction Scope
SKILL.md instructions stay within the declared purpose (generate content and create an HTML page). But the pre-scan found unicode-control-chars in SKILL.md (prompt-injection style). While the visible instructions are normal, the presence of control characters can be used to hide or manipulate content and should be inspected. The SKILL.md also directs use of an upload script that invokes an external CLI (clawhub) and opens browser login — expected for publishing but worth noting.
Install Mechanism
There is no install spec (lower risk), and included code runs locally. The only executable artifact is publish_to_clawhub.sh which calls the ClawHub CLI (clawhub publish/login) — this is an optional publishing helper rather than an installer. No network-download installs or obscure URLs were found. Still, the upload script will attempt to interact with external services if run.
Credentials
The skill declares no required environment variables or credentials, which matches the content-generation/local-HTML purpose. One caveat: the publish_to_clawhub.sh script requires the user to be logged into the ClawHub CLI (it will run 'clawhub login' and open a browser). The SKILL.md also mentions optional integrations (feishu, browser automation) but these are only references — no credentials are declared or required by the packaged code.
Persistence & Privilege
The skill is not always-enabled and does not request elevated/system-wide privileges. It does not declare any persistent background components. Autonomous model invocation is allowed by default but that is platform-normal and not by itself a security flag here.
Scan Findings in Context
[unicode-control-chars] unexpected: The SKILL.md contained unicode control characters pattern(s). This is not expected for ordinary documentation and can be used to obfuscate or manipulate how text is parsed by LLMs or other tools. Recommend inspecting SKILL.md in a hex/ascii view or removing hidden control chars before trusting the skill.
What to consider before installing
Summary of what to check before installing or running this skill: 1) Missing template: The package references template.html (used by generate_html_page and validated by tests) but template.html is not present in the manifest. Do not run the scripts expecting HTML generation until you add/restore template.html or confirm generate_html_page can run without it. 2) Inspect for hidden characters: The SKILL.md triggered a 'unicode-control-chars' finding. Open SKILL.md in a plain text editor that can show non-printable characters (or run a hex dump) and remove any control characters. These can hide instructions or change parsing by tools/LLMs. 3) Run locally in a sandbox: Execute demo.py / example_usage.py in an isolated environment (temp directory, virtualenv) so files are written only where you expect. Review create_hot_publish_page.py for any unexpected network calls before running; from the provided code there are no obvious remote endpoints but verify the full file. 4) Be cautious with publish_to_clawhub.sh: It invokes the clawhub CLI and will prompt you to login (opens browser). Only run it if you trust the publisher and intend to publish — it may interact with external services and your ClawHub account. 5) Validate tests and templates: test_skill.py asserts the presence of template variables and enforces a performance check; tests may be flaky (timing thresholds) and expect files that are currently missing. Fix or supply template.html and re-run tests before publishing. 6) Review optional integrations: The docs reference integrations (feishu, browser automation, xiaohongshu-auto-publish). Those are not implemented here, but avoid enabling/integrating with other skills or services until you review their required credentials. If you want, I can: (a) scan create_hot_publish_page.py for any network or hidden behaviors line-by-line, (b) search SKILL.md for the exact control characters and show their positions, or (c) suggest a minimal template.html to restore functionality.

Like a lobster shell, security has layers — review code before you run it.

ai-toolsvk9767zp73hsp97168qd8t3jccn833cb2automationvk9767zp73hsp97168qd8t3jccn833cb2chinesevk9767zp73hsp97168qd8t3jccn833cb2content-creationvk9767zp73hsp97168qd8t3jccn833cb2latestvk9767zp73hsp97168qd8t3jccn833cb2social-mediavk9767zp73hsp97168qd8t3jccn833cb2xiaohongshuvk9767zp73hsp97168qd8t3jccn833cb2
193downloads
1stars
1versions
Updated 7h ago
v1.1.0
MIT-0

SKILL.md - 小红书热点半自动化发布系统

🎯 技能描述

小红书热点半自动化发布系统是一个专为小红书内容创作者设计的智能发布工具。当用户需要生成小红书相关内容时,自动创建一个美观的半自动化发布系统HTML页面。该页面提供一键复制、内容切换、时间管理、发布状态跟踪等功能,帮助用户高效管理小红书内容发布流程。

🚀 核心功能

1. 智能内容生成

  • 主题识别:自动识别用户主题并生成相关内容
  • 内容分类:根据主题类型生成教程、工具推荐、项目实战等内容
  • 小红书风格:生成符合小红书平台风格的内容格式

2. 美观发布界面

  • 现代化设计:渐变背景、卡片式布局、动画效果
  • 响应式布局:完美适配桌面和移动端
  • 交互体验:平滑过渡、实时反馈、状态管理

3. 高效发布工具

  • 一键复制:快速复制内容到剪贴板
  • 时间管理:智能时间建议和发布状态跟踪
  • 平台跳转:快速打开小红书平台
  • 状态标记:标记内容发布状态

4. 智能功能

  • 键盘快捷键:Ctrl+C复制、数字键切换内容
  • 本地存储:保存发布状态,页面刷新不丢失
  • 实时更新:自动更新时间显示
  • 错误处理:多种复制方法确保功能稳定

📋 激活条件

当用户提到以下关键词时激活此技能:

  • "小红书发布"、"小红书内容"
  • "半自动化发布"、"一键发布"
  • "热点内容发布"、"内容管理系统"
  • "小红书热点"、"内容发布系统"
  • "生成小红书内容"、"小红书运营"

🛠️ 使用流程

第1步:内容生成

  1. 询问用户需要生成什么主题的内容
  2. 基于主题智能生成3-5个小红书风格的内容
  3. 为每个内容添加合适的标签和时间建议

第2步:页面创建

  1. 创建包含以下组件的HTML页面:
    • 头部:标题、副标题、当前时间
    • 内容选择器:标签式导航切换不同内容
    • 内容展示区:标题、内容、标签、操作按钮
    • 功能按钮:复制、打开小红书、标记已发布

第3步:功能实现

  1. JavaScript实现一键复制功能
  2. 时间状态管理(立即发布/计划发布/已发布)
  3. 本地存储保存发布状态
  4. 响应式设计支持移动端

🎨 技术架构

前端技术栈

  • HTML5:语义化标签,现代化结构
  • CSS3:Flexbox布局,渐变背景,动画效果
  • JavaScript:ES6+语法,Clipboard API,LocalStorage
  • 响应式设计:媒体查询,移动端适配

后端技术栈

  • Python 3.8+:内容生成逻辑
  • Jinja2风格模板:动态内容渲染
  • JSON数据存储:内容数据备份

文件结构

xiaohongshu-hot-publish/
├── SKILL.md                    # 技能描述文件
├── README.md                   # 详细说明文档
├── create_hot_publish_page.py  # 主生成脚本
├── template.html               # HTML模板文件
├── example_usage.py            # 使用示例
├── demo.py                     # 演示脚本
├── test_skill.py               # 测试脚本
└── requirements.txt            # 依赖包列表

📊 内容生成规则

内容类型识别

根据主题关键词自动选择合适的内容类型:

  • 技术类主题:基础教程、项目实战、工具推荐等
  • 学习类主题:学习计划、资源推荐、方法技巧等
  • 效率类主题:工具推荐、工作流优化、时间管理等
  • 通用主题:实用技巧、经验分享、案例分析等

时间建议算法

  • 第一个内容:标记为"立即发布"(红色闪烁)
  • 后续内容:根据索引分配不同时间(10:30, 13:30, 16:30等)
  • 时间状态:now(立即)、future(计划)、past(已过时)

标签生成策略

  • 自动包含主题标签和内容类型标签
  • 添加热门标签如"小红书热点"、"干货分享"
  • 热门标签有特殊样式标记

🔧 配置选项

可自定义参数

generator = XiaohongshuHotPublishGenerator(
    theme="Python学习",          # 内容主题
    brand_name="蒲公英AI编程",    # 品牌名称
    num_contents=3,              # 内容数量(1-5)
    output_path="output.html"    # 输出文件路径
)

主题颜色定制

template.html中修改CSS变量:

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #4f46e5;
    --success-color: #10b981;
    --danger-color: #ef4444;
}

内容模板定制

create_hot_publish_page.py中修改内容模板:

def _generate_content_text(self, index: int, content_type: str) -> str:
    # 自定义内容生成逻辑
    pass

📱 页面功能详解

头部区域

  • 标题:小红书热点一键发布
  • 副标题:品牌名称 + 系统描述
  • 当前时间:实时更新的日期和时间

内容选择器

  • 标签式导航:点击切换不同内容
  • Emoji标识:每个内容类型有对应的Emoji
  • 激活状态:当前内容高亮显示

内容展示区

  • 标题:吸引人的小红书风格标题
  • 时间徽章:发布状态和时间建议
  • 内容文本:格式化的内容正文
  • 标签区域:相关话题标签
  • 操作按钮:复制、打开平台、标记发布

操作按钮

  1. 📋 一键复制 - 复制当前内容到剪贴板
  2. 🌐 打开小红书 - 在新标签页打开小红书网站
  3. ✅ 标记为已发布 - 标记内容已发布,状态变为灰色

键盘快捷键

  • Ctrl+C - 复制当前内容
  • 数字键1-9 - 切换到对应内容
  • 空格键 - 打开小红书平台

🚀 快速开始

方法1:在OpenClaw中直接使用

当用户提到相关关键词时,技能会自动激活并引导用户完成发布流程。

方法2:命令行使用

# 生成Python学习内容
python create_hot_publish_page.py "Python学习" --brand "蒲公英AI编程" --num 3

# 生成AI工具推荐内容
python create_hot_publish_page.py "AI编程工具" --brand "技术达人" --num 4 --output "ai_tools.html"

方法3:Python代码中使用

from create_hot_publish_page import XiaohongshuHotPublishGenerator

# 创建生成器
generator = XiaohongshuHotPublishGenerator(
    theme="数据分析",
    brand_name="数据分析师小李"
)

# 生成3个内容
generator.generate_contents(3)

# 生成HTML页面
generator.generate_html_page("data_analysis.html")

方法4:运行演示

python demo.py

🧪 测试验证

运行测试套件

python test_skill.py

测试覆盖范围

  1. 基本功能测试:内容生成、HTML生成
  2. 内容类型测试:不同主题的内容生成
  3. 时间建议测试:时间算法验证
  4. 模板加载测试:模板文件完整性

📈 最佳实践

内容优化建议

  1. 标题吸引人:使用emoji和热点关键词
  2. 结构清晰:使用列表、分段、重点标注
  3. 互动性强:添加提问和互动元素
  4. 标签合适:使用热门标签和话题

发布时间优化

  1. 工作日:技术类内容在晚上发布(20:00-21:00)
  2. 周末:娱乐类内容在下午发布(14:00-16:00)
  3. 节假日:结合节日热点及时发布
  4. 实时热点:及时跟进热门话题

工作流程建议

  1. 使用技能生成内容草稿
  2. 在发布页面中预览和调整
  3. 一键复制到小红书编辑器
  4. 添加图片和调整格式
  5. 发布后标记状态

🔄 扩展开发

添加新的内容类型

create_hot_publish_page.py中:

  1. _get_content_types()中添加新的类型
  2. _generate_content_text()中添加对应的内容模板
  3. _get_content_emoji()中添加对应的emoji

修改内容模板

编辑_generate_content_text()方法中的内容模板,调整:

  • 开头问候语
  • 内容结构
  • 互动元素
  • 标签选择

添加新功能

  1. 导出功能:添加导出为图片或PDF
  2. 数据分析:添加发布效果分析面板
  3. 多平台支持:扩展支持微博、抖音等平台
  4. API集成:集成飞书、Notion等工具

🐛 故障排除

常见问题

  1. 复制功能失效

    • 检查浏览器是否支持Clipboard API
    • 备用复制方法会自动启用
    • 确保页面在HTTPS或localhost环境下运行
  2. 时间显示错误

    • 页面使用本地时间
    • 检查系统时区设置
    • 时间每分钟自动更新
  3. 移动端显示问题

    • 页面已做响应式设计
    • 检查浏览器缩放设置
    • 确保使用现代浏览器
  4. 状态保存失效

    • 检查浏览器是否禁用LocalStorage
    • 尝试在隐私模式下测试
    • 清除浏览器缓存后重试

解决方案

  1. 提供详细的错误信息
  2. 检查浏览器控制台输出
  3. 尝试不同的浏览器
  4. 确保文件路径正确

📚 相关技能

  • feishu-doc:用于内容备份到飞书文档
  • feishu-bitable:用于发布数据记录到飞书表格
  • browser:用于自动化发布测试
  • xiaohongshu-auto-publish:完全自动化发布技能

📅 版本历史

v1.0.0 (2026-03-16)

  • 初始版本发布
  • 基础内容生成功能
  • 完整的发布页面
  • 一键复制和时间管理
  • 响应式设计和键盘快捷键

v1.1.0 (2026-03-17) - 优化版本

  • 代码结构优化和重构
  • 更好的错误处理和兼容性
  • 增强的内容生成算法
  • 改进的用户体验
  • 完整的测试套件

计划中的功能

  1. 内容导入/导出功能
  2. 自定义主题颜色
  3. 数据分析面板
  4. 多平台支持
  5. API集成

👥 贡献指南

欢迎贡献代码和改进建议:

  1. Fork项目
  2. 创建功能分支
  3. 提交更改
  4. 创建Pull Request

📄 许可证

本项目采用MIT许可证。

📞 联系方式

如有问题或建议,请通过OpenClaw社区联系。


技能创建者:蒲公英 (Dandelion)
创建时间:2026年3月16日
最后更新:2026年3月17日
适用场景:小红书内容创作者、社交媒体运营者、内容营销人员、个人品牌建设者

Comments

Loading comments...