← Back to Skills Marketplace
less1001

XHS Viral Content Factory

by less1001 · GitHub ↗ · v1.1.3 · MIT-0
cross-platform ⚠ suspicious
536
Downloads
1
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install xhs-viral-factory
Description
小红书爆款图文全自动生产工厂。支持从 PDF、Markdown 或文件夹提取内容,自动匹配治愈、干货、反直觉、视觉流 4 大模式。
Usage Guidance
What to consider before installing: - Data exfiltration risk: The script sends the contents of whatever files/folders you point it to a remote LLM. Do NOT pass folders that contain secrets, config files, SSH keys, environment files, or other sensitive data. - Trusted provider: Ensure your LLM_API_KEY is for a provider you trust and understand the provider's data retention/privacy policy. If you must protect data, run on a provider that guarantees no retention or use a local/self-hosted model. - Inspect the files: Review generate_xhs.py and SKILL.md yourself (or have someone you trust do it). The pre-scan flagged hidden unicode control characters in SKILL.md — open the file in a hex-capable editor or use a control-character filter to confirm nothing malicious is hidden. - Run in isolation: If you try it, run in a disposable environment/container and with an API key that has limited scope or billing limits, not a high-privilege production key. - Usage hygiene: Do not export your main system-wide API key on shared machines. Avoid pointing the tool at system-level directories (e.g., /etc, ~, or project roots) — only point it to curated content you intend to send. If you are uncomfortable with these risks, do not install. If you proceed, consider modifying the script to explicitly whitelist file types/paths and to prompt for confirmation before sending any content.
Capability Analysis
Type: OpenClaw Skill Name: xhs-viral-factory Version: 1.1.3 The skill is a legitimate tool designed to automate the creation of Xiaohongshu (XHS) social media posts by processing local text/markdown files through a user-configured LLM API (e.g., OpenAI or DeepSeek). The core logic in `scripts/generate_xhs.py` correctly handles environment variables for secrets, implements reasonable file-reading constraints, and includes a transparent security disclosure regarding data transmission to the chosen LLM provider. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description (generate XHS viral posts from PDF/Markdown/folders) aligns with the included script and declared LLM_API_KEY requirement. The script and prompt pattern files are consistent with the stated goal. Minor inconsistency: SKILL.md documents optional env vars (LLM_BASE_URL, LLM_MODEL) that are not listed as required in metadata — this is harmless but worth noting.
Instruction Scope
The main script will read arbitrary files and directory trees you point it at and include that content verbatim in the LLM prompt payload. If a user passes sensitive paths (configs, SSH keys, system files, or any secret-containing files), those will be transmitted to the configured remote model provider. The SKILL.md and SOUL.md also include persona/prompt material; a pre-scan flagged unicode-control-chars in the SKILL.md, which can indicate hidden characters used for prompt manipulation. There are no safeguards or warnings preventing users from passing sensitive paths.
Install Mechanism
This is effectively instruction-only with a small Python script. The SKILL.md metadata lists a pip install for the 'requests' package — proportionate to the task. No remote binaries or obscure download URLs are used. Registry metadata stated "no install spec," but SKILL.md includes an install entry; this mismatch is a minor inconsistency.
Credentials
The skill requests a single primary credential (LLM_API_KEY), which matches its purpose of calling a remote LLM. It also optionally respects LLM_BASE_URL and LLM_MODEL environment variables in practice. No unrelated credentials or system config paths are requested.
Persistence & Privilege
The skill does not request permanent/always-on inclusion, does not modify other skills or global agent settings, and runs locally when invoked. No elevated platform privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xhs-viral-factory
  3. After installation, invoke the skill by name or use /xhs-viral-factory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.3
- Updated documentation to full Chinese language with richer details and formatting. - Expanded feature descriptions, highlighting four viral content modes with icons and explanatory text. - Improved security and usage instructions, adding clear, step-by-step guides. - Added author information and a call-to-action for user engagement. - No code changes in this release; documentation only.
v1.1.2
Version 1.1.1 Changelog: - No file changes detected in this update. - No new features, bug fixes, or documentation updates included.
v1.1.0
Version 1.1.0 introduces enhanced content generation, broader model compatibility, and simpler setup. - 支持自动优选“治愈、干货、反直觉、视觉流”4大爆款模式生成笔记 - 兼容 OpenAI、DeepSeek、Claude 等所有主流大模型(API可自定义) - 新增 requests 安装提示和 LLM 配置环境变量,简化部署流程 - 优化说明文档,面向人类和 AI 助手均有上手指南 - 更新描述和功能亮点,突出工业级内容生产及实战场景
v1.0.0
Initial release of xhs-viral-factory: - Automatically extracts key points from PDFs, Markdown, or folders to generate viral Xiaohongshu (XHS) posts. - Includes multiple built-in viral content templates (e.g., healing, knowledge sharing, counterintuitive). - Generates visual prompt suggestions for each post to aid image creation. - Tracks content history to avoid repetition and adapts direction for new posts. - Simple command-line workflow to generate posts from any knowledge base. 小红书爆款笔记工厂(初代) - 自动解析知识库、文档或网页,提取核心观点并生成小红书爆款文案 - 支持多种写作模板,如治愈系、干货分享、反直觉等 - 自动生成配图提示词,辅助图片创作 - 去重与历史内容管理,避免内容重复 - 提供详细的使用指南与工作流参考
Metadata
Slug xhs-viral-factory
Version 1.1.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is XHS Viral Content Factory?

小红书爆款图文全自动生产工厂。支持从 PDF、Markdown 或文件夹提取内容,自动匹配治愈、干货、反直觉、视觉流 4 大模式。 It is an AI Agent Skill for Claude Code / OpenClaw, with 536 downloads so far.

How do I install XHS Viral Content Factory?

Run "/install xhs-viral-factory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is XHS Viral Content Factory free?

Yes, XHS Viral Content Factory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does XHS Viral Content Factory support?

XHS Viral Content Factory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created XHS Viral Content Factory?

It is built and maintained by less1001 (@less1001); the current version is v1.1.3.

💬 Comments